mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
Filter webapp/* so we don't have to hard-code the version number. Display version number in login UI.
This commit is contained in:
@@ -29,6 +29,16 @@
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-war-plugin</artifactId>
|
||||
<configuration>
|
||||
|
||||
<!-- Filter webapp dir -->
|
||||
<webResources>
|
||||
<resource>
|
||||
<directory>src/main/webapp</directory>
|
||||
<filtering>true</filtering>
|
||||
</resource>
|
||||
</webResources>
|
||||
|
||||
<!-- Add guacamole-common-js -->
|
||||
<overlays>
|
||||
<overlay>
|
||||
<groupId>net.sourceforge.guacamole</groupId>
|
||||
@@ -36,6 +46,7 @@
|
||||
<type>zip</type>
|
||||
</overlay>
|
||||
</overlays>
|
||||
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
|
@@ -57,9 +57,12 @@
|
||||
<div id="buttons">
|
||||
<input type="submit" name="login" id="login" value="Login"/>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div id="version-dialog">Guacamole ${project.version}</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -83,7 +86,7 @@
|
||||
<button id="CtrlAltDelete">Ctrl-Alt-Delete</button>
|
||||
|
||||
<!-- Logo and status -->
|
||||
<img id="logo" src="images/guacamole-logo.png" alt="Guacamole" title="Guacamole 0.4.0"/>
|
||||
<img id="logo" src="images/guacamole-logo.png" alt="Guacamole" title="Guacamole ${project.version}"/>
|
||||
<span id="state"></span>
|
||||
|
||||
<a href="agpl-3.0-standalone.html"><img id="license" src="images/agpl-logo.png" alt="AGPLv3"/></a>
|
||||
|
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user