Skip to content

Commit

Permalink
Adding Arbitration panel
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Hoffman committed May 14, 2014
1 parent bfa54fe commit 7848312
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
12 changes: 11 additions & 1 deletion html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ <h3 class="modal-title">Welcome to OpenBazaar</h3>
<li class="active" ng-click="showDashboardPanel('myInfo')"><a href="#myInfo">Home</a></li>
<li id="pill-orders"><a href="#orders" ng-click="showDashboardPanel('orders')">Orders</a></li>
<li><a href="#reviews" ng-click="showDashboardPanel('reviews')">Reviews</a></li>
<li><a href="#catalog" ng-click="showDashboardPanel('productCatalog')">Product Catalog</a></li>
<li><a href="#catalog" ng-click="showDashboardPanel('productCatalog')">Products</a></li>
<li><a href="#arbitration" ng-click="showDashboardPanel('arbitration')">Arbitration</a></li>
<li><a href="#messages" ng-click="showDashboardPanel('messages')">Messages</a></li>
<li><a href="#settings" ng-click="showDashboardPanel('settings')">Settings</a></li>
</ul>
Expand Down Expand Up @@ -384,6 +385,15 @@ <h3>Reviews</h3>
</div>
</div>

<div ng-show="arbitrationPanel" class="animated fadeInLeft">

<h3>Arbitration</h3>

<p>Here are all the arbitration cases you have.</p>


</div>

<!-- Messages -->
<div ng-show="messagesPanel" class="animated fadeInLeft">

Expand Down
4 changes: 4 additions & 0 deletions html/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,7 @@ angular.module('app')
$scope.reviewsPanel = false;
$scope.productCatalogPanel = false;
$scope.settingsPanel = false;
$scope.arbitrationPanel = false;
$scope.ordersPanel = false;
$scope.myInfoPanel = false;
}
Expand Down Expand Up @@ -457,6 +458,9 @@ angular.module('app')
$scope.ordersPanel = true;
$scope.queryMyOrder();
break;
case 'arbitration':
$scope.arbitrationPanel = true;
break;
case 'productCatalog':
$scope.productCatalogPanel = true;
break;
Expand Down

0 comments on commit 7848312

Please sign in to comment.