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-bno/luasrc | |
parent | 9d2e1cf0127bf67eb207b581eb4de0668a71f5d1 (diff) |
themes: add facility to include custom css
Diffstat (limited to 'themes/freifunk-bno/luasrc')
-rw-r--r-- | themes/freifunk-bno/luasrc/view/themes/freifunk-bno/header.htm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/themes/freifunk-bno/luasrc/view/themes/freifunk-bno/header.htm b/themes/freifunk-bno/luasrc/view/themes/freifunk-bno/header.htm index 7313fff550..be03d87b52 100644 --- a/themes/freifunk-bno/luasrc/view/themes/freifunk-bno/header.htm +++ b/themes/freifunk-bno/luasrc/view/themes/freifunk-bno/header.htm @@ -41,6 +41,10 @@ require("luci.http").prepare_content("text/html") <head> <link rel="stylesheet" type="text/css" href="<%=media%>/cascade.css" /> <% if node and node.css then %><link rel="stylesheet" type="text/css" href="<%=resource%>/<%=node.css%>" /><% end %> + <% if css then %><style title="text/css"> + <%-= css %> + </style> + <% end -%> <link rel="shortcut icon" href="<%=media%>/images/favicon.ico" /> <meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" /> <meta http-equiv="content-script-type" content="text/javascript" /> |