aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-05-14 00:37:16 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-05-15 20:37:43 +0300
commit5163436b00711318baea4fc0ad43a4de8222354a (patch)
treea05c06693bda84dd9a9b365a50c227126a5ec05f /www
parent2ebf9de408f3fd629126a20b21221e186195813c (diff)
Implement builds page
Diffstat (limited to 'www')
-rw-r--r--www/buildfile13
-rw-r--r--www/builds-body.css44
-rw-r--r--www/builds.css3
-rw-r--r--www/builds.scss3
4 files changed, 57 insertions, 6 deletions
diff --git a/www/buildfile b/www/buildfile
index 7a13eca..a9616b0 100644
--- a/www/buildfile
+++ b/www/buildfile
@@ -10,10 +10,11 @@ define scss: file
scss{*}: extension = scss
scss{*}: install = data/www/
-./: css{common brep-common \
- package-details package-details-body \
- package-search package-search-body \
- package-version-details package-version-details-body \
- repository-details repository-details-body} \
- scss{package-details package-search package-version-details \
+./: css{common brep-common \
+ builds builds-body \
+ package-details package-details-body \
+ package-search package-search-body \
+ package-version-details package-version-details-body \
+ repository-details repository-details-body} \
+ scss{builds package-details package-search package-version-details \
repository-details}
diff --git a/www/builds-body.css b/www/builds-body.css
new file mode 100644
index 0000000..67ed9a3
--- /dev/null
+++ b/www/builds-body.css
@@ -0,0 +1,44 @@
+/*
+ * Build count.
+ */
+#count
+{
+ font-size: 1.32em;
+ line-height: 1.4em;
+ color: #555;
+
+ margin: 1.2em 0 0 0;
+}
+
+/*
+ * Version table.
+ */
+.build
+{
+ margin-top: .8em;
+ margin-bottom: .8em;
+
+ padding-top: .4em;
+ padding-bottom: .4em;
+}
+.build:nth-child(even) {background-color: rgba(0, 0, 0, 0.07);}
+
+.build th {width: 6.4em;}
+
+.build tr.name td .value,
+.build tr.version td .value,
+.build tr.config td .value,
+.build tr.toolchain td .value,
+.build tr.machine td .value,
+.build tr.target td .value,
+.build tr.result td .value
+{
+ /* <code> style. */
+ font-family: monospace;
+ font-size: 0.94em;
+}
+
+.build .warning {color: #ffa500;}
+.build .error {color: #ff0000;}
+.build .abort {color: #ff0000;}
+.build .abnormal {color: #ff0000;}
diff --git a/www/builds.css b/www/builds.css
new file mode 100644
index 0000000..a24d4ed
--- /dev/null
+++ b/www/builds.css
@@ -0,0 +1,3 @@
+@import url(common.css);
+@import url(brep-common.css);
+@import url(builds-body.css);
diff --git a/www/builds.scss b/www/builds.scss
new file mode 100644
index 0000000..559d1c9
--- /dev/null
+++ b/www/builds.scss
@@ -0,0 +1,3 @@
+@import "common";
+@import "brep-common";
+@import "builds-body";