Update for ZNC v1.5-git

This commit is contained in:
sprybear 2014-05-21 15:41:26 +08:00
parent f05d208d82
commit 4d22a4be16
44 changed files with 6184 additions and 122 deletions

View File

@ -5,12 +5,12 @@
<div class="panel-heading">Cert</div> <div class="panel-heading">Cert</div>
<div class="panel-body"> <div class="panel-body">
<? IF Cert ?> <? IF Cert ?>
<p>You already have a certificate set, use the form below to overwrite the current certificate. Alternatively click <a href="<? VAR ModPath ?>delete">here</a> to <a href="<? VAR ModPath ?>delete">delete</a> your certificate.</p> <p>You already have a certificate set, use the form below to overwrite the current certificate. Alternatively click <a href="<? VAR URIPrefix TOP ?><? VAR ModPath ?>delete">here</a> to <a href="<? VAR URIPrefix TOP ?><? VAR ModPath ?>delete">delete</a> your certificate.</p>
<? ELSE ?> <? ELSE ?>
<p>You do not have a cert.</p> <p>You do not have a cert.</p>
<? ENDIF ?> <? ENDIF ?>
<form class="form-horizontal" method="post" action="<? VAR ModPath ?>update"> <form class="form-horizontal" method="post" action="<? VAR URIPrefix TOP ?><? VAR ModPath ?>update">
<? INC _csrf_check.tmpl ?> <? INC _csrf_check.tmpl ?>
<h3>Certificate</h3> <h3>Certificate</h3>
<hr> <hr>

View File

@ -4,7 +4,7 @@
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading">Cert Auth</div> <div class="panel-heading">Cert Auth</div>
<div class="panel-body"> <div class="panel-body">
<form class="form-horizontal" method="post" action="<? VAR ModPath ?>add"> <form class="form-horizontal" method="post" action="<? VAR URIPrefix TOP ?><? VAR ModPath ?>add">
<? INC _csrf_check.tmpl ?> <? INC _csrf_check.tmpl ?>
<h3>Add A Note</h3> <h3>Add A Note</h3>
<hr> <hr>

View File

@ -34,9 +34,9 @@
<td><? VAR Info ?> <? VAR Ident ?></td> <td><? VAR Info ?> <? VAR Ident ?></td>
<? IF WebAdminLoaded TOP ?> <? IF WebAdminLoaded TOP ?>
<td> <td>
<a href="/mods/global/webadmin/edituser?user=<?VAR Username ESC=URL?>" class="btn btn-primary btn-xs">Edit</a> <a href="<? VAR URIPrefix TOP ?>/mods/global/webadmin/edituser?user=<?VAR Username ESC=URL?>" class="btn btn-primary btn-xs">Edit</a>
<? IF !IsSelf ?> <? IF !IsSelf ?>
<a href="/mods/global/webadmin/deluser?user=<?VAR Username ESC=URL?>" class="btn btn-danger btn-xs">Delete</a> <a href="<? VAR URIPrefix TOP ?>/mods/global/webadmin/deluser?user=<?VAR Username ESC=URL?>" class="btn btn-danger btn-xs">Delete</a>
<? ENDIF ?> <? ENDIF ?>
</td> </td>
<? ENDIF ?> <? ENDIF ?>

View File

@ -13,6 +13,8 @@
<td>SSL</td> <td>SSL</td>
<td>Local</td> <td>Local</td>
<td>Remote</td> <td>Remote</td>
<td>Data In</td>
<td>Data Out</td>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -24,6 +26,8 @@
<td><? VAR SSL ?></td> <td><? VAR SSL ?></td>
<td><? VAR Local ?></td> <td><? VAR Local ?></td>
<td><? VAR Remote ?></td> <td><? VAR Remote ?></td>
<td><? VAR In ?></td>
<td><? VAR Out ?></td>
</tr> </tr>
<? ENDLOOP ?> <? ENDLOOP ?>
</tbody> </tbody>

View File

@ -4,7 +4,7 @@
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading">Notes</div> <div class="panel-heading">Notes</div>
<div class="panel-body"> <div class="panel-body">
<form class="form-horizontal" method="post" action="<? VAR ModPath ?>addnote"> <form class="form-horizontal" method="post" action="<? VAR URIPrefix TOP ?><? VAR ModPath ?>addnote">
<? INC _csrf_check.tmpl ?> <? INC _csrf_check.tmpl ?>
<h3>Add A Note</h3> <h3>Add A Note</h3>
<hr> <hr>
@ -24,37 +24,34 @@
</div> </div>
</div> </div>
<div class="btn-group pull-right">
<input class="btn btn-danger" type="reset" value="Reset">
<input class="btn btn-success" type="submit" name="add" value="Add Note" />
</div>
</form>
<? IF !NotesLoop ?> <? IF !NotesLoop ?>
<p>You have no notes to display.</p> <div class="alert alert-warning">You have no notes to display.</div>
<? ELSE ?> <? ELSE ?>
<table class="table table-bordered table-hover"> <table class="table table-bordered table-hover">
<thead> <thead>
<tr> <tr>
<td></td>
<td>Key</td> <td>Key</td>
<td>Note</td> <td>Note</td>
<td></td>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<? LOOP NotesLoop ?> <? LOOP NotesLoop ?>
<tr> <tr>
<td><a href="<? VAR ModPath TOP ?>delnote?key=<? VAR Key ESC=URL,HTML ?>" class="btn btn-danger btn-xs"></a></td>
<td><? VAR Key ?></td> <td><? VAR Key ?></td>
<td><? VAR Note ?></td> <td><? VAR Note ?></td>
<td><a href="<? VAR URIPrefix TOP ?><? VAR ModPath TOP ?>delnote?key=<? VAR Key ESC=URL,HTML ?>" class="btn btn-danger btn-xs">Delete</a></td>
</tr> </tr>
<? ENDLOOP ?> <? ENDLOOP ?>
</tbody> </tbody>
</table> </table>
<? ENDIF ?> <? ENDIF ?>
<div class="pull-right">
<input class="btn btn-danger" type="reset" value="Reset">
<input class="btn btn-success" type="submit" name="add" value="Add Note" />
</div>
</form>
</div> </div>
</div> </div>
</div> </div>

View File

@ -4,7 +4,7 @@
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading">Perform</div> <div class="panel-heading">Perform</div>
<div class="panel-body"> <div class="panel-body">
<form method="post" action="<? VAR ModPath ?>"> <form method="post" action="<? VAR URIPrefix TOP ?><? VAR ModPath ?>">
<? INC _csrf_check.tmpl ?> <? INC _csrf_check.tmpl ?>
<div class="form-group"> <div class="form-group">

