GUAC-324: Copy settings and clipboard from login screen.

This commit is contained in:
Michael Jumper
2014-04-21 10:57:12 -07:00
parent e60e8177f2
commit 79b98ee9ef
2 changed files with 74 additions and 4 deletions

View File

@@ -56,12 +56,55 @@
<!-- Menu -->
<div id="menu">
<h2 id="menu-title">Guacamole ${project.version}</h2>
<div class="content">
<button>Test button</button>
<button>Test button</button>
<button>Test button</button>
<button>Test button</button>
<h3>Clipboard</h3>
<div id="clipboardDiv">
<p>Text copied/cut within Guacamole will appear here. Changes to the text below will affect the remote clipboard.</p>
<textarea rows="10" cols="40" id="clipboard"></textarea>
</div>
<h3>Settings</h3>
<div id="settings">
<dl>
<!-- Auto-fit display -->
<dt>
<input type="checkbox" id="auto-fit"/>
Auto-fit display to browser window
</dt>
<dd>
<p>
If checked, remote displays are automatically
scaled to exactly fit within the browser window. If
unchecked, remote displays are always shown at their
natural resolution, even if doing so causes the
display to extend beyond the bounds of the window.
</p>
</dd>
<!-- Enable/disable sound -->
<dt>
<input type="checkbox" id="disable-sound"/>
Disable sound
</dt>
<dd>
<p>
If on a device or network where bandwidth usage must
be kept to a minimum, you may wish to check this box
and disable sound. This can also be necessary if a
device doesn't actually support sound, but claims
to, resulting in wasted bandwidth.
</p>
<p>
<strong>Changing this setting will only affect
future connections.</strong>
</p>
</dd>
</dl>
</div>
</div>
</div>
<!-- Images which should be preloaded -->

View File

@@ -576,3 +576,30 @@ p.hint {
-webkit-animation-timing-function: linear;
-webkit-animation-duration: 0.05s;
}
div#settings,
div#clipboardDiv {
margin: 1em;
padding: 0;
}
#clipboardDiv textarea {
width: 100%;
border: 1px solid #AAA;
-moz-border-radius: 0.25em;
-webkit-border-radius: 0.25em;
-khtml-border-radius: 0.25em;
border-radius: 0.25em;
white-space: pre;
}
#settings dt {
border-bottom: 1px dotted #AAA;
padding-bottom: 0.25em;
}
#settings dd {
margin: 1.5em;
margin-left: 2.5em;
font-size: 0.75em;
}