aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-06-14 20:34:00 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-06-14 20:34:00 +0300
commitdafc12423f37eb8ab65912de3cbbfb62afc4b06d (patch)
tree1601095e5c030eb7dbde6e4412cb7cdc345c5f16 /mod
parent2b31e5cb109e2b009529e97f4fdb4a707cae14f2 (diff)
Minor style change for package version details and builds pages
Diffstat (limited to 'mod')
-rw-r--r--mod/mod-package-version-details.cxx6
-rw-r--r--mod/page.cxx4
2 files changed, 5 insertions, 5 deletions
diff --git a/mod/mod-package-version-details.cxx b/mod/mod-package-version-details.cxx
index 7dc02d2..d1b6dfe 100644
--- a/mod/mod-package-version-details.cxx
+++ b/mod/mod-package-version-details.cxx
@@ -329,8 +329,8 @@ handle (request& rq, response& rs)
//
if (build_db_ != nullptr && ver.compare (wildcard_version, true) != 0)
{
- s << H3 << "Built" << ~H3
- << DIV(ID="built");
+ s << H3 << "Builds" << ~H3
+ << DIV(ID="builds");
timestamp now (timestamp::clock::now ());
transaction t (build_db_->begin ());
@@ -361,7 +361,7 @@ handle (request& rq, response& rs)
b.toolchain_name + '-' +
b.toolchain_version.string ())
<< TR_VALUE ("config",
- b.configuration + " / " + b.machine + " / " +
+ b.configuration + " / " +
(b.target ? b.target->string () : "<default>"))
<< TR_VALUE ("timestamp", ts)
<< TR_BUILD_RESULT (b, host, root)
diff --git a/mod/page.cxx b/mod/page.cxx
index 291dfb4..a7ec087 100644
--- a/mod/page.cxx
+++ b/mod/page.cxx
@@ -597,7 +597,7 @@ namespace brep
<< SPAN(CLASS="value");
if (build_.state == build_state::building)
- s << "building | ";
+ s << SPAN(CLASS="building") << "building" << ~SPAN << " | ";
else
{
// If no unsuccessful operation results available, then print the
@@ -639,7 +639,7 @@ namespace brep
if (build_.force == (build_.state == build_state::building
? force_state::forcing
: force_state::forced))
- s << "pending";
+ s << SPAN(CLASS="pending") << "pending" << ~SPAN;
else
s << A
<< HREF << force_rebuild_url (host_, root_, build_) << ~HREF