61
modules/q/tmpl/index.tmpl Normal file
View File

@ -0,0 +1,61 @@
<? INC Header.tmpl ?>
<div class="container">
<div class="panel panel-default">
<div class="panel-heading">Q Network Module</div>
<div class="panel-body">
<form class="form-horizontal" action="<? VAR URIPrefix TOP ?><? VAR ModPath TOP ?>" method="post">
<? INC _csrf_check.tmpl ?>
<div class="form-group">
<label for="inputStatusPrefix" class="col-sm-2 control-label">Username:</label>
<div class="col-sm-10">
<input type="text" class="form-control" name="user" value="<? VAR Username ?>" class="half" maxlength="128" placeholder="Please enter a username" />
</div>
</div>
<div class="form-group">
<label for="inputStatusPrefix" class="col-sm-2 control-label">Password:</label>
<div class="col-sm-10">
<input type="text" class="form-control" type="password" name="password" class="half" placeholder="Please enter a password" autocomplete="off" />
</div>
</div>
<div class="row">
<div class="col-md-6 col-md-offset-3">
<table class="table table-bordered table-hover table-striped">
<thead>
<tr>
<td>Status</td>
<td>Label</td>
</tr>
</thead>
<tbody>
<? LOOP OptionLoop ?>
<tr>
<td>
<div class="checkboxSwitch" title="<? VAR Tooltip ?>">
<input type="checkbox" name="<? VAR Name ?>" id="opt_<? VAR Name ?>" value="1"<? IF Checked ?> checked="checked"<? ENDIF ?><? IF Disabled ?> disabled="disabled"<? ENDIF ?> />
<label for="opt_<? VAR Name ?>"></label>
</div>
</td>
<td>
<? VAR DisplayName ?>
</td>
</tr>
<? ENDLOOP ?>
</tbody>
</table>
</div>
</div>
<div class="pull-right">
<input type="hidden" name="submitted" value="1" />
<input class="btn btn-danger" type="reset" value="Reset">
<input class="btn btn-success" type="submit" value="Save" />
</div>
</form>
</div>
</div>
</div>
<? INC Footer.tmpl ?>

View File

@ -5,7 +5,7 @@
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading">Send RAW</div> <div class="panel-heading">Send RAW</div>
<div class="panel-body"> <div class="panel-body">
<form class="form-horizontal" method="post" action="<? VAR ModPath ?>"> <form class="form-horizontal" method="post" action="<? VAR URIPrefix TOP ?><? VAR ModPath ?>">
<? INC _csrf_check.tmpl ?> <? INC _csrf_check.tmpl ?>
<h3>Send a raw IRC line</h3> <h3>Send a raw IRC line</h3>
<hr> <hr>

View File

@ -4,7 +4,7 @@
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading">Stickychan</div> <div class="panel-heading">Stickychan</div>
<div class="panel-body"> <div class="panel-body">
<form class="form-horizontal" action="" method="post"> <form class="form-horizontal" action="<? VAR URIPrefix TOP ?><? VAR ModPath TOP ?>" method="post">
<? INC _csrf_check.tmpl ?> <? INC _csrf_check.tmpl ?>
<table class="table table-bordered table-hover"> <table class="table table-bordered table-hover">
<thead> <thead>

View File

@ -79,9 +79,10 @@
<? ENDIF ?> <? ENDIF ?>
<? ENDLOOP ?> <? ENDLOOP ?>
<div class="btn-group pull-right"> <div class="pull-right">
<input class="btn btn-danger" type="reset" value="Reset"> <input class="btn btn-danger" type="reset" value="Reset">
<input class="btn btn-success" type="submit" value="<? IF Edit ?>Save<? ELSE ?>Add Channel<? ENDIF ?>" /> <input class="btn btn-success"type="submit" name="submit_return" value="<? IF Edit ?>Save<? ELSE ?>Add Channel<? ENDIF ?>" />
<input class="btn btn-default"type="submit" name="submit_continue" value="<? IF Edit ?>Save and continue<? ELSE ?>Save and continue<? ENDIF ?>" />
</div> </div>
</form> </form>
</div> </div>

View File

@ -84,7 +84,8 @@
<textarea class="form-control" name="servers" rows="5"><? LOOP ServerLoop ?><? VAR Server ?><? ENDLOOP ?></textarea> <textarea class="form-control" name="servers" rows="5"><? LOOP ServerLoop ?><? VAR Server ?><? ENDLOOP ?></textarea>
<span class="help-block">One server per line, "host [[+]port] [password]", + means SSL</span> <span class="help-block">One server per line, "host [[+]port] [password]", + means SSL</span>
</div> </div>
</div> </div>
<h3>Flood Protection</h3> <h3>Flood Protection</h3>
<hr> <hr>
@ -199,9 +200,10 @@
<? ENDIF ?> <? ENDIF ?>
<? ENDLOOP ?> <? ENDLOOP ?>
<div class="btn-group pull-right"> <div class="pull-right">
<input class="btn btn-danger" type="reset" value="Reset"> <input class="btn btn-danger" type="reset" value="Reset">
<input class="btn btn-success" type="submit" value="<? IF Edit ?>Save<? ELSE ?>Add Network<? ENDIF ?>" /> <input class="btn btn-success" type="submit" name="submit_return" value="<? IF Edit ?>Save<? ELSE ?>Save Network<? ENDIF ?>" />
<input class="btn btn-default" type="submit" name="submit_continue" value="<? IF Edit ?>Save and continue<? ELSE ?>Save and continue<? ENDIF ?>" />
</div> </div>
</form> </form>
</div> </div>

View File

