| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you 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. |
| --> |
| |
| <h2>Welcome for using Apache Eagle!</h2> |
| <p class="lead"> |
| As the first installation, please create a <code>SITE</code>. |
| (A site is a cluster/service which you want to monitor, as a quick start, you could use <code>sandbox</code> by default) |
| </p> |
| |
| <div class="box box-primary"> |
| <div class="box-header with-border"> |
| <h3 class="box-title">Create new site</h3> |
| </div> |
| <div class="box-body"> |
| <div class="form-group"> |
| <label>* Site Id</label> |
| <input class="form-control" placeholder="Site id should be unique" ng-model="siteId"> |
| </div> |
| <div class="form-group"> |
| <label>Display Name</label> |
| <input class="form-control" placeholder="Site display name in UI" ng-model="siteName"> |
| </div> |
| <div class="form-group"> |
| <label>Description</label> |
| <textarea class="form-control" placeholder="Description about current site" ng-model="description" rows="5"></textarea> |
| </div> |
| </div> |
| <div class="box-footer text-right"> |
| <button class="btn btn-primary" ng-click="createSite()" ng-disabled="site === '' || lock">Next</button> |
| </div> |
| </div> |