Skip to content

Commit

Permalink
Use bootstrap form-control in Settings tab
Browse files Browse the repository at this point in the history
  • Loading branch information
ainzzorl committed Dec 6, 2017
1 parent 3a6c207 commit cae6176
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions css/main-dialog.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,6 @@ body {
margin-left: 5px;
}

#timeout-input-box {
width: 3em;
}

#history-table .count-column {
width: 15px;
}
Expand Down
6 changes: 3 additions & 3 deletions html/settingsTab.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</a>
</label>
<div class="col-xs-6">
<input type="checkbox" ng-model="settings.enablePageStats"/>
<input type="checkbox" class="form-control" ng-model="settings.enablePageStats"/>
</div>
</div>
<div class="form-group row">
Expand All @@ -17,7 +17,7 @@
</a>
</label>
<div class="col-xs-6">
<input type="checkbox" ng-model="settings.enableHighlighting"/>
<input type="checkbox" class="form-control" ng-model="settings.enableHighlighting"/>
</div>
</div>
<div class="form-group row">
Expand All @@ -28,7 +28,7 @@
</a>
</label>
<div class="col-xs-6">
<input id="timeout-input-box" name="timeout" ng-model="settings.timeout" type="number" required/>
<input id="timeout-input-box" name="timeout" class="form-control" ng-model="settings.timeout" type="number" required/>
<div class="form-validation-error">
<div ng-show="settingsForm.timeout.$error.required">Required</div>
<div ng-show="settingsForm.timeout.$error.number">Not valid number</div>
Expand Down

0 comments on commit cae6176

Please sign in to comment.