@ -38,7 +38,7 @@
<div class="form-group"> <div class="form-group">
<label for="inputPassword2" class="col-sm-2 control-label">Confirm Password:</label> <label for="inputPassword2" class="col-sm-2 control-label">Confirm Password:</label>
<div class="col-sm-10"> <div class="col-sm-10">
<input type="password" class="form-control" id="inputPassword2" name="password2" placeholder="Please re-type the above password." autocomplete="off"> <input type="password" class="form-control" id="inputPassword2" name="password2" placeholder="Please re-type the above password.">
</div> </div>
</div> </div>
@ -335,9 +335,15 @@
<? ENDIF ?> <? ENDIF ?>
<? ENDLOOP ?> <? ENDLOOP ?>
<div class="btn-group pull-right"> <div class="pull-right">
<input class="btn btn-danger" type="reset" value="Reset"> <? IF ImAdmin ?>
<input class="btn btn-success" type="submit" value="<? IF Edit ?>Save<? ELSE ?><? IF Clone ?>Clone<? ELSE ?>Create<? ENDIF ?><? ENDIF ?>" /> <input class="btn btn-danger" type="reset" value="Reset">
<input class="btn btn-success" type="submit" name="submit_return" value="<? IF Edit ?>Save<? ELSE ?><? IF Clone ?>Clone<? ELSE ?>Create<? ENDIF ?><? ENDIF ?>" />
<input class="btn btn-default" type="submit" name="submit_continue" value="<? IF Edit ?>Save and continue<? ELSE ?><? IF Clone ?>Clone<? ELSE ?>Create<? ENDIF ?><? ENDIF ?>" />
<? ELSE ?>
<input class="btn btn-danger" type="reset" value="Reset">
<input class="btn btn-success" type="submit" value="<? IF Edit ?>Save<? ELSE ?><? IF Clone ?>Clone<? ELSE ?>Create<? ENDIF ?><? ENDIF ?>" />
<? ENDIF ?>
</div> </div>
</form> </form>
</div> </div>

View File

@ -9,13 +9,13 @@
<p>Are you absolutely sure you want to delete <b>"<? VAR Network ?>"</b> network, <? VAR Username ?>?</p> <p>Are you absolutely sure you want to delete <b>"<? VAR Network ?>"</b> network, <? VAR Username ?>?</p>
<br> <br>
<center> <center>
<form action="delnetwork" method="post"> <form action="<? VAR URIPrefix TOP ?><? VAR ModPath TOP ?>delnetwork" method="post">
<? INC _csrf_check.tmpl ?> <? INC _csrf_check.tmpl ?>
<input type="hidden" name="user" value="<? VAR Username ?>" /> <input type="hidden" name="user" value="<? VAR Username ?>" />
<input type="hidden" name="name" value="<? VAR Network ?>" /> <input type="hidden" name="name" value="<? VAR Network ?>" />
<input type="submit" class="btn btn-danger btn-xs" value="Yes, I want <? VAR Network ?> deleted" /> <input type="submit" class="btn btn-danger btn-xs" value="Yes, I want <? VAR Network ?> deleted" />
</form><br> </form><br>
<form action="listusers" method="get"> <form action="<? VAR URIPrefix TOP ?><? VAR ModPath TOP ?>listusers" method="get">
<input type="submit" class="btn btn-success btn-xs" value="No, I want to keep <? VAR Network ?>" /> <input type="submit" class="btn btn-success btn-xs" value="No, I want to keep <? VAR Network ?>" />
</form> </form>
</center> </center>

View File

@ -9,13 +9,13 @@
<p>Are you absolutely sure you want to delete "<? VAR Username ?>"?</p> <p>Are you absolutely sure you want to delete "<? VAR Username ?>"?</p>
<br> <br>
<center> <center>
<form action="deluser" method="post"> <form action="<? VAR URIPrefix TOP ?><? VAR ModPath TOP ?>deluser" method="post">
<? INC _csrf_check.tmpl ?> <? INC _csrf_check.tmpl ?>
<input type="hidden" name="submitted" value="1" /> <input type="hidden" name="submitted" value="1" />
<input type="hidden" name="user" value="<? VAR Username ?>" /> <input type="hidden" name="user" value="<? VAR Username ?>" />
<input type="submit" class="btn btn-danger btn-xs" value="Yes, delete <? VAR Username ?>" /> <input type="submit" class="btn btn-danger btn-xs" value="Yes, delete <? VAR Username ?>" />
</form><br> </form><br>
<form action="listusers" method="get"> <form action="<? VAR URIPrefix TOP ?><? VAR ModPath TOP ?>listusers" method="get">
<input type="submit" class="btn btn-success btn-xs" value="No, do not delete <? VAR Username ?>" /> <input type="submit" class="btn btn-success btn-xs" value="No, do not delete <? VAR Username ?>" />
</form> </form>
</center> </center>

View File

@ -6,7 +6,7 @@
<div class="panel-body"> <div class="panel-body">
<?IF !UserLoop?> <?IF !UserLoop?>
<div class="alert alert-warning"> <div class="alert alert-warning">
There are no users defined. Click <a href="adduser">here</a> if you would like to add one. There are no users defined. Click <a href="<? VAR URIPrefix TOP ?><? VAR ModPath TOP ?>adduser">here</a> if you would like to add one.
</div> </div>
<?ELSE?> <?ELSE?>
@ -38,9 +38,9 @@
<tr class="<?IF __EVEN__?>evenrow<?ELSE?>oddrow<?ENDIF?>"> <tr class="<?IF __EVEN__?>evenrow<?ELSE?>oddrow<?ENDIF?>">
<td> <td>
<span class="nowrap"> <span class="nowrap">
<a href="edituser?user=<?VAR Username ESC=URL?>" class="btn btn-primary btn-xs">Edit</a> <a href="<? VAR URIPrefix TOP ?><? VAR ModPath TOP ?>edituser?user=<?VAR Username ESC=URL?>" class="btn btn-primary btn-xs">Edit</a>
<a href="adduser?clone=<? VAR Username ESC=URL ?>" alt="Clone <? VAR Username ESC=URL ?>" class="btn btn-warning btn-xs">Clone</a> <a href="<? VAR URIPrefix TOP ?><? VAR ModPath TOP ?>adduser?clone=<? VAR Username ESC=URL ?>" alt="Clone <? VAR Username ESC=URL ?>" class="btn btn-warning btn-xs">Clone</a>
<? IF !IsSelf ?><a href="deluser?user=<?VAR Username ESC=URL?>" class="btn btn-danger btn-xs">Delete</a><? ENDIF ?> <? IF !IsSelf ?><a href="<? VAR URIPrefix TOP ?><? VAR ModPath TOP ?>deluser?user=<?VAR Username ESC=URL?>" class="btn btn-danger btn-xs">Delete</a><? ENDIF ?>
</span> </span>
</td> </td>
<td><? VAR Username ?></td> <td><? VAR Username ?></td>

View File

