diff options
-rw-r--r-- | acf.conf | 1 | ||||
-rw-r--r-- | app/acf_www-controller.lua | 3 | ||||
-rw-r--r-- | app/template-html.lsp | 3 | ||||
-rw-r--r-- | www/Makefile | 3 | ||||
-rw-r--r-- | www/simple/simple.css | 0 | ||||
-rw-r--r-- | www/static/static.css (renamed from www/static/webconf.css) | 0 |
6 files changed, 7 insertions, 3 deletions
@@ -1,2 +1,3 @@ appdir=/usr/share/acf/app/ libdir=/usr/share/acf/lib/ +skin=simple diff --git a/app/acf_www-controller.lua b/app/acf_www-controller.lua index 5f30124..60c4ad4 100644 --- a/app/acf_www-controller.lua +++ b/app/acf_www-controller.lua @@ -160,7 +160,8 @@ view_resolver = function(self) action = self.conf.action, hostname = h.hostname.value, prefix = self.conf.prefix, - script = self.conf.appuri + script = self.conf.appuri, + skin = self.conf.skin } -- Build the menu table diff --git a/app/template-html.lsp b/app/template-html.lsp index de19458..59a68f0 100644 --- a/app/template-html.lsp +++ b/app/template-html.lsp @@ -14,7 +14,8 @@ Content-Type: text/html <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title><?= pageinfo.hostname .. " - " .. pageinfo.controller .. "->" .. pageinfo.action ?></title> -<link rel="stylesheet" type="text/css" href="/static/webconf.css"> +<link rel="stylesheet" type="text/css" + href=<?= "/"..pageinfo.skin.."/"..pageinfo.skin..".css" ?> "> </head> <body> diff --git a/www/Makefile b/www/Makefile index cff3ee9..becae86 100644 --- a/www/Makefile +++ b/www/Makefile @@ -13,7 +13,8 @@ WWW_DIST=cgi-bin/acf\ static/submenu.css\ static/unselected.gif\ static/webconf-purple.css\ - static/webconf.css\ + static/static.css\ + simple/simple.css\ index.html\ sample.html diff --git a/www/simple/simple.css b/www/simple/simple.css new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/www/simple/simple.css diff --git a/www/static/webconf.css b/www/static/static.css index e2c28ca..e2c28ca 100644 --- a/www/static/webconf.css +++ b/www/static/static.css |