diff options
-rw-r--r-- | tmpl/header.tt2 | 1 | ||||
-rw-r--r-- | tmpl/popup_main.tt2 | 1 | ||||
-rw-r--r-- | tmpl/prefs.tt2 | 3 | ||||
-rw-r--r-- | tmpl/tree_list.tt2 | 15 | ||||
-rw-r--r-- | webroot/.static/css/lxrng.css | 6 |
5 files changed, 20 insertions, 6 deletions
diff --git a/tmpl/header.tt2 b/tmpl/header.tt2 index 106f3bd..edfa773 100644 --- a/tmpl/header.tt2 +++ b/tmpl/header.tt2 @@ -25,6 +25,7 @@ <base href="[% base_url | html %]"> [% END %] <script type="text/javascript" src="../.static/js/lxrng-funcs.js"></script> + <link rel="shortcut icon" href="../.static/gfx/favicon.png" type="image/png"> <link rel="stylesheet" href="../.static/css/lxrng.css" type="text/css" title="LXRng"> [% javascript %] diff --git a/tmpl/popup_main.tt2 b/tmpl/popup_main.tt2 index e753088..0ae8961 100644 --- a/tmpl/popup_main.tt2 +++ b/tmpl/popup_main.tt2 @@ -6,6 +6,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script type="text/javascript" src="../.static/js/lxrng-funcs.js"></script> + <link rel="shortcut icon" href="../.static/gfx/favicon.png" type="image/png"> <link rel="stylesheet" href="../.static/css/lxrng.css" type="text/css" title="LXRng"> <script type="text/javascript"> diff --git a/tmpl/prefs.tt2 b/tmpl/prefs.tt2 index a92061d..5e5c002 100644 --- a/tmpl/prefs.tt2 +++ b/tmpl/prefs.tt2 @@ -4,6 +4,7 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script type="text/javascript" src="../.static/js/lxrng-funcs.js"></script> + <link rel="shortcut icon" href="../.static/gfx/favicon.png" type="image/png"> <link rel="stylesheet" href="../.static/css/lxrng.css" type="text/css" title="LXRng"> <title id="title">LXR Preferences</title> @@ -24,6 +25,7 @@ <div class="headingbottom"></div> </div> + <div class="prose"> <p> <form method="post" action="+prefs"> <div> @@ -52,6 +54,7 @@ </li> </ol> </p> + </div> <p> (Cookies need to be enabled for LXR preferences to take effect.) </p> diff --git a/tmpl/tree_list.tt2 b/tmpl/tree_list.tt2 index d0a1252..d862cae 100644 --- a/tmpl/tree_list.tt2 +++ b/tmpl/tree_list.tt2 @@ -6,6 +6,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <base href="[% base_url %]"> <script type="text/javascript" src=".static/js/lxrng-funcs.js"></script> + <link rel="shortcut icon" href=".static/gfx/favicon.png" type="image/png"> <link rel="stylesheet" href=".static/css/lxrng.css" type="text/css" title="LXRng"> <title id="title">LXR Inventory</title> @@ -28,11 +29,15 @@ <div class="headingbottom"></div> </div> - <p> - <ul> - <li><a href="linux">Linux</a> - </ul> - </p> + <div id="content"> + <p> + <ul> + [% FOREACH tree = context.read_config.keys.sort %] + <li><a href="[% tree %]">[% tree | ucfirst %]</a> + [% END %] + </ul> + </p> + </div> </body> </html> [% INCLUDE footer.tt2 %] diff --git a/webroot/.static/css/lxrng.css b/webroot/.static/css/lxrng.css index 3b6ff2b..9f22d4a 100644 --- a/webroot/.static/css/lxrng.css +++ b/webroot/.static/css/lxrng.css @@ -240,8 +240,12 @@ div.footerfill { height: 3px; } -div.content { +div#content { background: white; + background-image: url(../gfx/lxray-large.png); + background-position: top right; + background-repeat: no-repeat; + min-height: 250px; } |