@ -16,6 +16,7 @@
<td>IPv6</td> <td>IPv6</td>
<td>IRC</td> <td>IRC</td>
<td>Web</td> <td>Web</td>
<td>URIPrefix</td>
</tr> </tr>
</thead> </thead>
<? LOOP ListenLoop ?> <? LOOP ListenLoop ?>
@ -52,9 +53,10 @@
<label for="<? VAR IsWeb ?>"></label> <label for="<? VAR IsWeb ?>"></label>
</div> </div>
</td> </td>
<td><? VAR URIPrefix ?></td>
<td> <td>
<? IF SuggestDeletion ?> <? IF SuggestDeletion ?>
<form action="del_listener" method="post"> <form action="<? VAR URIPrefix TOP ?><? VAR ModPath TOP ?>del_listener" method="post">
<? INC _csrf_check.tmpl ?> <? INC _csrf_check.tmpl ?>
<input name="host" type="hidden" value="<? VAR BindHost ?>"/> <input name="host" type="hidden" value="<? VAR BindHost ?>"/>
<input name="port" type="hidden" value="<? VAR Port ?>"/> <input name="port" type="hidden" value="<? VAR Port ?>"/>
@ -67,7 +69,7 @@
</tr> </tr>
<? ENDLOOP ?> <? ENDLOOP ?>
<tr> <tr>
<form action="add_listener" method="post"> <form action="<? VAR URIPrefix TOP ?><? VAR ModPath TOP ?>add_listener" method="post">
<? INC _csrf_check.tmpl ?> <? INC _csrf_check.tmpl ?>
<td> <td>
<input type="number" class="form-control" name="port" min="1" max="65535" class="number" maxlength="5" placeholder="Port 1 to 65535"/> <input type="number" class="form-control" name="port" min="1" max="65535" class="number" maxlength="5" placeholder="Port 1 to 65535"/>
@ -105,12 +107,13 @@
<label for="web"></label> <label for="web"></label>
</div> </div>
</td> </td>
<td><input type="text" class="form-control" name="uriprefix" value="/"></td>
<td><input type="submit" class="btn btn-primary btn-xs" value="Add"/></td> <td><input type="submit" class="btn btn-primary btn-xs" value="Add"/></td>
</form> </form>
</tr> </tr>
</table> </table>
<form class="form-horizontal" action="settings" method="post"> <form class="form-horizontal" action="<? VAR URIPrefix TOP ?><? VAR ModPath TOP ?>settings" method="post">
<? INC _csrf_check.tmpl ?> <? INC _csrf_check.tmpl ?>
<input type="hidden" name="submitted" value="1" /> <input type="hidden" name="submitted" value="1" />
<h3>Settings</h3> <h3>Settings</h3>
@ -229,7 +232,7 @@
</tbody> </tbody>
</table> </table>
<div class="btn-group pull-right"> <div class="pull-right">
<input class="btn btn-danger" type="reset" value="Reset"> <input class="btn btn-danger" type="reset" value="Reset">
<input class="btn btn-success" type="submit" value="Save" /> <input class="btn btn-success" type="submit" value="Save" />
</div> </div>

View File

@ -9,13 +9,13 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title> <title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title>
<? LOOP FAVLOOP ?> <? LOOP FAVLOOP ?>
<?IF HREF?><link rel="shortcut icon" href="<? VAR HREF ?>"><?ENDIF?> <?IF HREF?><link rel="shortcut icon" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>"><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP CSSLoop ?> <? LOOP CSSLoop ?>
<?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR HREF ?>" /><?ENDIF?> <?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>" /><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP JSLoop ?> <? LOOP JSLoop ?>
<?IF HREF?><script type="text/javascript" src="<? VAR HREF ?>"></script><?ENDIF?> <?IF HREF?><script type="text/javascript" src="<? VAR URIPrefix TOP ?><? VAR HREF ?>"></script><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? INC ExtraHeader.tmpl ?> <? INC ExtraHeader.tmpl ?>
</head> </head>

View File

@ -9,13 +9,13 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title> <title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title>
<? LOOP FAVLOOP ?> <? LOOP FAVLOOP ?>
<?IF HREF?><link rel="shortcut icon" href="<? VAR HREF ?>"><?ENDIF?> <?IF HREF?><link rel="shortcut icon" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>"><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP CSSLoop ?> <? LOOP CSSLoop ?>
<?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR HREF ?>" /><?ENDIF?> <?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>" /><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP JSLoop ?> <? LOOP JSLoop ?>
<?IF HREF?><script type="text/javascript" src="<? VAR HREF ?>"></script><?ENDIF?> <?IF HREF?><script type="text/javascript" src="<? VAR URIPrefix TOP ?><? VAR HREF ?>"></script><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? INC ExtraHeader.tmpl ?> <? INC ExtraHeader.tmpl ?>
</head> </head>

View File

@ -9,13 +9,13 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title> <title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title>
<? LOOP FAVLOOP ?> <? LOOP FAVLOOP ?>
<?IF HREF?><link rel="shortcut icon" href="<? VAR HREF ?>"><?ENDIF?> <?IF HREF?><link rel="shortcut icon" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>"><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP CSSLoop ?> <? LOOP CSSLoop ?>
<?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR HREF ?>" /><?ENDIF?> <?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>" /><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP JSLoop ?> <? LOOP JSLoop ?>
<?IF HREF?><script type="text/javascript" src="<? VAR HREF ?>"></script><?ENDIF?> <?IF HREF?><script type="text/javascript" src="<? VAR URIPrefix TOP ?><? VAR HREF ?>"></script><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? INC ExtraHeader.tmpl ?> <? INC ExtraHeader.tmpl ?>
</head> </head>

View File

@ -9,13 +9,13 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title> <title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title>
<? LOOP FAVLOOP ?> <? LOOP FAVLOOP ?>
<?IF HREF?><link rel="shortcut icon" href="<? VAR HREF ?>"><?ENDIF?> <?IF HREF?><link rel="shortcut icon" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>"><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP CSSLoop ?> <? LOOP CSSLoop ?>
<?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR HREF ?>" /><?ENDIF?> <?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>" /><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP JSLoop ?> <? LOOP JSLoop ?>
<?IF HREF?><script type="text/javascript" src="<? VAR HREF ?>"></script><?ENDIF?> <?IF HREF?><script type="text/javascript" src="<? VAR URIPrefix TOP ?><? VAR HREF ?>"></script><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? INC ExtraHeader.tmpl ?> <? INC ExtraHeader.tmpl ?>
</head> </head>

View File

@ -9,13 +9,13 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title> <title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title>
<? LOOP FAVLOOP ?> <? LOOP FAVLOOP ?>
<?IF HREF?><link rel="shortcut icon" href="<? VAR HREF ?>"><?ENDIF?> <?IF HREF?><link rel="shortcut icon" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>"><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP CSSLoop ?> <? LOOP CSSLoop ?>
<?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR HREF ?>" /><?ENDIF?> <?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>" /><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP JSLoop ?> <? LOOP JSLoop ?>
<?IF HREF?><script type="text/javascript" src="<? VAR HREF ?>"></script><?ENDIF?> <?IF HREF?><script type="text/javascript" src="<? VAR URIPrefix TOP ?><? VAR HREF ?>"></script><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? INC ExtraHeader.tmpl ?> <? INC ExtraHeader.tmpl ?>
</head> </head>

