From: Michael Jumper Date: Wed, 29 Jun 2011 23:43:23 +0000 (-0700) Subject: Filter webapp/* so we don't have to hard-code the version number. Display version... X-Git-Url: http://git.alex.org.uk Filter webapp/* so we don't have to hard-code the version number. Display version number in login UI. --- diff --git a/pom.xml b/pom.xml index d30a0bd..b4bf0f0 100644 --- a/pom.xml +++ b/pom.xml @@ -29,6 +29,16 @@ org.apache.maven.plugins maven-war-plugin + + + + + src/main/webapp + true + + + + net.sourceforge.guacamole @@ -36,6 +46,7 @@ zip + diff --git a/src/main/webapp/index.html b/src/main/webapp/index.html index cd0cf2b..6bd09bd 100644 --- a/src/main/webapp/index.html +++ b/src/main/webapp/index.html @@ -57,9 +57,12 @@
+ +
Guacamole ${project.version}
+ @@ -83,7 +86,7 @@ - + AGPLv3 diff --git a/src/main/webapp/styles/guacamole.css b/src/main/webapp/styles/guacamole.css index 6f2b9a3..9f9c612 100644 --- a/src/main/webapp/styles/guacamole.css +++ b/src/main/webapp/styles/guacamole.css @@ -92,6 +92,17 @@ div#login-dialog #login-fields { padding-bottom: 0.5em; } +div#login-ui #version-dialog { + position: fixed; + right: 0; + bottom: 0; + text-align: right; + font-style: italic; + font-size: 0.75em; + color: black; + padding: 0.25em; +} + div.errorDialogOuter { display: table; height: 100%; @@ -185,7 +196,6 @@ img { } img#license { - border: none; float: right; margin: 2px; }