From 617aa2f91cbec692fc3f74566677b7b265f1f8f8 Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Mon, 6 Dec 2010 00:30:03 +0000 Subject: [PATCH] themes/freifunk-generic: Add warning box when js is disabled --- .../htdocs/luci-static/freifunk-generic/cascade.css | 6 ++++++ .../luasrc/view/themes/freifunk-generic/header.htm | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/themes/freifunk-generic/htdocs/luci-static/freifunk-generic/cascade.css b/themes/freifunk-generic/htdocs/luci-static/freifunk-generic/cascade.css index 4530b0876..d20d74f02 100644 --- a/themes/freifunk-generic/htdocs/luci-static/freifunk-generic/cascade.css +++ b/themes/freifunk-generic/htdocs/luci-static/freifunk-generic/cascade.css @@ -81,6 +81,12 @@ code { background-color: white; } +.errorbox { +border: 1px solid #F00; +background-color: #FCC; +padding: 5px; +} + #header { min-height: 100px; background: #FFF url(header.jpg) repeat-x left bottom; 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 c6375ad45..a6d82d906 100644 --- a/themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm +++ b/themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm @@ -185,3 +185,10 @@ if tree.nodes[category] and tree.nodes[category].ucidata then
+ + -- 2.25.1