copay/views/settings.html

67 lines
3.2 KiB
HTML
Raw Normal View History

<div class="settings" ng-controller="SettingsController">
<div class="large-4 large-centered medium-6 medium-centered columns">
2014-11-12 16:31:07 -08:00
<div class="logo-setup" id="top">
2014-08-20 11:32:09 -07:00
<img src="img/logo-negative-beta.svg" alt="Copay" width="146" height="59">
<div ng-include="'views/includes/version.html'"></div>
</div>
<div class="box-setup">
<h1>{{title|translate}}</h1>
<form name="settingsForm">
2014-11-12 16:31:07 -08:00
<fieldset>
<legend translate>Language</legend>
<select class="form-control" ng-model="selectedLanguage" ng-options="o.name for o in availableLanguages" required>
</select>
</fieldset>
<fieldset>
<legend translate>Insight API server</legend>
<label for="insightLivenet">Livenet</label>
<small translate class="has-error" ng-show="settingsForm.insightLivenet.$invalid">not valid</small>
<input type="text" ng-model="insightLivenet" class="form-control" name="insightLivenet" valid-url required>
<label for="insightTestnet">Testnet</label>
<small translate class="has-error" ng-show="settingsForm.insightTestnet.$invalid">not valid</small>
<input type="text" ng-model="insightTestnet" class="form-control" name="insightTestnet" valid-url required>
<div translate class="small">
Insight API server is open-source software. You can run your own instances, check <a href="http://insight.is" target="_blank">Insight API Homepage</a>
</div>
</fieldset>
2014-10-30 12:20:25 -07:00
<fieldset>
<legend translate>Wallet and profile storage</legend>
<label for="insightTestnet">Store wallet and profiles on</label>
<select class="form-control" ng-model="selectedStorage" ng-options="o.name for o in availableStorages" required>
</select>
<div translate class="small">
Wallets and profiles are stored encrypted using your password as a key. You can store the encrypted data locally, on your platform, or remotely on the Insight Server. <a target="_blank" href="https://github.com/bitpay/copay/tree/master/js/plugins">More pluggins are welcomed!</a>
</div>
</fieldset>
2014-10-30 13:02:04 -07:00
<fieldset>
2014-10-30 07:08:34 -07:00
<legend translate>Log level</legend>
<select class="form-control" ng-model="selectedLogLevel" ng-options="o.name for o in availableLogLevels" required>
2014-10-30 07:08:34 -07:00
</select>
2014-10-30 13:12:27 -07:00
<div translate class="small">
Log level shows information on the console. This is usefull to find bugs and help users. 'debug' is the most verbose level while 'fatal' only shows unexcpected errors</a>
</div>
2014-10-30 07:08:34 -07:00
</fieldset>
<button translate type="submit" class="button primary radius expand m0" ng-disabled="settingsForm.$invalid || loading" ng-click="save()">
Save
</button>
</form>
<div class="box-setup-footer">
<a class="text-gray" href="#!/">
<i class="fi-arrow-left"></i>
<span translate>Back</span>
</a>
2014-11-12 16:31:07 -08:00
<div class="right m10r">
<a class="button-setup text-gray" href="" ng-click="reset()">
<i class="fi-page-delete"></i>
<span translate>Reset settings</span>
</a>
</div>
</div>
</div>
2014-07-22 11:57:19 -07:00
</div>
</div>