summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authorjamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-07 01:44:07 +0000
committerjamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-07 01:44:07 +0000
commitd2ab6eceef40086817c7af124fcaa1ac8952077e (patch)
tree436815586f73a0d1ceec35e4c5df70ca1933f843 /remoting
parent17119d9a47d12d3371f5c6955b1d8463ffce6c9e (diff)
downloadchromium_src-d2ab6eceef40086817c7af124fcaa1ac8952077e.zip
chromium_src-d2ab6eceef40086817c7af124fcaa1ac8952077e.tar.gz
chromium_src-d2ab6eceef40086817c7af124fcaa1ac8952077e.tar.bz2
Align 'remember PIN' checkbox with PIN entry field.
Review URL: https://chromiumcodereview.appspot.com/21290003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216060 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r--remoting/webapp/main.css6
-rw-r--r--remoting/webapp/main.html55
2 files changed, 40 insertions, 21 deletions
diff --git a/remoting/webapp/main.css b/remoting/webapp/main.css
index 43028fe..be9a3fb 100644
--- a/remoting/webapp/main.css
+++ b/remoting/webapp/main.css
@@ -291,7 +291,7 @@ section {
}
.centered {
- text-align: center;
+ margin: auto;
}
.button-row {
@@ -646,6 +646,10 @@ html.apps-v2.scrollable {
display: none;
}
+#remember-pin {
+ width: 315px;
+}
+
#session-mode {
position: absolute;
box-shadow: 0 0 8px 0 black;
diff --git a/remoting/webapp/main.html b/remoting/webapp/main.html
index 15a0a7b..0013468 100644
--- a/remoting/webapp/main.html
+++ b/remoting/webapp/main.html
@@ -529,27 +529,42 @@ found in the LICENSE file.
<div id="pin-message"
i18n-content="PIN_MESSAGE"
class="message"></div>
- <form id="pin-form" action="" class="centered">
- <label for="pin-entry"
- i18n-content="PIN"
- class="editbox-label"></label>
- <input id="pin-entry"
- type="password"
- autofocus="autofocus"
- autocomplete="off"/>
- <button id="connect-button"
- type="submit"
- i18n-content="CONNECT_BUTTON">
- </button>
- <button id="cancel-pin-entry-button"
- type="button"
- i18n-content="CANCEL">
- </button>
+ <form id="pin-form" action="">
+ <table class="centered">
+ <tr>
+ <td>
+ <label for="pin-entry"
+ i18n-content="PIN"
+ class="editbox-label"></label>
+ </td>
+ <td>
+ <input id="pin-entry"
+ type="password"
+ autofocus="autofocus"
+ autocomplete="off"/>
+ <button id="connect-button"
+ type="submit"
+ i18n-content="CONNECT_BUTTON">
+ </button>
+ <button id="cancel-pin-entry-button"
+ type="button"
+ i18n-content="CANCEL">
+ </button>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <!-- Empty cell to align the checkbox and PIN entry. -->
+ </td>
+ <td>
+ <label id="remember-pin" class="checkbox-label">
+ <input id="remember-pin-checkbox" type="checkbox">
+ <span i18n-content="REMEMBER_PIN"></span>
+ </label>
+ </td>
+ </tr>
+ </table>
</form>
- <label id="remember-pin" class="checkbox-label">
- <input id="remember-pin-checkbox" type="checkbox">
- <span i18n-content="REMEMBER_PIN"></span>
- </label>
<div id="startup-mode-box-me2me"
class="information-box centered"
hidden>