WebMods: Finally fixed the default theme. Looks pretty nice now.

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1907 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
cflakes
2010-04-13 20:25:44 +00:00
parent 7748713afd
commit 30d996dae8
8 changed files with 113 additions and 46 deletions
+25 -24
View File
@@ -1,28 +1,29 @@
<? INC Header.tmpl ?>
<table class="data">
<thead>
<tr>
<td>User</td>
<td>Last Seen</td>
<td>Info</td>
<td>Action</td>
</tr>
</thead>
<tbody>
<? LOOP UserLoop ?>
<tr class="<? IF __EVEN__ ?>evenrow<? ELSE ?>oddrow<? ENDIF ?>">
<td><? VAR Username ?></td>
<td><? VAR LastSeen DEFAULT="- unknown -" ?></td>
<td><? VAR Info ?></td>
<td><span class="nowrap">
[<a href="/mods/webadmin/edituser?user=<?VAR Username ESC=URL?>">Edit</a>]
<? IF !IsSelf ?>[<a href="/mods/webadmin/deluser?user=<?VAR Username ESC=URL?>" onclick="return confirm('Do you really wish to remove this user?');">Delete</a>]<? ENDIF ?>
</span></td>
</tr>
<? ENDLOOP ?>
</tbody>
</table>
<? ENDIF ?>
<div class="toptable">
<table class="data">
<thead>
<tr>
<td>User</td>
<td>Last Seen</td>
<td>Info</td>
<td>Action</td>
</tr>
</thead>
<tbody>
<? LOOP UserLoop ?>
<tr class="<? IF __EVEN__ ?>evenrow<? ELSE ?>oddrow<? ENDIF ?>">
<td><? VAR Username ?></td>
<td><? VAR LastSeen DEFAULT="- unknown -" ?></td>
<td><? VAR Info ?></td>
<td><span class="nowrap">
[<a href="/mods/webadmin/edituser?user=<?VAR Username ESC=URL?>">Edit</a>]
<? IF !IsSelf ?>[<a href="/mods/webadmin/deluser?user=<?VAR Username ESC=URL?>" onclick="return confirm('Do you really wish to remove this user?');">Delete</a>]<? ENDIF ?>
</span></td>
</tr>
<? ENDLOOP ?>
</tbody>
</table>
</div>
<? INC Footer.tmpl ?>
+4
View File
@@ -1,6 +1,10 @@
<? INC Header.tmpl ?>
<div class="textsection">
<p>Welcome to the ZNC webadmin module. All changes you make will be in effect immediately after
you submitted them.</p>
</div>
<? INC Footer.tmpl ?>
+4
View File
@@ -1,8 +1,11 @@
<? INC Header.tmpl ?>
<?IF !UserLoop?>
<div class="textsection">
There are no users defined. Click <a href="adduser">here</a> if you would like to add one.
</div>
<?ELSE?>
<div class="toptable">
<table>
<thead>
<tr>
@@ -31,6 +34,7 @@
<?ENDLOOP?>
</tbody>
</table>
</div>
<?ENDIF?>
<? INC Footer.tmpl ?>