diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-11-21 18:36:40 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-11-21 18:36:40 +0000 |
commit | 1a530635c930a7a23b6ff941c89365dd5e692198 (patch) | |
tree | 3cf2d5c89db828242e711ded71075b178202fb1d /themes/freifunk-generic | |
parent | 9d2e1cf0127bf67eb207b581eb4de0668a71f5d1 (diff) |
themes: add facility to include custom css
Diffstat (limited to 'themes/freifunk-generic')
-rw-r--r-- | themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm b/themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm index c14d8be0e..a8c257e40 100644 --- a/themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm +++ b/themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm @@ -79,6 +79,10 @@ You may obtain a copy of the License at <!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href="<%=media%>/ie7.css" /><![endif]--> <% if node and node.css then %><link rel="stylesheet" type="text/css" media="screen" href="<%=resource%>/<%=node.css%>" /> <% end -%> +<% if css then %><style title="text/css"> +<%= css %> +</style> +<% end -%> <script type="text/javascript" src="<%=resource%>/xhr.js"></script> <title><%=striptags( hostname .. ( (node and node.title) and ' - ' .. translate(tostring(node.title)) or '')) %> - LuCI</title> |