This commit is contained in:
parent
ba901556f2
commit
e3497c4718
4 changed files with 148 additions and 3 deletions
40
resources/WebContent/css/login.css
Normal file
40
resources/WebContent/css/login.css
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
body {
|
||||
padding-top: 40px;
|
||||
padding-bottom: 40px;
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
.form-signin {
|
||||
max-width: 330px;
|
||||
padding: 15px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.form-signin .form-signin-heading,
|
||||
.form-signin .checkbox {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.form-signin .checkbox {
|
||||
font-weight: normal;
|
||||
}
|
||||
.form-signin .form-control {
|
||||
position: relative;
|
||||
height: auto;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
padding: 10px;
|
||||
font-size: 16px;
|
||||
}
|
||||
.form-signin .form-control:focus {
|
||||
z-index: 2;
|
||||
}
|
||||
.form-signin input[type="email"] {
|
||||
margin-bottom: -1px;
|
||||
border-bottom-right-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
}
|
||||
.form-signin input[type="password"] {
|
||||
margin-bottom: 10px;
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
}
|
||||
|
|
@ -31,4 +31,51 @@
|
|||
<button type="button" class="btn btn-success">Save</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Modal -->
|
||||
<div class="modal fade" id="configureModal" tabindex="-1" role="dialog" aria-labelledby="configureModalLabel">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title" id="configureModalLabel">Configure</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form class="form-horizontal">
|
||||
<div class="form-group">
|
||||
<label for="inputEmail" class="control-label col-xs-2">Email</label>
|
||||
<div class="col-xs-10">
|
||||
<input type="email" class="form-control" id="inputEmail" placeholder="Email">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="inputPassword" class="control-label col-xs-2">Password</label>
|
||||
<div class="col-xs-10">
|
||||
<input type="password" class="form-control" id="inputPassword" placeholder="Password">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="ccheckbox" class="control-label col-xs-2">ccheckbox</label>
|
||||
<div class="col-xs-10">
|
||||
<input type="checkbox" class="form-control" id="ccheckbox" placeholder="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="sselect" class="control-label col-xs-2">sselect</label>
|
||||
<div class="col-xs-10">
|
||||
<select class="form-control" id="sselect" placeholder="">
|
||||
<option value="volvo">-- Chose an Option --</option>
|
||||
<option value="saab">Saab</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
|
||||
<button type="button" class="btn btn-primary">Save</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
39
resources/WebContent/page/LoginPage.tmpl.html
Normal file
39
resources/WebContent/page/LoginPage.tmpl.html
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<title>{{title}} Login</title>
|
||||
|
||||
<!-- Bootstrap core CSS -->
|
||||
<link href="css/magic-bootstrap.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom styles for this template -->
|
||||
<link href="signin.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
|
||||
<form class="form-signin">
|
||||
<h2 class="form-signin-heading">Please sign in</h2>
|
||||
<label for="inputEmail" class="sr-only">Email address</label>
|
||||
<input type="email" id="inputEmail" class="form-control" placeholder="Email address" required autofocus>
|
||||
<label for="inputPassword" class="sr-only">Password</label>
|
||||
<input type="password" id="inputPassword" class="form-control" placeholder="Password" required>
|
||||
<!-- <div class="checkbox">
|
||||
<label>
|
||||
<input type="checkbox" value="remember-me"> Remember me
|
||||
</label>
|
||||
</div> -->
|
||||
<button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
|
||||
</form>
|
||||
|
||||
</div> <!-- /container -->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -53,9 +53,28 @@
|
|||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span>
|
||||
</a>
|
||||
<div>
|
||||
hello
|
||||
</div>
|
||||
<ul role="menu" class="dropdown-menu" aria-labelledby="drop1">
|
||||
<li>
|
||||
<pre class="pre-scrollable">
|
||||
2015-09-24 16:37:54.578 [FINE] PluginManager: Searching for plugins...
|
||||
2015-09-24 16:37:54.650 [FINE] PluginManager: Found plugin: C:\Users\ezivkoc\IdeaProjects\webadmin\.\src\wa\server\plugin\apache\plugin.json
|
||||
2015-09-24 16:37:54.652 [FINE] PluginData : Plugin: Apache Web Server(ver: 1.0)
|
||||
2015-09-24 16:37:54.665 [FINER] PluginData : Plugin interface: wa.server.plugin.WAServiceStatus --> wa.server.plugin.apache.ApacheStatus
|
||||
2015-09-24 16:37:54.667 [FINER] PluginData : Plugin interface: wa.server.plugin.WAService --> wa.server.plugin.apache.ApacheService
|
||||
2015-09-24 16:37:54.670 [FINE] PluginManager: Found plugin: C:\Users\ezivkoc\IdeaProjects\webadmin\.\src\wa\server\plugin\hwstatus\plugin.json
|
||||
2015-09-24 16:37:54.670 [FINE] PluginData : Plugin: HW Status(ver: 1.0)
|
||||
2015-09-24 16:37:54.676 [FINER] PluginData : Plugin interface: wa.server.plugin.WAStatus --> wa.server.plugin.hwstatus.HwStatus
|
||||
2015-09-24 16:37:54.678 [FINER] PluginData : Plugin interface: wa.server.plugin.WAStatus --> wa.server.plugin.hwstatus.HDDStatus
|
||||
2015-09-24 16:37:54.679 [FINER] PluginData : Plugin interface: wa.server.plugin.WAStatus --> wa.server.plugin.hwstatus.NetStatus
|
||||
2015-09-24 16:37:54.694 [FINE] PluginManager: Found plugin: C:\Users\ezivkoc\IdeaProjects\webadmin\.\src\wa\server\plugin\tomcat\plugin.json
|
||||
2015-09-24 16:37:54.695 [FINE] PluginData : Plugin: Apache Tomcat(ver: 1.0)
|
||||
2015-09-24 16:37:54.696 [FINER] PluginData : Plugin interface: wa.server.plugin.WAServiceStatus --> (Not Available) wa.server.plugin.tomcat.TomcatStatus
|
||||
2015-09-24 16:37:54.696 [FINER] PluginData : Plugin interface: wa.server.plugin.WAService --> (Not Available) wa.server.plugin.apache.TomcatService
|
||||
2015-09-24 16:37:54.729 [INFO] HttpServer : HTTP Server ready!
|
||||
!!!!!DUMMY LOG!!!!!
|
||||
</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li role="separator" class="divider"></li>
|
||||
<li class="dropdown">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue