Disabled settings

This commit is contained in:
Björn Dahlgren 2015-04-03 12:16:19 +02:00
parent 3575cb66e0
commit ae4d326734
2 changed files with 5 additions and 5 deletions

View File

@ -31,7 +31,7 @@ define(function (require) {
settings: function (event) {
event.preventDefault();
var view = new SettingsView();
new Backbone.BootstrapModal({ content: view, animate: true }).open()
new Backbone.BootstrapModal({ content: view, animate: true, cancelText: false }).open();
}
});

View File

@ -2,7 +2,7 @@
<div class="form-group">
<label for="path" class="col-sm-2 control-label">Path</label>
<div class="col-sm-10">
<input type="text" class="form-control path" id="path" data-field="path" placeholder="Path to ArmA3">
<input type="text" class="form-control path" id="path" data-field="path" placeholder="Path to ArmA3" disabled>
</div>
</div>
@ -11,19 +11,19 @@
<div class="col-sm-10">
<div class="radio">
<label>
<input type="radio" name="type" data-field="type" id="type-linux" value="linux">
<input type="radio" name="type" data-field="type" id="type-linux" value="linux" disabled>
Linux
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="type" data-field="type" id="type-windows" value="windows">
<input type="radio" name="type" data-field="type" id="type-windows" value="windows" disabled>
Windows
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="type" data-field="type" id="type-wine" value="wine">
<input type="radio" name="type" data-field="type" id="type-wine" value="wine" disabled>
Wine
</label>
</div>