zncstrap/webskins/_default_/tmpl/LoginBar.tmpl

23 lines
1.0 KiB
Cheetah
Raw Normal View History

2014-02-11 05:44:19 +01:00
<div class="container" style="padding-top: 30px">
<div class="row">
<div class="col-md-6 col-md-offset-3">
<? IF LoggedIn ?>
2014-05-21 09:41:26 +02:00
<center><a href="<? VAR URIPrefix TOP ?>/logout" class="btn btn-danger"><i class="fa fa-sign-out"></i> Sign Out</a></center><hr>
2014-02-11 05:44:19 +01:00
<? ELSE IF !ModName && PageName == "login" ?>
<span class="logoutbox">&nbsp;</span>
<? ELSE ?>
<div class="main">
2014-05-21 09:41:26 +02:00
<form role="form" action="<? VAR URIPrefix TOP ?>/login" method="post">
2014-02-11 05:44:19 +01:00
<div class="form-group">
2014-05-21 09:41:26 +02:00
<input type="text" class="form-control input-lg" id="inputUsername" name="user" required="required" placeholder="Username" autocomplete="off">
2014-02-11 05:44:19 +01:00
</div>
<div class="form-group">
2014-05-21 09:41:26 +02:00
<input type="password" class="form-control input-lg" id="inputPassword" name="pass" required="required" placeholder="Password" autocomplete="off">
2014-02-11 05:44:19 +01:00
</div>
<button type="submit" class="btn btn-primary pull-right" name="submitted" value="1"><i class="fa fa-sign-in"></i> Sign In</button>
</form>
</div>
<? ENDIF ?>
</div>
</div>
</div>