TagSpaces is an offline, open source, document manager with tagging support
migrating back to classic checkboxes
uggrock4aef1cab8aa9
diff --git a/data/templates/OptionsDialog.html b/data/templates/OptionsDialog.htmlindex d80f2f5c9..6a130b470 100644--- a/data/templates/OptionsDialog.html+++ b/data/templates/OptionsDialog.html@@ -17,7 +17,7 @@<li><a href="#filetypes" data-toggle="tab" class="optionsTitle" data-i18n="ns.dialogs:fileTypeTab"></a></li><li><a href="#keyBindings" data-toggle="tab" class="optionsTitle" data-i18n="ns.dialogs:keyBindingsTab"></a></li></ul>- <div class="tab-content" style="min-height: 300px; max-height: 500px; overflow-y: auto;">+ <div class="tab-content" style="min-height: 300px; max-height: 500px; overflow-y: auto; overflow-x: hidden;"><div class="tab-pane active" id="general" style="height: 100%;"><div class='form-group'><button class="btn btn-default" id="exportTagGroupsButton" aria-hidden="true">@@ -29,101 +29,69 @@<span data-i18n="ns.dialogs:restoreDefaulSettingButton"></span></button></div>- <div class='form-group'>+ <div class="form-group"><label for='languagesList'>Interface Language</label><select class='form-control' id='languagesList'></select><p class="help-block" data-i18n="ns.dialogs:switchLanguageHelp"></p></div>- <div class='form-group row' style="margin: 15px 0 0 0;">- <div class="col-sm-2">- <div class="onoffswitch">- <input type="checkbox" name="onoffswitch" class="onoffswitch-checkbox" id="showHiddenFilesCheckbox" checked>- <label class="onoffswitch-label" for="showHiddenFilesCheckbox">- <span class="onoffswitch-inner"></span>- <span class="onoffswitch-switch"></span>- </label>- </div>+ <div class="form-group">+ <div class="col-sm-12 checkbox">+ <label for="showHiddenFilesCheckbox" >+ <input type="checkbox" id="showHiddenFilesCheckbox" />+ <span data-i18n="ns.dialogs:showUnixHiddenFiles"></span>+ </label></div>- <div class="col-sm-9" style="margin-top: 0px;" data-i18n="ns.dialogs:showUnixHiddenFiles"></div></div>- <div class='form-group row' style="margin: 15px 0 0 0;">- <div class="col-sm-2">- <div class="onoffswitch">- <input type="checkbox" name="onoffswitch" class="onoffswitch-checkbox" id="checkforUpdatesCheckbox" checked>- <label class="onoffswitch-label" for="checkforUpdatesCheckbox">- <span class="onoffswitch-inner"></span>- <span class="onoffswitch-switch"></span>- </label>- </div>+ <div class="form-group">+ <div class="col-sm-12 checkbox">+ <label for="checkforUpdatesCheckbox" >+ <input type="checkbox" id="checkforUpdatesCheckbox" />+ <span data-i18n="ns.dialogs:checkForNewVersion"></span>+ </label></div>- <div class="col-sm-9" style="margin-top: 0;" data-i18n="ns.dialogs:checkForNewVersion"></div></div>- <div class='form-group row' style="margin: 15px 0 0 0;">- <div class="col-sm-2">- <div class="onoffswitch">- <input type="checkbox" name="onoffswitch" class="onoffswitch-checkbox" id="showMainMenuCheckbox" checked>- <label class="onoffswitch-label" for="showMainMenuCheckbox">- <span class="onoffswitch-inner"></span>- <span class="onoffswitch-switch"></span>- </label>- </div>+ <div class="form-group">+ <div class="col-sm-12 checkbox">+ <label for="showMainMenuCheckbox" >+ <input type="checkbox" id="showMainMenuCheckbox" />+ <span data-i18n="ns.dialogs:showMainMenu"></span>+ </label></div>- <div class="col-sm-9" style="margin-top: 0;" data-i18n="ns.dialogs:showMainMenu"></div></div>- <div class='form-group row' style="margin: 15px 0 0 0;">- <div class="col-sm-2">- <div class="onoffswitch">- <input type="checkbox" name="onoffswitch" class="onoffswitch-checkbox" id="useDefaultLocationCheckbox" checked>- <label class="onoffswitch-label" for="useDefaultLocationCheckbox">- <span class="onoffswitch-inner"></span>- <span class="onoffswitch-switch"></span>- </label>- </div>+ <div class="form-group">+ <div class="col-sm-12 checkbox">+ <label for="useDefaultLocationCheckbox" >+ <input type="checkbox" id="useDefaultLocationCheckbox" />+ <span data-i18n="ns.dialogs:useDefaultLocation"></span>+ </label></div>- <div class="col-sm-9" style="margin-top: 0;" data-i18n="ns.dialogs:useDefaultLocation"></div></div></div>{{#if isProVersion}}<div class="tab-pane active" id="pro" style="height: 100%;">- <div class='form-group row' style="margin: 15px 0 0 0;">- <div class="col-sm-2">- <div class="onoffswitch">- <input type="checkbox" name="onoffswitch" class="onoffswitch-checkbox" id="writeMetaToSidecarFile" checked>- <label class="onoffswitch-label" for="writeMetaToSidecarFile">- <span class="onoffswitch-inner"></span>- <span class="onoffswitch-switch"></span>- </label>- </div>+ <div class="form-group">+ <div class="col-sm-12 checkbox">+ <label for="writeMetaToSidecarFile" >+ <input type="checkbox" id="writeMetaToSidecarFile" />+ <span data-i18n="ns.dialogs:writeMetaToSidecarFile"></span>+ </label></div>- <div class="col-sm-9" style="margin-top: 0;" data-i18n="ns.dialogs:writeMetaToSidecarFile"></div></div>- <div class='form-group'>- <div class="col-sm-2">- <div class="onoffswitch">- <input type="checkbox" name="onoffswitch" class="onoffswitch-checkbox" id="loadLocationMetaData" checked>- <label class="onoffswitch-label" for="loadLocationMetaData">- <span class="onoffswitch-inner"></span>- <span class="onoffswitch-switch"></span>- </label>- </div>- </div>- <div class="col-sm-10" style="margin-top: 0;">- <span>Loads location meta data (currently only tag groups)</span><!-- data-i18n="ns.dialogs:loadLocationMetaData" data-i18n="ns.dialogs:loadLocationMetaDataHelp" -->+ <div class="form-group">+ <div class="col-sm-12 checkbox">+ <label for="loadLocationMetaData" >+ <input type="checkbox" id="loadLocationMetaData" />+ <span>Loads location meta data (currently only tag groups)</span>+ </label><p class="help-block">Location metadata file "tsm.json" should be placed in the ".ts "subfolder of the current location. The file format should be the same as the exported tag groups file from the tab 'general'.</p></div></div>- <div class='form-group'>- <div class="col-sm-2">- <div class="onoffswitch">- <input type="checkbox" name="onoffswitch" class="onoffswitch-checkbox" id="calculateTagsCheckbox" checked>- <label class="onoffswitch-label" for="calculateTagsCheckbox">- <span class="onoffswitch-inner"></span>- <span class="onoffswitch-switch"></span>- </label>- </div>- </div>- <div class="col-sm-10" style="margin-top: 0;">- <span data-i18n="ns.dialogs:calculateTag"></span>+ <div class="form-group">+ <div class="col-sm-12 checkbox">+ <label for="calculateTagsCheckbox" >+ <input type="checkbox" id="calculateTagsCheckbox" />+ <span data-i18n="ns.dialogs:calculateTag"></span>+ </label><p class="help-block" data-i18n="ns.dialogs:calculateTagHelp"></p></div></div>