diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2008-09-23 20:52:53 +1000 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2008-09-23 20:52:53 +1000 |
commit | 750c03f854ace16cd013c189369aa0cf9d3bdd9d (patch) | |
tree | 91415c0436e8e901461fe65a88a3504b102b2e57 /htdocs | |
parent | dff684304a35c14e23d89783d18e1664222b3fcb (diff) | |
download | patchwork-750c03f854ace16cd013c189369aa0cf9d3bdd9d.tar patchwork-750c03f854ace16cd013c189369aa0cf9d3bdd9d.tar.gz |
[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 <jk@ozlabs.org>
Diffstat (limited to 'htdocs')
-rw-r--r-- | htdocs/css/style.css | 35 | ||||
-rw-r--r-- | htdocs/images/16-em-cross.png | bin | 0 -> 469 bytes | |||
-rw-r--r-- | htdocs/images/16-em-down.png | bin | 0 -> 400 bytes | |||
-rw-r--r-- | htdocs/js/confirm.js | 5 |
4 files changed, 40 insertions, 0 deletions
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 Binary files differnew file mode 100644 index 0000000..466e3bb --- /dev/null +++ b/htdocs/images/16-em-cross.png diff --git a/htdocs/images/16-em-down.png b/htdocs/images/16-em-down.png Binary files differnew file mode 100644 index 0000000..50ac318 --- /dev/null +++ b/htdocs/images/16-em-down.png 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 + "'?"); +} |