Set default ports automatically on Insight URLs
This commit is contained in:
parent
bdbaee561e
commit
28d888b75f
4 changed files with 93 additions and 8 deletions
|
|
@ -15,10 +15,13 @@
|
|||
</fieldset>
|
||||
<fieldset>
|
||||
<legend translate>Insight API server</legend>
|
||||
<label for="insight-livenet">Livenet</label>
|
||||
<input type="text" ng-model="insightLivenet" class="form-control" name="insight-livenet">
|
||||
<label for="insight-testnet">Testnet</label>
|
||||
<input type="text" ng-model="insightTestnet" class="form-control" name="insight-testnet">
|
||||
<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>
|
||||
|
||||
<p 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>
|
||||
|
|
@ -26,7 +29,7 @@
|
|||
</fieldset>
|
||||
<div class="text-right m20t">
|
||||
<a class="back-button text-white m20r" href="#!/">« <span translate>Back</span></a>
|
||||
<button translate type="submit" class="button primary m0 ng-binding" ng-disabled="setupForm.$invalid || loading" disabled="disabled" ng-click="save()">
|
||||
<button translate type="submit" class="button primary m0 ng-binding" ng-disabled="settingsForm.$invalid || loading" ng-click="save()">
|
||||
Save
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue