fix ui details

This commit is contained in:
bechi 2014-10-29 11:57:43 -03:00
commit 8ab32eb684
5 changed files with 22 additions and 15 deletions

View file

@ -49,13 +49,13 @@
</div>
</div>
<a class="secondary radius" ng-click="toggleShowAll()" ng-show="addrLength > 3">
<a class="secondary radius size-12 right" ng-click="toggleShowAll()" ng-show="addrLength > 3">
<span translate ng-if="!showAll">Show all</span>
<span translate ng-if="showAll">Show less</span>
</a>
<div class="m20t">
<a ng-click="newAddr()" ng-disabled="loading">Add <i class="fi-plus"></i></span>
<div class="m10t">
<a class="button tiny primary text-center" ng-click="newAddr()" ng-disabled="loading"><i class="fi-plus m5r"></i> Add </a>
</div>
</div>
</div>

View file

@ -1,5 +1,5 @@
<h2 translate>Address Book</h2>
<form name="addressBookForm" ng-submit="submitAddressBook(addressBookForm)" novalidate>
<form class="m0" name="addressBookForm" ng-submit="submitAddressBook(addressBookForm)" novalidate>
<label for="newaddress"><span translate>Address</span>
<small translate ng-hide="!addressBookForm.newaddress.$pristine || newaddress">Required</small>
<small translate class="is-valid" ng-show="!addressBookForm.newaddress.$invalid && newaddress">Valid</small>
@ -12,8 +12,8 @@
<input type="text" id="newlabel" name="newlabel" ng-disabled="loading"
placeholder="{{'Label'|translate}}" ng-model="newlabel" required>
</label>
<a translate class="button warning small default" ng-click="cancel()">Cancel</a>
<input type="submit" class="button small primary right"
<a translate class="m0 button warning small default" ng-click="cancel()">Cancel</a>
<input type="submit" class="m0 button small primary right"
ng-disabled="addressBookForm.$invalid || loading"
value="{{'Add'|translate}}">
</form>

View file

@ -184,7 +184,8 @@
</div>
</div>
<div class="large-12 columns line-dashed">
<div class="line-dashed-h m20b"></div>
<div class="large-12 columns">
<h2 translate>Address Book</h2>
<p translate class="text-gray m15b" ng-hide="showAddressBook()">Empty. Create an alias for your addresses</p>
<table class="large-12 medium-12 small-12" ng-show="showAddressBook()">
@ -210,7 +211,7 @@
</tr>
</tbody>
</table>
<button translate class="button tiny primary text-center" ng-click="openAddressBookModal()">Add</button>
<button translate class="button tiny primary text-center" ng-click="openAddressBookModal()"><i class="fi-plus m5r"></i>Add</button>
</div>
</div>
</div>