diff --git a/modules/data/cert/tmpl/index.tmpl b/modules/data/cert/tmpl/index.tmpl index 675be511..0885cb15 100644 --- a/modules/data/cert/tmpl/index.tmpl +++ b/modules/data/cert/tmpl/index.tmpl @@ -1,12 +1,12 @@ -

You already have a certificate set, use the form below to overwrite the current certificate. Alternatively click here to delete your certificate.

+

You already have a certificate set, use the form below to overwrite the current certificate. Alternatively click here to delete your certificate.

You do not have a cert.

-
+

Certificate

diff --git a/modules/data/certauth/tmpl/index.tmpl b/modules/data/certauth/tmpl/index.tmpl index a4a6af31..c042597b 100644 --- a/modules/data/certauth/tmpl/index.tmpl +++ b/modules/data/certauth/tmpl/index.tmpl @@ -1,6 +1,6 @@ - +

Add A Note

diff --git a/modules/data/lastseen/tmpl/index.tmpl b/modules/data/lastseen/tmpl/index.tmpl index 3e8e43d0..3fb5dc19 100644 --- a/modules/data/lastseen/tmpl/index.tmpl +++ b/modules/data/lastseen/tmpl/index.tmpl @@ -17,8 +17,8 @@ - [Edit] - [Delete] + [Edit] + [Delete] diff --git a/modules/data/notes/tmpl/index.tmpl b/modules/data/notes/tmpl/index.tmpl index def45054..eed791c6 100644 --- a/modules/data/notes/tmpl/index.tmpl +++ b/modules/data/notes/tmpl/index.tmpl @@ -1,6 +1,6 @@ - +

Add A Note

@@ -37,7 +37,7 @@ - [del] + [del] diff --git a/modules/data/perform/tmpl/index.tmpl b/modules/data/perform/tmpl/index.tmpl index 543f676c..ffd768aa 100644 --- a/modules/data/perform/tmpl/index.tmpl +++ b/modules/data/perform/tmpl/index.tmpl @@ -1,6 +1,6 @@ - +

Perform

diff --git a/modules/data/send_raw/tmpl/index.tmpl b/modules/data/send_raw/tmpl/index.tmpl index 38b7c596..9f3fb017 100644 --- a/modules/data/send_raw/tmpl/index.tmpl +++ b/modules/data/send_raw/tmpl/index.tmpl @@ -1,7 +1,7 @@ - +
diff --git a/modules/data/stickychan/tmpl/index.tmpl b/modules/data/stickychan/tmpl/index.tmpl index a7160577..581cc31d 100644 --- a/modules/data/stickychan/tmpl/index.tmpl +++ b/modules/data/stickychan/tmpl/index.tmpl @@ -1,6 +1,6 @@ - + diff --git a/modules/data/webadmin/tmpl/add_edit_chan.tmpl b/modules/data/webadmin/tmpl/add_edit_chan.tmpl index 23feff88..cac7ba14 100644 --- a/modules/data/webadmin/tmpl/add_edit_chan.tmpl +++ b/modules/data/webadmin/tmpl/add_edit_chan.tmpl @@ -1,6 +1,6 @@ - +
diff --git a/modules/data/webadmin/tmpl/add_edit_network.tmpl b/modules/data/webadmin/tmpl/add_edit_network.tmpl index 37cc3a85..bb4384b0 100644 --- a/modules/data/webadmin/tmpl/add_edit_network.tmpl +++ b/modules/data/webadmin/tmpl/add_edit_network.tmpl @@ -5,7 +5,7 @@

To connect to this network from your IRC client, you can set the server password field as follows: /<network>:<password> or username field as /<network>

