From 48266b302db721ae8eaf3109dc4931d873803293 Mon Sep 17 00:00:00 2001 From: Maxime Sinclair Date: Thu, 31 Mar 2011 16:20:15 +0200 Subject: [PATCH] Little enhancements of the look of the main page. The build date is included in the footer. --- build.xml | 23 ++++++++++++++++++++--- content/footer.jspf | 4 ++++ content/index.jsp | 11 ++++++----- content/plantuml.css | 21 ++++++++++++++++++--- 4 files changed, 48 insertions(+), 11 deletions(-) create mode 100644 content/footer.jspf diff --git a/build.xml b/build.xml index 3e8773f..78f3745 100644 --- a/build.xml +++ b/build.xml @@ -1,6 +1,6 @@ - + - + + + + + + + + + + + + + + + + + + - + diff --git a/content/footer.jspf b/content/footer.jspf new file mode 100644 index 0000000..bac1de3 --- /dev/null +++ b/content/footer.jspf @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/content/index.jsp b/content/index.jsp index 3a21b2a..e4e8520 100644 --- a/content/index.jsp +++ b/content/index.jsp @@ -34,7 +34,7 @@ if (decodedAttribute != null) {
@@ -60,8 +60,9 @@ if (decodedAttribute != null) {

You can use the following URL:
<img src="<%=imgurl %>" /> -

- PlantUML diagram +

+

+ PlantUML diagram

<% } //endif %>
@@ -70,7 +71,7 @@ if (decodedAttribute != null) { Bob -> Alice : hello @enduml --> -<%-- FOOTER -<%@ include file="util/footer.jspf" %> --%> +<%-- FOOTER --%> +<%@ include file="footer.jspf" %> diff --git a/content/plantuml.css b/content/plantuml.css index 6ed0db5..916561e 100644 --- a/content/plantuml.css +++ b/content/plantuml.css @@ -4,7 +4,7 @@ /* Font */ * { - font-family: sans-serif; + font-family: arial,helvetica,sans-serif; } /* Header */ @@ -30,11 +30,26 @@ /* XHTML tag */ #content code { - font-family: monospace; + font-family: 'courier new',courier,monospace; + letter-spacing: -1pt; } /* Diagram */ -#content img#diagram { +#content #diagram { + text-align: center; +} + +#content #diagram img { border: medium solid green; padding: 10px; } + +/* Footer */ +#footer p { + background-color: #eee; + color: #666; + font-size: 0.7em; + padding: 2px; + text-align: center; + width: 100%; +}