mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
This moves all static webadmin files (images, css) to the data/ subdirectory of the skin dir. The webadmin module is changed to redirect requests to /<skin name>/ to that data directory. The skins are changed to use the new URL when linking to their stuff. (I only needed to change the path to the main.css file in each Header.tmpl. Since the .css and the images are now in the same directory, relative URLs work just fine). This means that we now generate different URLs after changing the webadmin skins and the browser cache can do its thing. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1481 726aef4b-f618-498e-8847-2d620e286838
32 lines
921 B
Cheetah
32 lines
921 B
Cheetah
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html>
|
|
<head>
|
|
<title>ZNC - <?VAR Title ESC=HTML?></title>
|
|
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
|
|
<link rel="stylesheet" type="text/css" href="<?VAR Skin ESC=URL?>/main.css" />
|
|
</head>
|
|
|
|
<body>
|
|
<div id="banner">
|
|
<h2><?VAR Title ESC=HTML?></h2>
|
|
<div id="ident"><?VAR SessionUser ESC=HTML?> (from: <?VAR SessionIP ESC=HTML?>)</div>
|
|
<div id="tag"><?VAR Tag ESC=HTML ?></div>
|
|
</div>
|
|
|
|
<div id="sidebar">
|
|
<ul class="nav">
|
|
<li><a href="home">Home</a></li>
|
|
<? IF IsAdmin ?>
|
|
<li><a href="settings">Settings</a></li>
|
|
<li><a href="adduser">Add User</a></li>
|
|
<li><a href="listusers">Edit Users</a></li>
|
|
<? ELSE ?>
|
|
<li><a href="edituser">My Settings</a></li>
|
|
<? ENDIF ?>
|
|
<li><a href="switchuser">Switch User</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div id="main">
|
|
|