Merge pull request #392 from Sqozz/improve-connection-form
Put the port input sideways the host input.
This commit is contained in:
commit
9c59114e00
2 changed files with 25 additions and 2 deletions
|
@ -104,6 +104,20 @@ input[type=text], input[type=password], #sendMessage, .badge {
|
||||||
color: #ccc;
|
color: #ccc;
|
||||||
box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.1), 0px 1px 7px 0px rgba(0, 0, 0, 0.8) inset;
|
box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.1), 0px 1px 7px 0px rgba(0, 0, 0, 0.8) inset;
|
||||||
background: none repeat scroll 0% 0% rgba(0, 0, 0, 0.3);
|
background: none repeat scroll 0% 0% rgba(0, 0, 0, 0.3);
|
||||||
|
margin-bottom: 5px !important;
|
||||||
|
}
|
||||||
|
.input-group {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.row {
|
||||||
|
margin: 0px;
|
||||||
|
max-width: 300px;
|
||||||
|
}
|
||||||
|
.no-gutter [class*="col"] {
|
||||||
|
padding: 0px
|
||||||
|
}
|
||||||
|
.col-sm-9 {
|
||||||
|
padding-right: 5px !important;
|
||||||
}
|
}
|
||||||
.glyphicon {
|
.glyphicon {
|
||||||
top: 0; /* Fixes alignment issue in top bar */
|
top: 0; /* Fixes alignment issue in top bar */
|
||||||
|
@ -608,4 +622,7 @@ h2 span, h2 small {
|
||||||
width: 5px;
|
width: 5px;
|
||||||
height: 5px;
|
height: 5px;
|
||||||
}
|
}
|
||||||
|
.col-sm-9 {
|
||||||
|
padding-right: 0px !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,9 +60,15 @@
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="control-label" for="host">WeeChat relay hostname and port number</label>
|
<label class="control-label" for="host">WeeChat relay hostname and port number</label>
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
|
<div class="row no-gutter">
|
||||||
|
<div class="col-sm-9">
|
||||||
<input type="text" class="form-control favorite-font" id="host" ng-model="host" placeholder="Address" >
|
<input type="text" class="form-control favorite-font" id="host" ng-model="host" placeholder="Address" >
|
||||||
|
</div>
|
||||||
|
<div class="col-sm-3">
|
||||||
<input type="text" class="form-control favorite-font" id="port" ng-model="port" placeholder="Port">
|
<input type="text" class="form-control favorite-font" id="port" ng-model="port" placeholder="Port">
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<label class="control-label" for="password">WeeChat relay password</label>
|
<label class="control-label" for="password">WeeChat relay password</label>
|
||||||
<input type="password" class="form-control favorite-font" id="password" ng-model="password" placeholder="Password">
|
<input type="password" class="form-control favorite-font" id="password" ng-model="password" placeholder="Password">
|
||||||
<div class="alert alert-danger" ng-show="passwordError">
|
<div class="alert alert-danger" ng-show="passwordError">
|
||||||
|
|
Loading…
Reference in a new issue