Commit Graph

47 Commits

Author SHA1 Message Date
uu1101
26a9d73cba Set favicon URL to respect the prefix
When not specified, browsers tend to send favicon request to
/favicon.ico. This commit tells the browsers to look for it under the
URIPrefix.
2014-02-16 12:45:10 +01:00
uu1101
4376b373d8 Prepend URIPrefix to web interface links
Prefix links in templates with URIPrefix and add the input field to the
Listener editor.

The URIPrefix is provided as a top-level template variable. All URIs
have been changed to have the prefix prepended.
2014-02-16 12:45:10 +01:00
Lunatrius
4368c189f7 Fixed double forward slashes and incorrect active module highlighting. 2013-07-01 17:30:32 +02:00
Kyle Fuller
eb59be7905 Use standard HTML table elements instead of custom classes
Fixes #169
2012-06-08 13:51:45 +01:00
Alexey Sokolov
5fbf528a49 Fix Save button of global settings in webadmin.
In HTML one <form> can't be inside another one...
In XHTML it works...

Thanks to skydrome for reporting this.

Also I tried to fix listeners editor, as they used nested forms too...
But it seems that I messed up the whole table.

Let someone more skilled in HTML fix this broken layout.

At least buttons themselves work now.
2012-04-20 10:48:26 +07:00
Alexey Sokolov
28f6809af8 Webadmin: edit listen ports 2012-03-31 06:48:24 +07:00
Alexey Sokolov
9b3a764a6c Use XHTML 2012-03-23 11:14:29 +07:00
Alexey Sokolov
b46231b12d Let lang to be the same as xml:lang in web. 2012-03-23 01:17:29 +07:00
Alexey Sokolov
fb2b5193bc Show link to http://znc.in from web 2012-03-22 04:27:26 +07:00
Kyle Fuller
7beb7172d6 Set a valid HTML5 doctype before we use HTML5 features
It isn't valid HTML5 to use maxlength with input[type="number"]
2012-03-21 17:32:29 +00:00
Kyle Fuller
fc8e789b08 Don't show network modules title if we don't have any network modules 2012-02-19 18:44:54 +00:00
Kyle Fuller
e08d53dcd5 Show network modules on the web interface menu
Closes #121
2012-02-13 23:58:32 +00:00
Kyle Fuller
b1ed9c9b74 Add methods to CModule to get the web path
Add these values to the template and use them when linking to any module
2012-02-09 17:07:28 +00:00
Kyle Fuller
b1593238d5 Make the URL's for web modules include the module type (#121) 2012-02-09 14:19:26 +00:00
darthgandalf
796a9d1dbf Remove advice to edit znc.conf manually from web interface.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2186 726aef4b-f618-498e-8847-2d620e286838
2010-12-18 04:18:54 +00:00
cflakes
b00bbdfbec Made <th> usuable in all skins. The new policy is to use <thead>(<td>...</td>)+</thead> for horizontal headers and <th> for vertical ones.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2062 726aef4b-f618-498e-8847-2d620e286838
2010-07-04 17:44:03 +00:00
cflakes
1110d2e1ac WebMods: Converted some CRLFs to LFs, changed <td> into <th> in webadmin's traffic.tmpl. "Patches" by zynox, thanks.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2061 726aef4b-f618-498e-8847-2d620e286838
2010-07-04 17:18:59 +00:00
psychon
01453c533b Remove useless help page on webskins
Didn't do anything and certainly wasn't helpful at all.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2002 726aef4b-f618-498e-8847-2d620e286838
2010-05-21 16:30:54 +00:00
cflakes
08463bedac Make webadmin show whether a Listener/port accepts IRC and/or HTTP connections.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1974 726aef4b-f618-498e-8847-2d620e286838
2010-05-09 19:08:41 +00:00
cflakes
364ad3e4fb Fix revision 1949... the SORT thing obviously needs to go into <?LOOP?> and not <?IF?> OH HAI BRIAN
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1951 726aef4b-f618-498e-8847-2d620e286838
2010-04-28 23:16:00 +00:00
cflakes
73c6a32742 Another patch by BrianC, building upon the previous revision,
this uses the new sort feature to sort channel tables in stickychan's
and webadmin's channel tables and webadmin's user table, also the module
names in the menu. Hooray!


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1949 726aef4b-f618-498e-8847-2d620e286838
2010-04-28 22:00:26 +00:00
cflakes
4f55857434 WebMods: Moved some shared/common CSS things into a global.css file that all skins (should) embed.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1945 726aef4b-f618-498e-8847-2d620e286838
2010-04-26 16:39:11 +00:00
cflakes
e8791a85ec Make del_user page look nicer.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1939 726aef4b-f618-498e-8847-2d620e286838
2010-04-25 20:36:42 +00:00
cflakes
68c4931e2d WebMods: Delete obsolete login.tpl template. The login form has been
on / and /help and so on for some months.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1934 726aef4b-f618-498e-8847-2d620e286838
2010-04-25 13:52:19 +00:00
cflakes
298d7f0997 WebMods: Following the last commit, this adds the CSRF check token
to existing action="post" forms. Right now, we don't have much of a
real protection against CSRF yet, but psychon is working on making
that happen :)


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1933 726aef4b-f618-498e-8847-2d620e286838
2010-04-25 13:35:06 +00:00
cflakes
56fb03622b WebMods: minor fix to the looks of the default skin's login box.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1917 726aef4b-f618-498e-8847-2d620e286838
2010-04-15 12:31:31 +00:00
cflakes
edc102268b WebMods: Remove totally obsolete MSIE JS variable.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1916 726aef4b-f618-498e-8847-2d620e286838
2010-04-15 12:23:04 +00:00
cflakes
cea6ad3469 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
2010-04-15 12:02:41 +00:00
cflakes
140e8103b0 Small fix to default skin's tables. Very long words in td
cells are still not being wrapped, but that's not something
browsers support right now, so users will have to deal with it.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1909 726aef4b-f618-498e-8847-2d620e286838
2010-04-13 22:22:00 +00:00
cflakes
28740dea1c Make the default skin 100px wider. This adds extra space for the menu and takes away
a little space from the content so the menu never overlaps the content...


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1908 726aef4b-f618-498e-8847-2d620e286838
2010-04-13 21:21:32 +00:00
cflakes
30d996dae8 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
2010-04-13 20:25:44 +00:00
cflakes
f823e8cdde Some more skin fixes. Default's menu is still ugly,
and the Ice skin is as well. Soon.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1900 726aef4b-f618-498e-8847-2d620e286838
2010-04-08 16:42:37 +00:00
cflakes
26be9023ff Fixing some invalid XHTML markup.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1883 726aef4b-f618-498e-8847-2d620e286838
2010-04-05 11:17:24 +00:00
cflakes
b5e144b521 "dark-clouds" now looks okish again, still needs some finishing touches applied, but generally fine.
The MOTD textarea will use a monospace font now.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1873 726aef4b-f618-498e-8847-2d620e286838
2010-04-04 13:44:47 +00:00
cflakes
51cf28c061 More skin updates on the way from webadmin to webmods. Not yet done.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1871 726aef4b-f618-498e-8847-2d620e286838
2010-04-04 12:42:00 +00:00
silverleo
e9c9ae9553 Renamed the default css file to properly work after the changes done in r1868
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1869 726aef4b-f618-498e-8847-2d620e286838
2010-04-04 11:02:37 +00:00
cflakes
6c5421b021 Deleted obsolete modules/webadmin dir, copied CSS files for ice & default to
webskins dir, made default the _default_ skin, moved dark-clouds to dark-clouds,
added /skinfiles/ feature to base skins on each other (and not only on default).

