diff --git a/grunt/Gruntfile.js b/grunt/Gruntfile.js index 526252bd1..147e847aa 100644 --- a/grunt/Gruntfile.js +++ b/grunt/Gruntfile.js @@ -65,7 +65,8 @@ module.exports = function(grunt) { } }, quay: { - src: ['../static/partials/*.html', '../static/directives/*.html'], + src: ['../static/partials/*.html', '../static/directives/*.html', '../static/directives/*.html' + , '../static/directives/config/*.html'], dest: '../static/dist/template-cache.js' } } diff --git a/static/css/core-ui.css b/static/css/core-ui.css index d0212e523..e20b244e8 100644 --- a/static/css/core-ui.css +++ b/static/css/core-ui.css @@ -161,4 +161,120 @@ color: white; border-radius: 10px; background: rgba(72, 158, 72, 0.8); -} \ No newline at end of file +} + +.co-panel { + margin-bottom: 40px; + + /*border: 1px solid #eee;*/ +} + +.co-panel .co-panel-heading img { + margin-right: 6px; + width: 24px; +} + +.co-panel .co-panel-heading i.fa { + margin-right: 6px; + width: 24px; + text-align: center; +} + +.co-panel .co-panel-heading { + padding: 6px; + /*background: #eee;*/ + border-bottom: 1px solid #eee; + + margin-bottom: 4px; + font-size: 135%; + padding-left: 10px; +} + +.co-panel .co-panel-body { + padding: 10px; +} + +.co-panel .co-panel-button-bar { + margin-top: 10px; + padding-top: 10px; + border-top: 1px solid #eee; +} + +.config-setup-tool-element .help-text { + margin-top: 6px; + color: #aaa; +} + +.config-setup-tool-element .description { + padding: 6px; +} + +.config-setup-tool-element .config-table > tbody > tr > td:first-child { + padding-top: 14px; + font-weight: bold; +} + +.config-setup-tool-element .config-table > tbody > tr > td.non-input { + padding-top: 8px; +} + +.config-setup-tool-element .config-table > tbody > tr > td { + padding: 8px; + vertical-align: top; +} + +.config-setup-tool-element .config-table > tbody > tr > td .config-numeric-field-element { + width: 100px; +} + +.config-setup-tool-element .config-table > tbody > tr > td .config-string-field-element { + width: 400px; +} + +.config-list-field-element .empty { + color: #ccc; + margin-bottom: 10px; + display: block; +} + +.config-list-field-element input { + width: 350px; +} + +.config-setup-tool-element .inner-table { + margin-left: 10px; +} + +.config-setup-tool-element .inner-table tr td:first-child { + font-weight: bold; +} + +.config-setup-tool-element .inner-table td { + padding: 6px; +} + +.config-setup-tool-element label { + padding-left: 10px; + padding-right: 10px; + margin: 4px; + cursor: pointer; +} + +.co-panel-body label { + margin-bottom: 14px; + padding: 10px; + border: 1px solid #ddd; + border-radius: 6px; + background: #eee; +} + + +.config-setup-tool-element label input { + margin-right: 10px; +} + +.config-file-field-element input { + display: inline-block; + width: 78px; + margin-left: 10px; +} diff --git a/static/directives/config/config-bool-field.html b/static/directives/config/config-bool-field.html new file mode 100644 index 000000000..f3649d570 --- /dev/null +++ b/static/directives/config/config-bool-field.html @@ -0,0 +1,5 @@ +
Secret Key: | +
+
+
+ This should be a UUID or some other secret string
+
+ |
+ + + | +||||||||||
Enterprise Logo URL: | +
+
+
+ This is optional. If not specified, the default logo will be used.
+
+ |
+
+ |
+ ||||||||||
Contact Information: | +
+
+
+ Information to show in the Contact Page. If none specified, CoreOS contact information
+ is displayed.
+
+
+
+
+
|
+ |||||||||||
User Creation: | +
+
+
+ If enabled, users can be created from the registry UI.
+
+ |
+ |||||||||||
Build Support: | +
+
+
+ If enabled, users can submit Dockerfiles to be built and pushed by the Enterprise Registry.
+
+
+
+ Note: Build workers are required for this feature.
+ See Adding Build Workers for instructions on how to setup build workers.
+
+ |
+
Server hostname: | +
+
+
+ The HTTP host (and optionally the port number) of the location
+ where the registry will be accessible on the network
+
+ |
+
SSL: | +
+
+
+ A valid SSL certificate and private key files are required to use this option.
+
+ |
+
SSL certificate: | +
+
+
+ The certificate must be in PEM format.
+
+ |
SSL key: | ++ + | +
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.
+Database Type: | ++ + | +
Database Server: | ++ + | +
Database Name: | ++ + | +
Username: | +
+
+ The user must have full access to the database
+ |
+
Password: | ++ + | +
A redis key-value store is required for real-time events and build logs.
+Redis hostname: | ++ + | +
Redis port: | +
+
+
+ Access to this port and hostname must be allowed from all hosts running
+ the enterprise registry
+
+ |
+
Redis password: | ++ + | +
+ Registry images can be stored either locally or in a remote storage system. + A remote storage system is required for high-avaliability systems. +
+ +Storage Engine: | ++ + | +
Storage Path: | ++ + | +
Access Key: | ++ + | +
Secret Key: | ++ + | +
Bucket Name: | ++ + | +
Access Key: | ++ + | +
Secret Key: | ++ + | +
Bucket Name: | ++ + | +
Hostname: | ++ + | +
Is Secure: | ++ + | +
Access Key: | +
+
+
+ See
+ RADOS Documentation
+ for more information
+
+ |
+
Secret Key: | ++ + | +
Bucket Name: | ++ + | +
Valid e-mail server configuration is required for notification e-mails and the ability of + users to reset their passwords.
+SMTP Server: | ++ + | +||||
SMTP Server Port: | ++ + | +||||
TLS: | ++ + | +||||
Mail Sender: | +
+
+
+ E-mail address from which all e-mails are sent. If not specified,
+
+ support@quay.io will be used.
+ |
+ ||||
Authentication: | +
+
+
+
|
+
+ Authentication for the registry can be handled by either the registry itself or LDAP. + External authentication providers (such as Github) can be used on top of this choice. +
+Authentication: | ++ + | +
LDAP URI: | ++ |
Administrator DN: | ++ |
Base DN: | ++ |
Administrator Password: | ++ |
E-mail Attribute: | ++ |
UID Attribute: | ++ |
User RDN: | ++ |
+ If enabled, users can use Github or Github Enterprise to authenticate to the registry. +
++ Note: A registered Github (Enterprise) OAuth application is required. + View instructions on how to + + Create an OAuth Application in GitHub + +
+Github Endpoint: | +
+
+
+
+ https://github.com/ for github.com. For Github enterprise, the internal Github endpoint.
+
+ |
+
API Endpoint: | +
+
+
+
+ https://api.github.com/ for github.com. For Github Enterprise, leave empty.
+
+ |
+
OAuth Client ID: | ++ + + | +
OAuth Client Secret: | ++ + + | +
+ If enabled, users can use Google to authenticate to the registry. +
++ Note: A registered Google OAuth application is required. + Visit the + + Google Developer Console + + to register an application. +
+OAuth Client ID: | ++ + + | +
OAuth Client Secret: | ++ + + | +
+ If enabled, users can setup Github or Github Enterprise triggers to invoke Registry builds. +
++ Note: A registered Github (Enterprise) OAuth application (separate from Github Authentication) is required. + View instructions on how to + + Create an OAuth Application in GitHub + +
+Github Endpoint: | +
+
+
+
+ https://github.com/ for github.com. For Github enterprise, the internal Github endpoint.
+
+ |
+
API Endpoint: | +
+
+
+
+ https://api.github.com/ for github.com. For Github Enterprise, leave empty.
+
+ |
+
OAuth Client ID: | ++ + + | +
OAuth Client Secret: | ++ + + | +