You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by jm...@apache.org on 2016/12/06 06:27:36 UTC
[08/12] incubator-guacamole-client git commit: GUACAMOLE-136: Render
Duo field as modal dialog.
GUACAMOLE-136: Render Duo field as modal dialog.
Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/commit/f44ee1c9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/tree/f44ee1c9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/diff/f44ee1c9
Branch: refs/heads/master
Commit: f44ee1c95b62da184e306a8957421c4b84b5263d
Parents: 548966a
Author: Michael Jumper <mj...@apache.org>
Authored: Fri Dec 2 00:49:21 2016 -0800
Committer: Michael Jumper <mj...@apache.org>
Committed: Mon Dec 5 22:19:45 2016 -0800
----------------------------------------------------------------------
.../src/main/resources/styles/duo.css | 20 ++++++++++++++++++++
.../templates/duoSignedResponseField.html | 8 +++++---
2 files changed, 25 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/f44ee1c9/extensions/guacamole-auth-duo/src/main/resources/styles/duo.css
----------------------------------------------------------------------
diff --git a/extensions/guacamole-auth-duo/src/main/resources/styles/duo.css b/extensions/guacamole-auth-duo/src/main/resources/styles/duo.css
index db49ab3..6d01a85 100644
--- a/extensions/guacamole-auth-duo/src/main/resources/styles/duo.css
+++ b/extensions/guacamole-auth-duo/src/main/resources/styles/duo.css
@@ -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 {
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/f44ee1c9/extensions/guacamole-auth-duo/src/main/resources/templates/duoSignedResponseField.html
----------------------------------------------------------------------
diff --git a/extensions/guacamole-auth-duo/src/main/resources/templates/duoSignedResponseField.html b/extensions/guacamole-auth-duo/src/main/resources/templates/duoSignedResponseField.html
index 622bd42..e51e190 100644
--- a/extensions/guacamole-auth-duo/src/main/resources/templates/duoSignedResponseField.html
+++ b/extensions/guacamole-auth-duo/src/main/resources/templates/duoSignedResponseField.html
@@ -1,4 +1,6 @@
-<div class="duo-signature-response-field" ng-class="{ loading : !duoInterfaceLoaded }">
- <iframe></iframe>
- <input type="submit">
+<div class="duo-signature-response-field-container">
+ <div class="duo-signature-response-field" ng-class="{ loading : !duoInterfaceLoaded }">
+ <iframe></iframe>
+ <input type="submit">
+ </div>
</div>