Skip to content

Commit

Permalink
fix the ugly black bar under nav items
Browse files Browse the repository at this point in the history
  • Loading branch information
prevostc committed Mar 6, 2015
1 parent 69b5f9c commit 027b721
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
2 changes: 2 additions & 0 deletions www/templates/tab-favorites-view.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<ion-view view-title="{{::mapData.name}}" ng-init="init()">
<ion-nav-buttons side="left" class="hide"></ion-nav-buttons>
<ion-nav-buttons side="right" class="hide"></ion-nav-buttons>
<ion-content class="padding" scroll="false">
<div class="canvas-container">
<map map-data="mapData"></map>
Expand Down
8 changes: 5 additions & 3 deletions www/templates/tab-favorites.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<ion-view view-title="Favorites">
<ion-nav-buttons side="secondary">
<ion-nav-buttons side="left" class="hide"></ion-nav-buttons>
<ion-nav-buttons side="right">
<button
class="button button-icon icon ion-ios-trash-outline"
ng-class="{'hide': items.length === 0}"
ng-click="toggleDeleteButtons()">
</button>
</ion-nav-buttons>
Expand All @@ -18,10 +20,10 @@ <h2>{{::item.name}}</h2>
<ion-delete-button class="ion-minus-circled" ng-click="deleteItem(item)"></ion-delete-button>
</ion-item>
</ion-list>
<div class="card" ng-if="items.length == 0">
<div class="card" ng-if="items.length === 0">
<div class="item item-text-wrap">
<h2>Tap <span class="favorite-button icon ion-star"></span> to save a map!</h2>
<p>Please go to the <a href="#/tab/map">map tab</a>, generate a map and press the star button to save a map as a favorite. You may then come back here to list and manage your favorite maps.</p>
<p>Please go to the <a href="#/tab/map">map tab</a>, generate a map and press the star button on the top-right header to save a map as a favorite. You may then come back here to list and manage your favorite maps.</p>
</div>
</div>
</ion-content>
Expand Down
3 changes: 2 additions & 1 deletion www/templates/tab-map.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<ion-view view-title="{{mapData.name && mapData.name || 'Map Generator'}}" ng-init="init()">
<ion-nav-buttons side="secondary">
<ion-nav-buttons side="left" class="hide"></ion-nav-buttons>
<ion-nav-buttons side="right">
<button ng-if="mapData.map"
class="button button-icon icon-right icon favorite-button"
ng-class="{'ion-checkmark': starred, 'ion-star': !starred}" ng-click="star()">
Expand Down
2 changes: 2 additions & 0 deletions www/templates/tab-settings.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<ion-view view-title="Settings">
<ion-nav-buttons side="left" class="hide"></ion-nav-buttons>
<ion-nav-buttons side="right" class="hide"></ion-nav-buttons>
<ion-content>
<ion-list>
<label class="item item-input item-select">
Expand Down

0 comments on commit 027b721

Please sign in to comment.