aboutsummaryrefslogtreecommitdiff
path: root/exec/java-exec/src/main/resources/rest/login.ftl
blob: 19cd12b8aa29c236bbcf280d8f101d0c5f99d758 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<#--

    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.

-->
<#include "*/generic.ftl">
<#macro page_head>
</#macro>

<#macro page_body>
  <div class="page-header"></div>
  <div align="center" class="table-responsive">
    <form role="form" name="input" action="/j_security_check" method="POST">
      <fieldset>
        <div class="form-group">
          <img src="/static/img/apache-drill-logo.png" alt="Apache Drill Logo">
          <#if model??>
            <p style="color:red">${model}</p></br>
          </#if>
          <h4>Log In to Drill Web Console</h4></br>
          <p><input type="text" size="30" name="j_username" placeholder="Username"></p>
          <p><input type="password" size="30" name="j_password" placeholder="Password"></p>
          <p><button type="submit" class="btn btn-default">Log In</button> </p>
        </div>
      </fieldset>
    </form>
  </div>
</#macro>
<@page_html/>