Add email field to registry config

This commit is contained in:
Girish Ramakrishnan
2019-10-23 06:11:27 -07:00
parent 7c978f6c1c
commit 28025cfb44
2 changed files with 21 additions and 13 deletions

View File

@@ -108,18 +108,23 @@
<div class="form-group">
<label class="control-label" for="registryConfigServerAddress">Registry Server</label>
<input type="text" class="form-control" ng-model="registryConfig.serverAddress" id="registryConfigServerAddress" name="serveraddress" ng-disabled="registryConfig.busy" ng-required>
<input type="text" class="form-control" ng-model="registryConfig.serverAddress" id="registryConfigServerAddress" name="serveraddress" ng-disabled="registryConfig.busy" placeholder=" https://index.docker.io/v2/" ng-required>
</div>
<div class="form-group">
<label class="control-label" for="registryConfigUsername">Username</label>
<input type="text" class="form-control" ng-model="registryConfig.username" id="registryConfigUsername" name="username" ng-disabled="registryConfig.busy" ng-required>
</div>
<label class="control-label" for="registryConfigUsername">Username</label>
<input type="text" class="form-control" ng-model="registryConfig.username" id="registryConfigUsername" name="username" ng-disabled="registryConfig.busy" ng-required>
</div>
<div class="form-group">
<label class="control-label" for="registryConfigPassword">Password</label>
<input type="text" class="form-control" ng-model="registryConfig.password" id="registryConfigPassword" name="password" ng-disabled="registryConfig.busy" ng-required>
</div>
<div class="form-group">
<label class="control-label" for="registryConfigEmail">Email</label>
<input type="text" class="form-control" ng-model="registryConfig.email" id="registryConfigEmail" name="email" ng-disabled="registryConfig.busy" ng-required>
</div>
<div class="form-group">
<label class="control-label" for="registryConfigPassword">Password</label>
<input type="text" class="form-control" ng-model="registryConfig.password" id="registryConfigPassword" name="password" ng-disabled="registryConfig.busy" ng-required>
</div>
</fieldset>
</form>
</div>
@@ -329,7 +334,7 @@
<span class="text-muted">Username</span>
</div>
<div class="col-xs-6 text-right">
<span>{{ registryConfig.username || 'Not set' }}</span>
<span>{{ registryConfig.username || registryConfig.email || 'Not set' }}</span>
</div>
</div>
<br/>