blob: d76ca9bd35809b2d9b3baa5ed1bbcdc005dbe746 [file] [log] [blame]
/**
* 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.
*/
doctype html
html
head
meta(charset='utf-8')
meta(http-equiv='X-UA-Compatible', content='IE=edge,chrome=1')
meta(name='viewport', content='width=device-width')
title Metron - Login
link(rel='stylesheet', href='css/bootstrap.dark.min.css', title='Dark')
link(rel='stylesheet', href='css/timepicker.css')
link(rel='stylesheet', href='css/animate.min.css')
link(rel='stylesheet', href='css/normalize.min.css')
link(rel='stylesheet', href='css/metron.css')
style
body
noscript
.container
center
h3 You must enable javascript to use Kibana
link(rel='stylesheet', href='css/bootstrap.dark.min.css')
link(rel='stylesheet', href='css/bootstrap-responsive.min.css')
link(rel='stylesheet', href='css/font-awesome.min.css')
.container-fluid
.row-fluid
.span6.offset3
form.form-horizontal.login-form(action='/login', method='POST')
fieldset
legend Login
if flash.error
.alert.alert-error=flash.error
div(class="#{flash.error ? 'control-group error' : 'control-group'}")
label.control-label(for='inputEmail') Email
.controls
input#inputEmail(type='text', name='email', placeholder='Email')
div(class="#{flash.error ? 'control-group error' : 'control-group'}")
label.control-label(for='inputPassword') Password
.controls
input#inputPassword(type='password', name='password', placeholder='Password')
.control-group
.controls
button.btn(type='submit') Sign in
//
<div ng-cloak ng-view></div>