View File

@ -9,13 +9,13 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title> <title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title>
<? LOOP FAVLOOP ?> <? LOOP FAVLOOP ?>
<?IF HREF?><link rel="shortcut icon" href="<? VAR HREF ?>"><?ENDIF?> <?IF HREF?><link rel="shortcut icon" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>"><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP CSSLoop ?> <? LOOP CSSLoop ?>
<?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR HREF ?>" /><?ENDIF?> <?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>" /><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP JSLoop ?> <? LOOP JSLoop ?>
<?IF HREF?><script type="text/javascript" src="<? VAR HREF ?>"></script><?ENDIF?> <?IF HREF?><script type="text/javascript" src="<? VAR URIPrefix TOP ?><? VAR HREF ?>"></script><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? INC ExtraHeader.tmpl ?> <? INC ExtraHeader.tmpl ?>
</head> </head>

View File

@ -9,13 +9,13 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title> <title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title>
<? LOOP FAVLOOP ?> <? LOOP FAVLOOP ?>
<?IF HREF?><link rel="shortcut icon" href="<? VAR HREF ?>"><?ENDIF?> <?IF HREF?><link rel="shortcut icon" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>"><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP CSSLoop ?> <? LOOP CSSLoop ?>
<?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR HREF ?>" /><?ENDIF?> <?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>" /><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP JSLoop ?> <? LOOP JSLoop ?>
<?IF HREF?><script type="text/javascript" src="<? VAR HREF ?>"></script><?ENDIF?> <?IF HREF?><script type="text/javascript" src="<? VAR URIPrefix TOP ?><? VAR HREF ?>"></script><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? INC ExtraHeader.tmpl ?> <? INC ExtraHeader.tmpl ?>
</head> </head>

View File

@ -9,13 +9,13 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title> <title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title>
<? LOOP FAVLOOP ?> <? LOOP FAVLOOP ?>
<?IF HREF?><link rel="shortcut icon" href="<? VAR HREF ?>"><?ENDIF?> <?IF HREF?><link rel="shortcut icon" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>"><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP CSSLoop ?> <? LOOP CSSLoop ?>
<?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR HREF ?>" /><?ENDIF?> <?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>" /><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP JSLoop ?> <? LOOP JSLoop ?>
<?IF HREF?><script type="text/javascript" src="<? VAR HREF ?>"></script><?ENDIF?> <?IF HREF?><script type="text/javascript" src="<? VAR URIPrefix TOP ?><? VAR HREF ?>"></script><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? INC ExtraHeader.tmpl ?> <? INC ExtraHeader.tmpl ?>
</head> </head>

View File

@ -9,13 +9,13 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title> <title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title>
<? LOOP FAVLOOP ?> <? LOOP FAVLOOP ?>
<?IF HREF?><link rel="shortcut icon" href="<? VAR HREF ?>"><?ENDIF?> <?IF HREF?><link rel="shortcut icon" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>"><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP CSSLoop ?> <? LOOP CSSLoop ?>
<?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR HREF ?>" /><?ENDIF?> <?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>" /><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP JSLoop ?> <? LOOP JSLoop ?>
<?IF HREF?><script type="text/javascript" src="<? VAR HREF ?>"></script><?ENDIF?> <?IF HREF?><script type="text/javascript" src="<? VAR URIPrefix TOP ?><? VAR HREF ?>"></script><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? INC ExtraHeader.tmpl ?> <? INC ExtraHeader.tmpl ?>
</head> </head>

View File

@ -9,13 +9,13 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title> <title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title>
<? LOOP FAVLOOP ?> <? LOOP FAVLOOP ?>
<?IF HREF?><link rel="shortcut icon" href="<? VAR HREF ?>"><?ENDIF?> <?IF HREF?><link rel="shortcut icon" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>"><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP CSSLoop ?> <? LOOP CSSLoop ?>
<?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR HREF ?>" /><?ENDIF?> <?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>" /><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP JSLoop ?> <? LOOP JSLoop ?>
<?IF HREF?><script type="text/javascript" src="<? VAR HREF ?>"></script><?ENDIF?> <?IF HREF?><script type="text/javascript" src="<? VAR URIPrefix TOP ?><? VAR HREF ?>"></script><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? INC ExtraHeader.tmpl ?> <? INC ExtraHeader.tmpl ?>
</head> </head>

View File

@ -9,13 +9,13 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title> <title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title>
<? LOOP FAVLOOP ?> <? LOOP FAVLOOP ?>
<?IF HREF?><link rel="shortcut icon" href="<? VAR HREF ?>"><?ENDIF?> <?IF HREF?><link rel="shortcut icon" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>"><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP CSSLoop ?> <? LOOP CSSLoop ?>
<?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR HREF ?>" /><?ENDIF?> <?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>" /><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP JSLoop ?> <? LOOP JSLoop ?>
<?IF HREF?><script type="text/javascript" src="<? VAR HREF ?>"></script><?ENDIF?> <?IF HREF?><script type="text/javascript" src="<? VAR URIPrefix TOP ?><? VAR HREF ?>"></script><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? INC ExtraHeader.tmpl ?> <? INC ExtraHeader.tmpl ?>
</head> </head>

View File

@ -9,13 +9,13 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title> <title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title>
<? LOOP FAVLOOP ?> <? LOOP FAVLOOP ?>
<?IF HREF?><link rel="shortcut icon" href="<? VAR HREF ?>"><?ENDIF?> <?IF HREF?><link rel="shortcut icon" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>"><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP CSSLoop ?> <? LOOP CSSLoop ?>
<?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR HREF ?>" /><?ENDIF?> <?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>" /><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP JSLoop ?> <? LOOP JSLoop ?>
<?IF HREF?><script type="text/javascript" src="<? VAR HREF ?>"></script><?ENDIF?> <?IF HREF?><script type="text/javascript" src="<? VAR URIPrefix TOP ?><? VAR HREF ?>"></script><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? INC ExtraHeader.tmpl ?> <? INC ExtraHeader.tmpl ?>
</head> </head>

View File

