Make sure invokeOperation is set once
[controller.git] / opendaylight / adsal / web / root / src / main / resources / WEB-INF / jsp / login.jsp
1 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
2 <%@ page import="java.net.URL" %>
3 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
4
5 <!DOCTYPE html>
6 <html>
7   <head>
8     <meta charset="utf-8">
9
10     <!-- Bootstrap CSS - 1 -->
11         <link href="/css/bootstrap.min.css" rel="stylesheet" media="screen">
12
13         <!-- Login CSS - 2 -->
14         <link rel="stylesheet/less" type="text/css" href="/css/login.less">
15
16 <c:set var="title" value="OpenDaylight - Login" scope="application"/>
17 <%
18     String filePath = "/WEB-INF/jsp/customlogin.jsp"; 
19         URL fileURL = pageContext.getServletContext().getResource(filePath);
20         if(fileURL!=null) {
21 %>
22           <jsp:include page="<%=filePath%>" flush="true"/>
23 <% } %>
24         <title>${title}</title>
25         <!-- Bootstrap JS - 1 -->
26         <script src="/js/bootstrap.min.js"></script>
27         
28         <!-- LESS - 2 -->
29         <script type="text/javascript">
30                 less = {
31                         env: "production"
32                 };
33         </script>
34         <script src="/js/less-1.3.3.min.js"></script>
35 </head>
36 <body>
37   <form action="<c:url value='j_security_check' />" id="form" method="post">
38
39   <div class="container">
40     <div class="content">
41        <div class="login-form">
42          <div id="logo"></div>
43            <fieldset>
44              <div class="control-group">
45                <input type="text" name="j_username" placeholder="Username">
46              </div>
47              <div class="control-group">
48                <input type="password" name="j_password" placeholder="Password">
49              </div>
50              <button class="btn btn-primary" type="submit" value="Log In" ><div class="icon-login"></div> Log In</button>
51            </fieldset>
52        </div>
53     </div>
54   </div> 
55   </form>
56 </body>
57 </html>