Next up: re-adding help texts that got lost during webadmin->webmods transition,
making skins look nice again.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1868 726aef4b-f618-498e-8847-2d620e286838
2010-04-04 10:27:33 +00:00
cflakes
3fbcb24e78 Fix (hide) "Add Channel" link while creating new users. Regression
from porting webadmin to webmods.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1854 726aef4b-f618-498e-8847-2d620e286838
2010-03-30 09:59:37 +00:00
cflakes
79e7316e87 Minor webmods skin fixes.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1853 726aef4b-f618-498e-8847-2d620e286838
2010-03-30 09:48:23 +00:00
cflakes
cf3fbdffff Add a robots.txt file. Since WebMods now deliver (albeit basic) pages to visitors
that have not logged into any ZNC account, we certainly want to protect peoples'
ZNC's from Google's crawlers.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1843 726aef4b-f618-498e-8847-2d620e286838
2010-03-23 23:26:38 +00:00
prozacx
c5dbfaf4fa Don't show form for logged in users
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1801 726aef4b-f618-498e-8847-2d620e286838
2010-03-01 02:06:25 +00:00
prozacx
c27713cc1d Added support for cookies and sessions. Logging in is now done via cookies.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1799 726aef4b-f618-498e-8847-2d620e286838
2010-03-01 01:22:02 +00:00
prozacx
fa6b595e06 Separated a bunch of the individual components out of BaseHeader.tmpl into their own include files
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1797 726aef4b-f618-498e-8847-2d620e286838
2010-02-28 22:08:17 +00:00
prozacx
3d5c56c7a7 Don't display the modname twice in breadcrumbs
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1796 726aef4b-f618-498e-8847-2d620e286838
2010-02-28 21:34:05 +00:00
prozacx
aadde9b48f Changed favicon.ico colors to reflect the color of their skin
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1791 726aef4b-f618-498e-8847-2d620e286838
2010-02-24 05:36:32 +00:00
silverleo
7215efe434 Fix input checkbox widths, which rendered badly on some browsers.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1788 726aef4b-f618-498e-8847-2d620e286838
2010-02-23 19:52:00 +00:00
prozacx
ad92c58c42 Initial commit of webmods - still lots of work to be done
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1784 726aef4b-f618-498e-8847-2d620e286838
2010-02-22 07:40:22 +00:00