From 2939f4d1c36d784773f6ab642e83b48e413adbfc Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 6 Oct 2021 21:06:53 +0100 Subject: added css to index --- build-repo.sh | 31 ++++++++++++++++++++----------- style.css | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 11 deletions(-) create mode 100644 style.css diff --git a/build-repo.sh b/build-repo.sh index d22fa1c..c3dd2b0 100755 --- a/build-repo.sh +++ b/build-repo.sh @@ -38,11 +38,20 @@ start-index () { echo " packages for $1 - +

Packages in $1

- " > $2 +
+ + + + + + + + + " > $2 } extend-index () { @@ -51,17 +60,17 @@ extend-index () { COLOR="none" if grep $PKG_NAME xibuild.report.log | grep -q new; then - COLOR="lime" + COLOR="pass" fi if grep $PKG_NAME xibuild.report.log | grep -q fail; then - if [ ! -f $DEST ]; then - COLOR="orange" + if [ -f $DEST ]; then + COLOR="warning" else - COLOR="red" + COLOR="fail" fi fi echo " - + @@ -79,10 +88,10 @@ conclude-index () {

Legend:

diff --git a/style.css b/style.css new file mode 100644 index 0000000..d88512d --- /dev/null +++ b/style.css @@ -0,0 +1,36 @@ +body { + padding: 1em; + background-color: #202020; + color: #bbbbbb; +} + +a,p,td,th,li { + color: #bbbbbb; +} + +h1,h2,h3,h4 { + background-color: #202020; + color: #b8ddea; +} + +th, td { + border: 1px solid #bbbbbb; + padding: 0.5em; +} + +th { + font-weight: bold; +} + +.pass { + background-color: #004400; +} + +.fail { + background-color: #aa0000; +} + +.warning { + background-color: #aa4400; + +} -- cgit v1.2.1
namexibuildbuild logdescriptionfileinfo file
$PKG_NAME src log