GUACAMOLE-136: Render Duo field as modal dialog.

This commit is contained in:
Michael Jumper
2016-12-02 00:49:21 -08:00
parent 548966ae5a
commit f44ee1c95b
2 changed files with 25 additions and 3 deletions

View File

@@ -17,6 +17,23 @@
* under the License.
*/
.duo-signature-response-field-container {
height: 100%;
width: 100%;
position: fixed;
left: 0;
top: 0;
display: table;
background: white;
}
.duo-signature-response-field {
width: 100%;
display: table-cell;
vertical-align: middle;
}
.duo-signature-response-field input[type="submit"] {
display: none !important;
}
@@ -26,6 +43,9 @@
max-width: 620px;
height: 330px;
border: none;
box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
display: block;
margin: 1.5em auto;
}
.duo-signature-response-field iframe {

View File

@@ -1,4 +1,6 @@
<div class="duo-signature-response-field" ng-class="{ loading : !duoInterfaceLoaded }">
<div class="duo-signature-response-field-container">
<div class="duo-signature-response-field" ng-class="{ loading : !duoInterfaceLoaded }">
<iframe></iframe>
<input type="submit">
</div>
</div>