From 750c03f854ace16cd013c189369aa0cf9d3bdd9d Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Tue, 23 Sep 2008 20:52:53 +1000 Subject: [views] Restructure profile view, simplify bundle access Make bundles more like todo lists - the list itself has its own page, accessible from the top user links. Signed-off-by: Jeremy Kerr --- htdocs/css/style.css | 35 +++++++++++++++++++++++++++++++++++ htdocs/images/16-em-cross.png | Bin 0 -> 469 bytes htdocs/images/16-em-down.png | Bin 0 -> 400 bytes htdocs/js/confirm.js | 5 +++++ 4 files changed, 40 insertions(+) create mode 100644 htdocs/images/16-em-cross.png create mode 100644 htdocs/images/16-em-down.png create mode 100644 htdocs/js/confirm.js (limited to 'htdocs') diff --git a/htdocs/css/style.css b/htdocs/css/style.css index bef9605..a05e877 100644 --- a/htdocs/css/style.css +++ b/htdocs/css/style.css @@ -267,6 +267,10 @@ span.p_mod { color: #0000ff; } /* bundles */ table.bundlelist { + margin-top: 2em; + margin-bottom: 4em; + margin-left: auto; + margin-right: auto; border: thin solid black; } @@ -400,3 +404,34 @@ table.vertical th, table.vertical td { td.numberformat { text-align: right; } + +/* boxes */ +div.box { + border: thin solid gray; + margin: 1em; + padding: 0.5em; +} + +div.box h2 { + background: #786fb4; + color: white; + margin: -0.5em -0.5em 1em; -0.5em; + padding: 0em 0.5em; + font-size: 100%; +} + +div.box table.vertical { + margin-left: auto; + margin-right: auto; +} + +/* columns */ +.leftcol { + float: left; + width: 49%; +} + +.rightcol { + float: right; + width: 49%; +} diff --git a/htdocs/images/16-em-cross.png b/htdocs/images/16-em-cross.png new file mode 100644 index 0000000..466e3bb Binary files /dev/null and b/htdocs/images/16-em-cross.png differ diff --git a/htdocs/images/16-em-down.png b/htdocs/images/16-em-down.png new file mode 100644 index 0000000..50ac318 Binary files /dev/null and b/htdocs/images/16-em-down.png differ diff --git a/htdocs/js/confirm.js b/htdocs/js/confirm.js new file mode 100644 index 0000000..cbc91b3 --- /dev/null +++ b/htdocs/js/confirm.js @@ -0,0 +1,5 @@ +function confirm_delete(type, name) +{ + return confirm("Are you sure you want to delete the " + type + + " '" + name + "'?"); +} -- cgit v1.2.3