diff options
| -rw-r--r-- | app.py | 2 | ||||
| -rw-r--r-- | static/style.css | 58 | 
2 files changed, 59 insertions, 1 deletions
| @@ -125,7 +125,7 @@ def index_results(LPUSER, PPA, PACKAGE, RELEASE, ARCH):              "date": date,              "duration": duration,              "requester": requester, -            "result": exitcode, +            "result": "pass" if exitcode == 0 else "fail",              "url_prefix": f"{autopkgtest_url_base}/{idx}",          }          package_results.append([result[h] for h in headers]) diff --git a/static/style.css b/static/style.css new file mode 100644 index 0000000..a020cd3 --- /dev/null +++ b/static/style.css @@ -0,0 +1,58 @@ +.pass:before { +  content: "✔ "; +  color: #8ae234; +  font-size: 18px; +  vertical-align: top; +} + +.neutral:before { +  content: "😐"; +  color: #cab388; +  font-size: 18px; +  vertical-align: top; +} + +.fail:before, +.denylisted:before { +  content: "✖ "; +  color: #ef2929; +  font-size: 18px; +  vertical-align: top; +} + +.tmpfail:before { +  content: "⚠ "; +  color: #ffd862; +  font-size: 18px; +  vertical-align: top; +} + +.error:before { +  content: "😅 "; +  color: brown; +  font-size: 18px; +  vertical-align: top; +} + +.panel .panel-heading { +  font-size: 130%; +} + +/* package browsing by prefix */ + +.list-inline h5 a { +  color: #E90051; +  background-color: #eeeeec; +  padding: 1px 10px; +  border-radius: 5px; +} + +.list-inline h5 a:hover { +  text-decoration: none; +  background-color: #E90051; +  color: white; +} + +.nowrap { +  white-space: nowrap; +} | 
