Update to support the new bits on ZNC v.1.5-git
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
<h1 class="text-center">ZNC</h1>
|
||||
<h3 class="text-muted text-center">An Advanced IRC Bouncer (BNC)</h3>
|
||||
<h5 class="text-muted text-center">Logged in as: <span class="user_name"><? VAR SessionUser DEFAULT="Anonymous" ?></span> via <a href="https://www.projecthoneypot.org/ip_<? VAR SessionIP ?>" target="_blank"><? VAR SessionIP ?></a></h5>
|
||||
<? IF !ModName && PageName == "index" ?>
|
||||
<h1 class="text-center"><i class="fa fa-comments-o fa-3x"></i></h1>
|
||||
<h3 class="text-muted text-center">An Advanced IRC Bouncer</h3>
|
||||
<h5 class="text-muted text-center"><span class="user_name"><? VAR SessionUser DEFAULT="Anonymous" ?></span> via <a href="https://www.projecthoneypot.org/ip_<? VAR SessionIP ?>" target="_blank"><? VAR SessionIP ?></a></h5>
|
||||
<? ENDIF ?>
|
@@ -1,10 +1,21 @@
|
||||
<? IF ModName ?>
|
||||
<div class="container">
|
||||
<div class="container col-md-10 col-md-offset-1">
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="/">Home</a></li>
|
||||
<li><a href="#"><? VAR ModName ?></a></li>
|
||||
<? REM ?><? IF PageName ?><li><a href="#"><? VAR PageName ?></a></li><? ENDIF ?><? ENDREM ?>
|
||||
<? IF Title && Title != *ModName ?><li class="active"><? VAR Title ?></li><? ENDIF ?>
|
||||
<li><a href="/">Home</a></li>
|
||||
<li><a href="#"><? VAR ModName ?></a></li>
|
||||
<? REM ?><? IF PageName ?><li><a href="#"><? VAR PageName ?></a></li><? ENDIF ?><? ENDREM ?>
|
||||
<? IF Title && Title != *ModName ?><li class="active"><? VAR Title ?></li><? ENDIF ?>
|
||||
</ol>
|
||||
</div>
|
||||
<? ENDIF ?>
|
||||
|
||||
<!--
|
||||
<div class="container">
|
||||
<div class="btn-group btn-breadcrumb">
|
||||
<a href="/" class="btn btn-default"><i class="fa fa-home"></i>Home</a>
|
||||
<a href="#" class="btn btn-default"><? VAR ModName ?></a>
|
||||
<? REM ?><? IF PageName ?><a href="#" class="btn btn-default"><? VAR PageName ?></a><? ENDIF ?><? ENDREM ?>
|
||||
<? IF Title && Title != *ModName ?><a href="#" class="btn btn-default"><? VAR Title ?></a><? ENDIF ?>
|
||||
</div>
|
||||
</div>
|
||||
<? ENDIF ?>
|
||||
-->
|
@@ -1,11 +1,10 @@
|
||||
<? IF !LoggedIn ?>
|
||||
<div class="container" style="padding-top: 30px">
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-md-offset-3">
|
||||
<? IF LoggedIn ?>
|
||||
<center><a href="<? VAR URIPrefix TOP ?>/logout" class="btn btn-danger"><i class="fa fa-sign-out"></i> Sign Out</a></center><hr>
|
||||
<? ELSE IF !ModName && PageName == "login" ?>
|
||||
<span class="logoutbox"> </span>
|
||||
<? ELSE ?>
|
||||
<div class="col-md-4 col-md-offset-4">
|
||||
|
||||
|
||||
|
||||
<div class="main">
|
||||
<form role="form" action="<? VAR URIPrefix TOP ?>/login" method="post">
|
||||
<div class="form-group">
|
||||
@@ -17,7 +16,7 @@
|
||||
<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>
|
||||
</div> <? ENDIF ?>
|
@@ -1,3 +1,4 @@
|
||||
<? IF LoggedIn ?>
|
||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
@@ -17,7 +18,7 @@
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-cog"></i> Global Modules <b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<? LOOP GlobalModLoop SORTASC=ModName ?>
|
||||
<li class="modtitle<? IF Active ?> active<? ENDIF ?>"><a href="<? VAR URIPrefix TOP ?><? VAR ModPath ?>"><? VAR Title ?></a></li>
|
||||
<li class="modtitle<? IF Active ?> active<? ENDIF ?>"><a href="/mods/global/<? VAR ModName ?>"><? VAR Title ?></a></li>
|
||||
<? ENDLOOP ?>
|
||||
</ul>
|
||||
</li>
|
||||
@@ -28,7 +29,7 @@
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-cog"></i> User Modules <b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<? LOOP UserModLoop SORTASC=ModName ?>
|
||||
<li class="modtitle<? IF Active ?> active<? ENDIF ?>"><a href="<? VAR URIPrefix TOP ?><? VAR ModPath ?>"><? VAR Title ?></a></li>
|
||||
<li class="modtitle<? IF Active ?> active<? ENDIF ?>"><a href="<? VAR URIPrefix TOP ?><? VAR ModPath ?><? VAR PageName ?><? IF Params ?>?<? VAR Params ?><? ENDIF ?>"><? VAR Title ?></a></li>
|
||||
<? ENDLOOP ?>
|
||||
</ul>
|
||||
</li>
|
||||
@@ -86,6 +87,7 @@
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://wiki.znc.in/FAQ" target="_blank">FAQ</a></li>
|
||||
<li><a href="http://wiki.znc.in/Modules" target="_blank">Modules</a></li>
|
||||
<li><a href="http://docs.znc.in" target="_blank">Documentation</a></li>
|
||||
<li><a href="http://wiki.znc.in/Using_commands" target="_blank">Using Commands</a></li>
|
||||
<li><a href="http://wiki.znc.in/Connecting_to_ZNC" target="_blank">Connecting to ZNC</a></li>
|
||||
</ul>
|
||||
@@ -96,11 +98,41 @@
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user"></i> <? VAR SessionUser ?> <b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="<? VAR URIPrefix TOP ?>/logout"><i class="fa fa-sign-out"></i> Sign Out</a></li>
|
||||
</ul>
|
||||
<li>
|
||||
<div class="navbar-login">
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<p class="text-center">
|
||||
<span class="fa fa-user icon-size"></span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-lg-8">
|
||||
<p class="text-left"><strong>User: <? VAR SessionUser ?></strong></p>
|
||||
<p class="text-left small">IP Address: <? VAR SessionIP ?></p>
|
||||
<p class="text-left">
|
||||
<a href="<? IF GlobalModLoop ?>/mods/global/webadmin/edituser<? ELSE ?>/mods/user/webadmin/edituser<? ENDIF ?>" class="btn btn-primary btn-block btn-sm"><i class="fa fa-wrench"></i> Edit Settings</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="divider"></li>
|
||||
<li>
|
||||
<div class="navbar-login navbar-login-session">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<p>
|
||||
<a href="/logout" class="btn btn-danger btn-block"><i class="fa fa-sign-out"></i> Sign Out</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<? ENDIF ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<? ENDIF ?>
|
@@ -3,6 +3,7 @@
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-md-offset-3">
|
||||
<?IF LoggedIn ?>
|
||||
<hr>
|
||||
<p>Welcome to ZNC's web interface! — This web interface will allow you to manage your ZNC account(s) via the WWW. You will be able to enable, disable, add, edit, remove, clone, search your bouncer(s).</p>
|
||||
<p>New to ZNC? Trying to figure out how to connect to your ZNC? Check out the official <a href="http://wiki.znc.in/" target="_blank">ZNC Wiki</a> or hop onto the IRC channel: #znc at Freenode or EFnet IRC Network.</p>
|
||||
<?IF !GlobalModLoop ?>
|
||||
|
Reference in New Issue
Block a user