aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/static
diff options
context:
space:
mode:
authorZubin Mithra <zsm@chromium.org>2019-08-01 15:19:59 -0700
committerDmitry Vyukov <dvyukov@google.com>2019-08-08 15:58:57 +0200
commita02b5bcae215e4be280b1dac121948eaac1023e9 (patch)
tree14c138adcb9a14b4f5cbdb949699f26f70733aab /dashboard/app/static
parent657092bddfc75ab7a9eadb6947e13a83a539f3e5 (diff)
dashboard/app: allow main UI to show bisect results
* Modify uiBug type. Rename BisectCause to BisectCauseDone. Introduce BisectFixDone. * Modify createUIBug() and MergeUIBug() to set the above fields appropriately. * Modify bug_list to display the bisection status; remove yesSort() as it is not used anymore. Adjust ".list_table .stat" to appropriate width. * Add TestBugBisectionStatus() to check bisection status on main page. * Add file from running "make generate": pkg/html/generated.go
Diffstat (limited to 'dashboard/app/static')
-rw-r--r--dashboard/app/static/common.js1
-rw-r--r--dashboard/app/static/style.css4
2 files changed, 2 insertions, 3 deletions
diff --git a/dashboard/app/static/common.js b/dashboard/app/static/common.js
index f501d61da..6d03cf78d 100644
--- a/dashboard/app/static/common.js
+++ b/dashboard/app/static/common.js
@@ -41,7 +41,6 @@ function isSorted(values) {
function textSort(v) { return v.toLowerCase(); }
function numSort(v) { return -parseInt(v); }
function floatSort(v) { return -parseFloat(v); }
-function yesSort(v) { return v == "yes" ? 0 : 1; }
function reproSort(v) { return v == "C" ? 0 : v == "syz" ? 1 : 2; }
function patchedSort(v) { return v == "" ? -1 : parseInt(v); }
diff --git a/dashboard/app/static/style.css b/dashboard/app/static/style.css
index ee5ef5fe1..da32203bc 100644
--- a/dashboard/app/static/style.css
+++ b/dashboard/app/static/style.css
@@ -127,8 +127,8 @@ table td, table th {
}
.list_table .stat {
- width: 50pt;
- max-width: 50pt;
+ width: 55pt;
+ max-width: 55pt;
font-family: monospace;
text-align: right;
}