@ -9,13 +9,13 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title> <title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title>
<? LOOP FAVLOOP ?> <? LOOP FAVLOOP ?>
<?IF HREF?><link rel="shortcut icon" href="<? VAR HREF ?>"><?ENDIF?> <?IF HREF?><link rel="shortcut icon" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>"><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP CSSLoop ?> <? LOOP CSSLoop ?>
<?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR HREF ?>" /><?ENDIF?> <?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>" /><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP JSLoop ?> <? LOOP JSLoop ?>
<?IF HREF?><script type="text/javascript" src="<? VAR HREF ?>"></script><?ENDIF?> <?IF HREF?><script type="text/javascript" src="<? VAR URIPrefix TOP ?><? VAR HREF ?>"></script><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? INC ExtraHeader.tmpl ?> <? INC ExtraHeader.tmpl ?>
</head> </head>

View File

@ -9,13 +9,13 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title> <title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title>
<? LOOP FAVLOOP ?> <? LOOP FAVLOOP ?>
<?IF HREF?><link rel="shortcut icon" href="<? VAR HREF ?>"><?ENDIF?> <?IF HREF?><link rel="shortcut icon" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>"><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP CSSLoop ?> <? LOOP CSSLoop ?>
<?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR HREF ?>" /><?ENDIF?> <?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>" /><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP JSLoop ?> <? LOOP JSLoop ?>
<?IF HREF?><script type="text/javascript" src="<? VAR HREF ?>"></script><?ENDIF?> <?IF HREF?><script type="text/javascript" src="<? VAR URIPrefix TOP ?><? VAR HREF ?>"></script><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? INC ExtraHeader.tmpl ?> <? INC ExtraHeader.tmpl ?>
</head> </head>

View File

@ -9,13 +9,13 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title> <title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title>
<? LOOP FAVLOOP ?> <? LOOP FAVLOOP ?>
<?IF HREF?><link rel="shortcut icon" href="<? VAR HREF ?>"><?ENDIF?> <?IF HREF?><link rel="shortcut icon" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>"><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP CSSLoop ?> <? LOOP CSSLoop ?>
<?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR HREF ?>" /><?ENDIF?> <?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>" /><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP JSLoop ?> <? LOOP JSLoop ?>
<?IF HREF?><script type="text/javascript" src="<? VAR HREF ?>"></script><?ENDIF?> <?IF HREF?><script type="text/javascript" src="<? VAR URIPrefix TOP ?><? VAR HREF ?>"></script><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? INC ExtraHeader.tmpl ?> <? INC ExtraHeader.tmpl ?>
</head> </head>

View File

@ -9,13 +9,13 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title> <title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title>
<? LOOP FAVLOOP ?> <? LOOP FAVLOOP ?>
<?IF HREF?><link rel="shortcut icon" href="<? VAR HREF ?>"><?ENDIF?> <?IF HREF?><link rel="shortcut icon" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>"><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP CSSLoop ?> <? LOOP CSSLoop ?>
<?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR HREF ?>" /><?ENDIF?> <?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>" /><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP JSLoop ?> <? LOOP JSLoop ?>
<?IF HREF?><script type="text/javascript" src="<? VAR HREF ?>"></script><?ENDIF?> <?IF HREF?><script type="text/javascript" src="<? VAR URIPrefix TOP ?><? VAR HREF ?>"></script><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? INC ExtraHeader.tmpl ?> <? INC ExtraHeader.tmpl ?>
</head> </head>

5941
webskins/Superhero/pub/bootstrap.css vendored Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,37 @@
<? INC DocType.tmpl ?>
<? ADDROW CSSLoop HREF=/skinfiles/Superhero/bootstrap.min.css ?>
<? ADDROW CSSLoop HREF=/skinfiles/_default_/font-awesome.min.css ?>
<? ADDROW JSLoop HREF=/skinfiles/_default_/jquery.min.js ?>
<? ADDROW JSLoop HREF=/skinfiles/_default_/bootstrap.min.js ?>
<? ADDROW FAVLOOP HREF=/skinfiles/_default_/favicon.ico ?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="UTF-8" />
<title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title>
<? LOOP FAVLOOP ?>
<?IF HREF?><link rel="shortcut icon" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>"><?ENDIF?>
<?ENDLOOP?>
<? LOOP CSSLoop ?>
<?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>" /><?ENDIF?>
<?ENDLOOP?>
<? LOOP JSLoop ?>
<?IF HREF?><script type="text/javascript" src="<? VAR URIPrefix TOP ?><? VAR HREF ?>"></script><?ENDIF?>
<?ENDLOOP?>
<? INC ExtraHeader.tmpl ?>
</head>
<body>
<? INC Navbar.tmpl ?>
<? INC Banner.tmpl ?>
<? INC MessageBar.tmpl ?>
<? INC LoginBar.tmpl ?>
<? REM ?>
In your subpage (module page or static page) you'll probably want to do something like this...
<? INC Header.tmpl ?>
This is my <b>super</b> cool sub page!
<? INC Footer.tmpl ?>
If you'd like to add your own local css file to be included after the global main.css, you can make your own Header.tmpl like so...
<? ADDROW CSSLoop HREF=/pub/your_local.css ?>
<? ADDROW JSLoop HREF=/pub/your_local.js ?>
<? INC BaseHeader.tmpl ?>
<? ENDREM ?>
<? INC BreadCrumbs.tmpl ?>

View File

@ -9,13 +9,13 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title> <title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title>
<? LOOP FAVLOOP ?> <? LOOP FAVLOOP ?>
<?IF HREF?><link rel="shortcut icon" href="<? VAR HREF ?>"><?ENDIF?> <?IF HREF?><link rel="shortcut icon" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>"><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP CSSLoop ?> <? LOOP CSSLoop ?>
<?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR HREF ?>" /><?ENDIF?> <?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>" /><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP JSLoop ?> <? LOOP JSLoop ?>
<?IF HREF?><script type="text/javascript" src="<? VAR HREF ?>"></script><?ENDIF?> <?IF HREF?><script type="text/javascript" src="<? VAR URIPrefix TOP ?><? VAR HREF ?>"></script><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? INC ExtraHeader.tmpl ?> <? INC ExtraHeader.tmpl ?>
</head> </head>

View File

@ -9,13 +9,13 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title> <title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title>
<? LOOP FAVLOOP ?> <? LOOP FAVLOOP ?>
<?IF HREF?><link rel="shortcut icon" href="<? VAR HREF ?>"><?ENDIF?> <?IF HREF?><link rel="shortcut icon" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>"><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP CSSLoop ?> <? LOOP CSSLoop ?>
<?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR HREF ?>" /><?ENDIF?> <?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>" /><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP JSLoop ?> <? LOOP JSLoop ?>
<?IF HREF?><script type="text/javascript" src="<? VAR HREF ?>"></script><?ENDIF?> <?IF HREF?><script type="text/javascript" src="<? VAR URIPrefix TOP ?><? VAR HREF ?>"></script><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? INC ExtraHeader.tmpl ?> <? INC ExtraHeader.tmpl ?>
</head> </head>

