added color names
This commit is contained in:
parent
64fb4a2e81
commit
6bfcf8e874
3 changed files with 20 additions and 3 deletions
|
|
@ -7,8 +7,9 @@
|
|||
</ion-nav-back-button>
|
||||
</ion-nav-bar>
|
||||
<ion-content>
|
||||
<ion-radio ng-repeat="c in colorList" ng-value="c" ng-model="currentColor" ng-click="save(c)">
|
||||
<span ng-style="{'color': c}">█</span>
|
||||
<ion-radio ng-repeat="c in colorList" ng-value="c.color" ng-model="currentColor" ng-click="save(c)">
|
||||
<span ng-style="{'color': c.color}">█</span>
|
||||
<span> {{c.name}}</span>
|
||||
</ion-radio>
|
||||
</ion-content>
|
||||
</ion-view>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<ion-view>
|
||||
<ion-view class="settings">
|
||||
<ion-nav-bar class="bar-royal">
|
||||
<ion-nav-title>{{'Wallet Information' | translate}}</ion-nav-title>
|
||||
<ion-nav-back-button>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,22 @@ angular.module('copayApp.controllers').controller('preferencesColorController',
|
|||
'#FF599E',
|
||||
'#7A8C9E',
|
||||
];
|
||||
$scope.colorList = [
|
||||
{color: "#DD4B39", name: "Cinnabar"},
|
||||
{color: "#F38F12", name: "Carrot Orange"},
|
||||
{color: "#FAA77F", name: "Light Salmon"},
|
||||
{color: "#D0B136", name: "Metallic Gold"},
|
||||
{color: "#9EDD72", name: "Feijoa"},
|
||||
{color: "#29BB9C", name: "Shamrock"},
|
||||
{color: "#019477", name: "Observatory"},
|
||||
{color: "#77DADA", name: "Turquoise Blue"},
|
||||
{color: "#4A90E2", name: "Cornflower Blue"},
|
||||
{color: "#484ED3", name: "Free Speech Blue"},
|
||||
{color: "#9B59B6", name: "Deep Lilac"},
|
||||
{color: "#E856EF", name: "Free Speech Magenta"},
|
||||
{color: "#FF599E", name: "Brilliant Rose"},
|
||||
{color: "#7A8C9E", name: "Light Slate Grey"}
|
||||
];
|
||||
|
||||
var wallet = profileService.getWallet($stateParams.walletId);
|
||||
$scope.wallet = wallet;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue