add textbox and button for adding new site

This commit is contained in:
Khansa Kiasatina 2020-03-07 10:55:20 -05:00 committed by Martin D Kealey
parent 59e951e5d2
commit 0294fc5344
2 changed files with 18 additions and 0 deletions

View file

@ -1923,6 +1923,19 @@ manage things like container crud */
margin-inline: 4px; margin-inline: 4px;
} }
.edit-container-panel input[type="text"]#edit-container-panel-site-input {
inline-size: 80%;
}
#edit-container-site-link {
block-size: 36px;
background: #ebebeb;
}
#edit-container-site-link:hover {
background: #e3e3e3;
}
input[type="text"]:focus { input[type="text"]:focus {
/* Both a border and box-shadow of 1px are needed because using a 2px border /* Both a border and box-shadow of 1px are needed because using a 2px border
* would redraw the input 1px farther to the left. * would redraw the input 1px farther to the left.

View file

@ -315,6 +315,11 @@
<input type="text" class="proxies" name="country-code" id="country-code-input" maxlength="5" hidden/> <input type="text" class="proxies" name="country-code" id="country-code-input" maxlength="5" hidden/>
<input type="text" class="proxies" name="city-name" id="city-name-input" maxlength="5" hidden/> <input type="text" class="proxies" name="city-name" id="city-name-input" maxlength="5" hidden/>
</fieldset> </fieldset>
<fieldset id="edit-container-panel-add-site">
<legend class="form-header">Add site</legend>
<input type="text" name="site-name" id="edit-container-panel-site-input"/>
<a class="button secondary" id="edit-container-site-link">Add</a>
</fieldset>
</form> </form>
<div id="edit-container-options"> <div id="edit-container-options">
<div class="options-header" data-i18n-message-id="options"></div> <div class="options-header" data-i18n-message-id="options"></div>