View File

@ -9,13 +9,13 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title> <title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title>
<? LOOP FAVLOOP ?> <? LOOP FAVLOOP ?>
<?IF HREF?><link rel="shortcut icon" href="<? VAR HREF ?>"><?ENDIF?> <?IF HREF?><link rel="shortcut icon" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>"><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP CSSLoop ?> <? LOOP CSSLoop ?>
<?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR HREF ?>" /><?ENDIF?> <?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>" /><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP JSLoop ?> <? LOOP JSLoop ?>
<?IF HREF?><script type="text/javascript" src="<? VAR HREF ?>"></script><?ENDIF?> <?IF HREF?><script type="text/javascript" src="<? VAR URIPrefix TOP ?><? VAR HREF ?>"></script><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? INC ExtraHeader.tmpl ?> <? INC ExtraHeader.tmpl ?>
</head> </head>

View File

@ -9,13 +9,13 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title> <title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title>
<? LOOP FAVLOOP ?> <? LOOP FAVLOOP ?>
<?IF HREF?><link rel="shortcut icon" href="<? VAR HREF ?>"><?ENDIF?> <?IF HREF?><link rel="shortcut icon" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>"><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP CSSLoop ?> <? LOOP CSSLoop ?>
<?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR HREF ?>" /><?ENDIF?> <?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>" /><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP JSLoop ?> <? LOOP JSLoop ?>
<?IF HREF?><script type="text/javascript" src="<? VAR HREF ?>"></script><?ENDIF?> <?IF HREF?><script type="text/javascript" src="<? VAR URIPrefix TOP ?><? VAR HREF ?>"></script><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? INC ExtraHeader.tmpl ?> <? INC ExtraHeader.tmpl ?>
</head> </head>

View File

