From b1e0148c1e9cc30aba719222a444848c2682179c Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Wed, 29 Jun 2011 16:43:23 -0700 Subject: [PATCH] Filter webapp/* so we don't have to hard-code the version number. Display version number in login UI. --- guacamole/pom.xml | 11 +++++++++++ guacamole/src/main/webapp/index.html | 5 ++++- guacamole/src/main/webapp/styles/guacamole.css | 12 +++++++++++- 3 files changed, 26 insertions(+), 2 deletions(-) diff --git a/guacamole/pom.xml b/guacamole/pom.xml index d30a0bda0..b4bf0f039 100644 --- a/guacamole/pom.xml +++ b/guacamole/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/guacamole/src/main/webapp/index.html b/guacamole/src/main/webapp/index.html index cd0cf2bee..6bd09bd80 100644 --- a/guacamole/src/main/webapp/index.html +++ b/guacamole/src/main/webapp/index.html @@ -57,9 +57,12 @@
+ +
Guacamole ${project.version}
+ @@ -83,7 +86,7 @@ - + AGPLv3 diff --git a/guacamole/src/main/webapp/styles/guacamole.css b/guacamole/src/main/webapp/styles/guacamole.css index 6f2b9a3f2..9f9c6125f 100644 --- a/guacamole/src/main/webapp/styles/guacamole.css +++ b/guacamole/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; }