From 14ee0d2e8bba56e24a28e9a824731fddc9b2b7a5 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 18 Oct 2014 22:36:35 +0200 Subject: Added basic styling and expanded commit output * added CSS style based on my personal blog ** modified master and stream templates accordingly * added date-time, repository name and commit hash output * removed single-repository log export as it is not the purpose of this application --- source/02_augment/formatted_commits.xsl | 14 +++++++++ source/99_result/main.css | 20 +++++++++++++ source/99_result/repositories/repository_log.xsl | 20 ------------- source/99_result/stream.xsl | 37 +++++++++++++++++++++++- utility/master.xsl | 17 ++++++----- 5 files changed, 79 insertions(+), 29 deletions(-) create mode 100644 source/99_result/main.css delete mode 100644 source/99_result/repositories/repository_log.xsl diff --git a/source/02_augment/formatted_commits.xsl b/source/02_augment/formatted_commits.xsl index 555e0d8..fed8c94 100644 --- a/source/02_augment/formatted_commits.xsl +++ b/source/02_augment/formatted_commits.xsl @@ -23,6 +23,20 @@ )/self::command/node()"/> + + + + + + + + + + + + + + markdown diff --git a/source/99_result/main.css b/source/99_result/main.css new file mode 100644 index 0000000..0452889 --- /dev/null +++ b/source/99_result/main.css @@ -0,0 +1,20 @@ +body{margin:1em;padding:0;font:1em Droid Sans,sans-serif,Verdana,Arial,FreeSans;color:#272828;word-wrap:break-word} +a{text-decoration:underline;color:#272828} +a:hover{color:black} +p{padding:0;margin:0} +h2{font-size:1.4em;margin:0;color:#F80} +h2 a{font-size:.8em;text-decoration:none;color:#272828;font-weight:normal;display:inline-block;vertical-align:middle;max-width:95%} +h2 a:hover{text-decoration:underline} +ul{padding:0;margin:0 0 0 2.5em} +ul li{list-style-type:circle;margin:.2em 0 .2em 0} +ul li a{background:0} +p.info{font-size:.8em;margin-bottom:.5em;margin-left:1.5em} +p.info a{text-decoration:none;color:#272828;margin:0 .1em 0 .1em} +p.info a:hover{text-decoration:underline} +.commit{border-bottom:.3em dotted #e3e8e8;padding-bottom:.5em;overflow:hidden} +#pagination{height:1.5em;margin-top:.5em} +#pagination span.disabled{display:none} +#pagination span a{text-decoration:none;color:#272828} +#pagination span a:hover{text-decoration:underline} +#pagination span a.pagination-previous{float:left} +#pagination span a.pagination-next{float:right} diff --git a/source/99_result/repositories/repository_log.xsl b/source/99_result/repositories/repository_log.xsl deleted file mode 100644 index 9ffd173..0000000 --- a/source/99_result/repositories/repository_log.xsl +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/source/99_result/stream.xsl b/source/99_result/stream.xsl index 4f1bfde..7cb695d 100644 --- a/source/99_result/stream.xsl +++ b/source/99_result/stream.xsl @@ -7,6 +7,7 @@ + @@ -20,7 +21,28 @@ - +
+

+ » + + + +

+

+ + + + + at + + | + + | + +

+ + +
@@ -28,13 +50,26 @@