| <!-- |
| Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| use this file except in compliance with the License. You may obtain a copy of |
| the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| License for the specific language governing permissions and limitations under |
| the License. |
| --> |
| |
| <div class="span12"> |
| <h2> Add Admin </h2> |
| <form id="create-admin-form"> |
| <input id="username" type="text" name="name" placeholder= "Username:" size="24"> |
| <br/> |
| <input id="password" type="password" name="password" placeholder= "Password" size="24"> |
| <p class="help-block"> |
| Before a server admin is configured, all clients have admin privileges. |
| This is fine when HTTP access is restricted |
| to trusted users. <strong>If end-users will be accessing this CouchDB, you must |
| create an admin account to prevent accidental (or malicious) data loss.</strong> |
| </p> |
| <p class="help-block">Server admins can create and destroy databases, install |
| and update _design documents, run the test suite, and edit all aspects of CouchDB |
| configuration. |
| </p> |
| <p class="help-block">Non-admin users have read and write access to all databases, which |
| are controlled by validation functions. CouchDB can be configured to block all |
| access to anonymous users. |
| </p> |
| <button type="submit" href="#" id="create-admin" class="btn btn-primary">Create Admin</button> |
| </form> |
| </div> |