From 5163436b00711318baea4fc0ad43a4de8222354a Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sun, 14 May 2017 00:37:16 +0300 Subject: Implement builds page --- www/buildfile | 13 +++++++------ www/builds-body.css | 44 ++++++++++++++++++++++++++++++++++++++++++++ www/builds.css | 3 +++ www/builds.scss | 3 +++ 4 files changed, 57 insertions(+), 6 deletions(-) create mode 100644 www/builds-body.css create mode 100644 www/builds.css create mode 100644 www/builds.scss (limited to 'www') 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 +{ + /* 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"; -- cgit v1.1