WIP
This commit is contained in:
parent
77278f0391
commit
1bf25f25c1
14 changed files with 942 additions and 336 deletions
|
@ -6,19 +6,6 @@
|
|||
</div>
|
||||
<div class="co-panel-body">
|
||||
<table class="config-table">
|
||||
<tr>
|
||||
<td>Secret Key:</td>
|
||||
<td>
|
||||
<span class="config-string-field" binding="config.SECRET_KEY"
|
||||
placeholder="A unique secret key"></span>
|
||||
<div class="help-text">
|
||||
This should be a UUID or some other secret string
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn btn-primary" ng-click="generateKey()">Generate Key</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Enterprise Logo URL:</td>
|
||||
<td>
|
||||
|
@ -140,73 +127,6 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Database -->
|
||||
<div class="co-panel">
|
||||
<div class="co-panel-heading">
|
||||
<i class="fa fa-database"></i> Database
|
||||
</div>
|
||||
<div class="co-panel-body">
|
||||
<!--<a href="https://coreos.com/docs/enterprise-registry/mysql-container/" target="_blank">
|
||||
Use a prebuilt Docker container
|
||||
</a>-->
|
||||
|
||||
<div class="description">
|
||||
<p>A MySQL RDBMS or Postgres installation with an empty database is required. The schema will be created the first time the registry image is run with valid configuration.</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="config-parsed-field" binding="config.DB_URI"
|
||||
parser="parseDbUri(value)"
|
||||
serializer="serializeDbUri(fields)">
|
||||
<table class="config-table">
|
||||
<tr>
|
||||
<td class="non-input">Database Type:</td>
|
||||
<td>
|
||||
<select ng-model="kind">
|
||||
<option value="mysql+pymysql">MySQL</option>
|
||||
<option value="postgresql">Postgres</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Database Server:</td>
|
||||
<td>
|
||||
<span class="config-string-field" binding="server"
|
||||
placeholder="The database server hostname"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Database Name:</td>
|
||||
<td>
|
||||
<span class="config-string-field" binding="database"
|
||||
placeholder="The name of the database on the server"></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Username:</td>
|
||||
<td>
|
||||
<span class="config-string-field" binding="username"
|
||||
placeholder="Username for accessing the database"></span>
|
||||
<div class="help-text">The user must have full access to the database</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Password:</td>
|
||||
<td>
|
||||
<span class="config-string-field" binding="password"
|
||||
placeholder="Password for accessing the database"></span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="co-panel-button-bar">
|
||||
<button class="btn btn-default"><i class="fa fa-sign-in"></i> Test Configuration</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> <!-- /Database -->
|
||||
|
||||
<!-- Redis -->
|
||||
<div class="co-panel">
|
||||
<div class="co-panel-heading">
|
||||
|
@ -448,11 +368,11 @@
|
|||
<td>Authentication:</td>
|
||||
<td>
|
||||
<div class="co-checkbox">
|
||||
<input id="uma" type="checkbox" ng-model="mapped.use_mail_auth">
|
||||
<input id="uma" type="checkbox" ng-model="config.MAIL_USE_AUTH">
|
||||
<label for="uma">Requires Authentication</label>
|
||||
</div>
|
||||
|
||||
<table class="config-table" ng-show="mapped.use_mail_auth">
|
||||
<table class="config-table" ng-show="config.MAIL_USE_AUTH">
|
||||
<tr>
|
||||
<td>Username:</td>
|
||||
<td>
|
||||
|
|
Reference in a new issue