- +
@@ -116,7 +116,7 @@
- + @@ -135,7 +135,7 @@ diff --git a/modules/data/webadmin/tmpl/add_edit_user.tmpl b/modules/data/webadmin/tmpl/add_edit_user.tmpl index b7c13f8c..7bd906de 100644 --- a/modules/data/webadmin/tmpl/add_edit_user.tmpl +++ b/modules/data/webadmin/tmpl/add_edit_user.tmpl @@ -1,6 +1,6 @@ - +
@@ -128,7 +128,7 @@
[Add][Add] Save Name
- [Edit] [Del] + [Edit] [Del] checked="checked" />
- + @@ -145,7 +145,7 @@ diff --git a/modules/data/webadmin/tmpl/del_network.tmpl b/modules/data/webadmin/tmpl/del_network.tmpl index fd6f9fc9..03d6a75f 100644 --- a/modules/data/webadmin/tmpl/del_network.tmpl +++ b/modules/data/webadmin/tmpl/del_network.tmpl @@ -6,13 +6,13 @@
Are you sure you want to delete "/"? - +
-
+
diff --git a/modules/data/webadmin/tmpl/del_user.tmpl b/modules/data/webadmin/tmpl/del_user.tmpl index ab00167e..bef4a9ff 100644 --- a/modules/data/webadmin/tmpl/del_user.tmpl +++ b/modules/data/webadmin/tmpl/del_user.tmpl @@ -6,13 +6,13 @@
Are you sure you want to delete ""? -
+
-
+
diff --git a/modules/data/webadmin/tmpl/listusers.tmpl b/modules/data/webadmin/tmpl/listusers.tmpl index ed2f9301..7d4f30ae 100644 --- a/modules/data/webadmin/tmpl/listusers.tmpl +++ b/modules/data/webadmin/tmpl/listusers.tmpl @@ -2,7 +2,7 @@
- There are no users defined. Click here if you would like to add one. + There are no users defined. Click here if you would like to add one.
@@ -21,9 +21,9 @@
diff --git a/modules/data/webadmin/tmpl/settings.tmpl b/modules/data/webadmin/tmpl/settings.tmpl index 66879fe1..b13d7f4e 100644 --- a/modules/data/webadmin/tmpl/settings.tmpl +++ b/modules/data/webadmin/tmpl/settings.tmpl @@ -42,7 +42,7 @@ - + @@ -74,7 +74,7 @@ - + diff --git a/src/WebModules.cpp b/src/WebModules.cpp index e6e689d2..d61ba235 100644 --- a/src/WebModules.cpp +++ b/src/WebModules.cpp @@ -325,6 +325,7 @@ void CWebSock::SetVars() { m_Template["Version"] = CZNC::GetVersion(); m_Template["SkinName"] = GetSkinName(); m_Template["_CSRF_Check"] = GetCSRFCheck(); + m_Template["URIPrefix"] = GetURIPrefix(); if (GetSession()->IsAdmin()) { m_Template["IsAdmin"] = "true"; @@ -473,6 +474,7 @@ CWebSock::EPageReqResult CWebSock::PrintStaticFile(const CString& sPath, CString CWebSock::EPageReqResult CWebSock::PrintTemplate(const CString& sPageName, CString& sPageRet, CModule* pModule) { SetVars(); + m_Template["PageName"] = sPageName; if (pModule) { diff --git a/webskins/_default_/pub/_default_.css b/webskins/_default_/pub/_default_.css index 6282c77e..53258955 100644 --- a/webskins/_default_/pub/_default_.css +++ b/webskins/_default_/pub/_default_.css @@ -247,6 +247,11 @@ input.third, textarea.third, width: 150px; } +input.sixth, textarea.sixth, +.sixth input, .sixth textarea { + width: 75px; +} + input.number { width: 40px; } @@ -299,7 +304,7 @@ tr.evenrow td { .subsection input, .subsection select, .subsection textarea { margin: 5px 0 5px 0; - min-width: 100px; + min-width: 75px; vertical-align: middle; } diff --git a/webskins/_default_/tmpl/BaseHeader.tmpl b/webskins/_default_/tmpl/BaseHeader.tmpl index af63eaf7..8839d84b 100644 --- a/webskins/_default_/tmpl/BaseHeader.tmpl +++ b/webskins/_default_/tmpl/BaseHeader.tmpl @@ -6,11 +6,11 @@ ZNC - <? VAR Title DEFAULT="Web Frontend" ?> - + - + diff --git a/webskins/_default_/tmpl/LoginBar.tmpl b/webskins/_default_/tmpl/LoginBar.tmpl index a4899058..6d15f2d5 100644 --- a/webskins/_default_/tmpl/LoginBar.tmpl +++ b/webskins/_default_/tmpl/LoginBar.tmpl @@ -1,9 +1,9 @@ - Logout + Logout  - +
User: diff --git a/webskins/_default_/tmpl/Menu.tmpl b/webskins/_default_/tmpl/Menu.tmpl index 97cfaa36..17273d26 100644 --- a/webskins/_default_/tmpl/Menu.tmpl +++ b/webskins/_default_/tmpl/Menu.tmpl @@ -1,14 +1,14 @@
[Add][Add] Name Clients
- [Edit] [Del] + [Edit] [Del]
- [Edit] - [Clone] - [Delete] + [Edit] + [Clone] + [Delete] -
+ @@ -55,7 +55,7 @@