@ -4522,7 +4522,6 @@ a.thumbnail.active {
} }
.progress { .progress {
height: 20px; height: 20px;
margin-bottom: 20px;
overflow: hidden; overflow: hidden;
background-color: #f5f5f5; background-color: #f5f5f5;
border-radius: 4px; border-radius: 4px;

File diff suppressed because one or more lines are too long

View File

@ -1,23 +1,27 @@
<? INC DocType.tmpl ?> <? INC DocType.tmpl ?>
<? ADDROW CSSLoop HREF=/skinfiles/_default_/bootstrap.min.css ?> <? ADDROW CSSLoop HREF=/skinfiles/_default_/bootstrap.min.css ?>
<? ADDROW CSSLoop HREF=/skinfiles/_default_/font-awesome.min.css ?> <? ADDROW CSSLoop HREF=/skinfiles/_default_/font-awesome.min.css ?>
<? ADDROW CSSLoop HREF=http://cdnjs.cloudflare.com/ajax/libs/bootstrap-markdown/2.1.1/css/bootstrap-markdown.min.css ?>
<? ADDROW CSSLoop HREF=http://cdnjs.cloudflare.com/ajax/libs/bootstrap-markdown/2.1.0/js/bootstrap-markdown.js ?>
<? ADDROW JSLoop HREF=/skinfiles/_default_/jquery.min.js ?> <? ADDROW JSLoop HREF=/skinfiles/_default_/jquery.min.js ?>
<? ADDROW JSLoop HREF=/skinfiles/_default_/bootstrap.min.js ?> <? ADDROW JSLoop HREF=/skinfiles/_default_/bootstrap.min.js ?>
<? ADDROW FAVLOOP HREF=/skinfiles/_default_/favicon.ico ?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title> <title>ZNC &mdash; <? VAR Title DEFAULT="Web Frontend" ?></title>
<? LOOP FAVLOOP ?> <link rel="shortcut icon" href="<? VAR URIPrefix TOP ?>/favicon.ico" type="image/x-icon" />
<?IF HREF?><link rel="shortcut icon" href="<? VAR HREF ?>"><?ENDIF?>
<?ENDLOOP?>
<? LOOP CSSLoop ?> <? LOOP CSSLoop ?>
<?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR HREF ?>" /><?ENDIF?> <?IF HREF?><link rel="stylesheet" type="text/css" href="<? VAR URIPrefix TOP ?><? VAR HREF ?>" /><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? LOOP JSLoop ?> <? LOOP JSLoop ?>
<?IF HREF?><script type="text/javascript" src="<? VAR HREF ?>"></script><?ENDIF?> <?IF HREF?><script type="text/javascript" src="<? VAR URIPrefix TOP ?><? VAR HREF ?>"></script><?ENDIF?>
<?ENDLOOP?> <?ENDLOOP?>
<? INC ExtraHeader.tmpl ?> <? INC ExtraHeader.tmpl ?>
<script>
$("#textarea").markdown({autofocus:false,savable:false})
</script>
</head> </head>
<body> <body>
<? INC Navbar.tmpl ?> <? INC Navbar.tmpl ?>

View File

@ -2,17 +2,17 @@
<div class="row"> <div class="row">
<div class="col-md-6 col-md-offset-3"> <div class="col-md-6 col-md-offset-3">
<? IF LoggedIn ?> <? IF LoggedIn ?>
<center><a href="/logout" class="btn btn-danger"><i class="fa fa-sign-out"></i> Sign Out</a></center><hr> <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" ?> <? ELSE IF !ModName && PageName == "login" ?>
<span class="logoutbox">&nbsp;</span> <span class="logoutbox">&nbsp;</span>
<? ELSE ?> <? ELSE ?>
<div class="main"> <div class="main">
<form role="form" action="/login" method="post"> <form role="form" action="<? VAR URIPrefix TOP ?>/login" method="post">
<div class="form-group"> <div class="form-group">
<input type="text" class="form-control input-lg" id="inputUsername" name="user" required="required" placeholder="Username"> <input type="text" class="form-control input-lg" id="inputUsername" name="user" required="required" placeholder="Username" autocomplete="off">
</div> </div>
<div class="form-group"> <div class="form-group">
<input type="password" class="form-control input-lg" id="inputPassword" name="pass" required="required" placeholder="Password"> <input type="password" class="form-control input-lg" id="inputPassword" name="pass" required="required" placeholder="Password" autocomplete="off">
</div> </div>
<button type="submit" class="btn btn-primary pull-right" name="submitted" value="1"><i class="fa fa-sign-in"></i> Sign In</button> <button type="submit" class="btn btn-primary pull-right" name="submitted" value="1"><i class="fa fa-sign-in"></i> Sign In</button>
</form> </form>

View File

@ -7,17 +7,17 @@
<span class="icon-bar"></span> <span class="icon-bar"></span>
<span class="icon-bar"></span> <span class="icon-bar"></span>
</button> </button>
<a class="navbar-brand" href="/">ZNC</a> <a class="navbar-brand" href="<? VAR URIPrefix TOP ?>/">ZNC</a>
</div> </div>
<div class="navbar-collapse collapse"> <div class="navbar-collapse collapse">
<ul class="nav navbar-nav"> <ul class="nav navbar-nav">
<li class="topitem<? IF !ModName && PageName == "index" ?> active<? ENDIF ?>"><a href="/"><i class="fa fa-home"></i> Home</a></li> <li class="topitem<? IF !ModName && PageName == "index" ?> active<? ENDIF ?>"><a href="<? VAR URIPrefix TOP ?>/"><i class="fa fa-home"></i> Home</a></li>
<? IF GlobalModLoop ?> <? IF GlobalModLoop ?>
<li class="dropdown"> <li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-cog"></i> Global Modules <b class="caret"></b></a> <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"> <ul class="dropdown-menu">
<? LOOP GlobalModLoop SORTASC=ModName ?> <? LOOP GlobalModLoop SORTASC=ModName ?>
<li class="modtitle<? IF Active ?> active<? ENDIF ?>"><a href="<? VAR ModPath ?>"><? VAR Title ?></a></li> <li class="modtitle<? IF Active ?> active<? ENDIF ?>"><a href="<? VAR URIPrefix TOP ?><? VAR ModPath ?>"><? VAR Title ?></a></li>
<? ENDLOOP ?> <? ENDLOOP ?>
</ul> </ul>
</li> </li>
@ -28,7 +28,7 @@
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-cog"></i> User Modules <b class="caret"></b></a> <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"> <ul class="dropdown-menu">
<? LOOP UserModLoop SORTASC=ModName ?> <? LOOP UserModLoop SORTASC=ModName ?>
<li class="modtitle<? IF Active ?> active<? ENDIF ?>"><a href="<? VAR ModPath ?>"><? VAR Title ?></a></li> <li class="modtitle<? IF Active ?> active<? ENDIF ?>"><a href="<? VAR URIPrefix TOP ?><? VAR ModPath ?>"><? VAR Title ?></a></li>
<? ENDLOOP ?> <? ENDLOOP ?>
</ul> </ul>
</li> </li>
@ -42,9 +42,9 @@
<? IF ModLoop ?> <? IF ModLoop ?>
<li class="dropdown-header"><? VAR NetworkName ?></li> <li class="dropdown-header"><? VAR NetworkName ?></li>
<? LOOP ModLoop SORTASC=ModName ?> <? LOOP ModLoop SORTASC=ModName ?>
<li class="modtitle<? IF Active ?> active<? ENDIF ?>"><a href="<? VAR ModPath ?>"><? VAR Title ?></a></li> <li class="modtitle<? IF Active ?> active<? ENDIF ?>"><a href="<? VAR URIPrefix TOP ?><? VAR ModPath ?>"><? VAR Title ?></a></li>
<? LOOP SubPageLoop ?> <? LOOP SubPageLoop ?>
<li class="subitem<? IF Active ?> active<? ENDIF ?>"><a href="<? VAR ModPath ?><? VAR PageName ?><? IF Params ?>?<? VAR Params ?><? ENDIF ?>"><? VAR Title ?></a></li> <li class="subitem<? IF Active ?> active<? ENDIF ?>"><a href="<? VAR URIPrefix TOP ?><? VAR ModPath ?><? VAR PageName ?><? IF Params ?>?<? VAR Params ?><? ENDIF ?>"><? VAR Title ?></a></li>
<? ENDLOOP ?> <? ENDLOOP ?>
<? ENDLOOP ?> <? ENDLOOP ?>
<? ENDIF ?> <? ENDIF ?>
@ -59,7 +59,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<? LOOP UserModLoop SORTASC=ModName ?> <? LOOP UserModLoop SORTASC=ModName ?>
<? LOOP SubPageLoop ?> <? LOOP SubPageLoop ?>
<li class="subitem<? IF Active ?> active<? ENDIF ?>"><a href="<? VAR ModPath ?><? VAR PageName ?><? IF Params ?>?<? VAR Params ?><? ENDIF ?>"><? VAR Title ?></a></li> <li class="subitem<? IF Active ?> active<? ENDIF ?>"><a href="<? VAR URIPrefix TOP ?><? VAR ModPath ?><? VAR PageName ?><? IF Params ?>?<? VAR Params ?><? ENDIF ?>"><? VAR Title ?></a></li>
<? ENDLOOP ?> <? ENDLOOP ?>
<? ENDLOOP ?> <? ENDLOOP ?>
</li> </li>
@ -67,7 +67,7 @@
<li class="dropdown-header">Global Module</li> <li class="dropdown-header">Global Module</li>
<? LOOP GlobalModLoop SORTASC=ModName ?> <? LOOP GlobalModLoop SORTASC=ModName ?>
<? LOOP SubPageLoop ?> <? LOOP SubPageLoop ?>
<li class="subitem<? IF Active ?> active<? ENDIF ?>"><a href="<? VAR ModPath ?><? VAR PageName ?><? IF Params ?>?<? VAR Params ?><? ENDIF ?>"><? VAR Title ?></a></li> <li class="subitem<? IF Active ?> active<? ENDIF ?>"><a href="<? VAR URIPrefix TOP ?><? VAR ModPath ?><? VAR PageName ?><? IF Params ?>?<? VAR Params ?><? ENDIF ?>"><? VAR Title ?></a></li>
<? ENDLOOP ?> <? ENDLOOP ?>
<? ENDLOOP ?> <? ENDLOOP ?>
<? ELSE ?> <? ELSE ?>
@ -96,7 +96,7 @@
<li class="dropdown"> <li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user"></i> <? VAR SessionUser ?> <b class="caret"></b></a> <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"> <ul class="dropdown-menu">
<li><a href="/logout"><i class="fa fa-sign-out"></i> Sign Out</a></li> <li><a href="<? VAR URIPrefix TOP ?>/logout"><i class="fa fa-sign-out"></i> Sign Out</a></li>
</ul> </ul>
</li> </li>
<? ENDIF ?> <? ENDIF ?>