summaryrefslogtreecommitdiffstats
path: root/htdocs
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2008-09-23 20:52:53 +1000
committerJeremy Kerr <jk@ozlabs.org>2008-09-23 20:52:53 +1000
commit750c03f854ace16cd013c189369aa0cf9d3bdd9d (patch)
tree91415c0436e8e901461fe65a88a3504b102b2e57 /htdocs
parentdff684304a35c14e23d89783d18e1664222b3fcb (diff)
downloadpatchwork-750c03f854ace16cd013c189369aa0cf9d3bdd9d.tar.bz2
patchwork-750c03f854ace16cd013c189369aa0cf9d3bdd9d.tar.xz
[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.css35
-rw-r--r--htdocs/images/16-em-cross.pngbin0 -> 469 bytes
-rw-r--r--htdocs/images/16-em-down.pngbin0 -> 400 bytes
-rw-r--r--htdocs/js/confirm.js5
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
new file mode 100644
index 0000000..466e3bb
--- /dev/null
+++ b/htdocs/images/16-em-cross.png
Binary files differ
diff --git a/htdocs/images/16-em-down.png b/htdocs/images/16-em-down.png
new file mode 100644
index 0000000..50ac318
--- /dev/null
+++ b/htdocs/images/16-em-down.png
Binary files 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 + "'?");
+}