settings: Format API key link like other forms

(imported from commit 805d3cfffcbd7f1b4274f49b0b6c2c6902b111c2)
This commit is contained in:
Keegan McAllister 2013-04-08 13:15:20 -04:00
parent 3e31646567
commit b6e97541f2
2 changed files with 12 additions and 2 deletions

View File

@ -6,8 +6,13 @@
<hr class="settings_separator invisible">
<div id="api_key_button_box">
<a href="#api-settings" id="api_key_button">Show API key</a>
<div class="form-horizontal" id="api_key_button_box">
<div class="control-group">
<label class="control-label label_for_text">API key</label>
<div class="controls">
<a href="#api-settings" id="api_key_button">(show)</a>
</div>
</div>
</div>
<div id="get_api_key_box">
<p>Please re-enter your password to confirm your identity.</p>

View File

@ -1082,3 +1082,8 @@ table.floating_recipient {
/* Same width as a Bootstrap default text <input> with padding */
width: 220px;
}
/* Override padding-top on form labels when they label only text */
.form-horizontal .label_for_text {
padding-top: 0;
}