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/bootstrap/luasrc | |
parent | 9d2e1cf0127bf67eb207b581eb4de0668a71f5d1 (diff) |
themes: add facility to include custom css
Diffstat (limited to 'themes/bootstrap/luasrc')
-rw-r--r-- | themes/bootstrap/luasrc/view/themes/bootstrap/header.htm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/themes/bootstrap/luasrc/view/themes/bootstrap/header.htm b/themes/bootstrap/luasrc/view/themes/bootstrap/header.htm index 1d23877664..c79c152ba9 100644 --- a/themes/bootstrap/luasrc/view/themes/bootstrap/header.htm +++ b/themes/bootstrap/luasrc/view/themes/bootstrap/header.htm @@ -106,6 +106,10 @@ You may obtain a copy of the License at <link rel="shortcut icon" href="<%=media%>/favicon.ico"> <% if node and node.css then %><link rel="stylesheet" href="<%=resource%>/<%=node.css%>"> <% end -%> + <% if css then %><style title="text/css"> + <%-= css %> + </style> + <% end -%> <script src="<%=resource%>/xhr.js"></script> </head> |