WebMods: Added a message to the home/index page that

informs the user if no Web-enabled modules have been loaded.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1915 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
cflakes
2010-04-15 12:02:41 +00:00
parent 80724ce64c
commit cea6ad3469
4 changed files with 22 additions and 1 deletions
+4
View File
@@ -356,3 +356,7 @@ td.mod_name,
td {
word-wrap: break-word;
}
.textsection p {
margin-bottom: 0.7em;
}
+10 -1
View File
@@ -2,7 +2,16 @@
<div class="textsection">
Welcome to ZNC's web interface!
<p>Welcome to ZNC's web interface!</p>
<?IF LoggedIn ?>
<?IF !GlobalModLoop ?>
<?IF !UserModLoop ?>
<p>No Web-enabled modules have been loaded. Edit the config file (<code>znc.conf</code>), or load modules
from IRC (<code>/msg *status help</code>). Once you loaded some Web-enabled modules, the menu will expand.</p>
<? ENDIF ?>
<? ENDIF ?>
<? ENDIF ?>
</div>
+4
View File
@@ -396,3 +396,7 @@ table thead td a:hover {
padding: 5px 1px;
border-bottom: 1px solid #000;
}
.textsection p {
margin-bottom: 0.7em;
}
+4
View File
@@ -373,3 +373,7 @@ textarea.monospace {
#breadcrumb {
margin-bottom: 1.5em;
}
.textsection p {
margin-bottom: 0.7em;
}