Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fixing bootstrap checkbox issue

Iliandc8de8c7b69d
diff --git a/data/index.html b/data/index.html
index 4d1793f8a..8125ba7c7 100644
--- a/data/index.html
+++ b/data/index.html
@@ -182,8 +182,8 @@ can be found in the LICENSE file.
<input type="text" class="form-control" id="searchBox" placeholder="Search" data-i18n="[placeholder]ns.common:searchPlaceholder">
<div class="dropdown-menu" style="width: 300px; padding: 10px; font-size: 13px;" id="searchOptions">
<span class="dropdown-header"><span data-i18n="ns.common:searchOptions">Search Options</span><button type="button" class="close" id="closeSearchOptionButton">×</button></span>
- <div class="form-group">
- <label class="checkbox">
+ <div class="checkbox">
+ <label>
<input type="checkbox" id="includeSubfoldersOption" />&nbsp;<span data-i18n="ns.common:includeSubfoldersInSearch">Include files from the subfolders (by adding questionmark '?' in front of the query)</span>
</label>
</div><br><br>
@@ -349,8 +349,8 @@ can be found in the LICENSE file.
</label>
</div>
</div>
- <div class="form-group">
- <label class="checkbox">
+ <div class="checkbox">
+ <label>
<input type="checkbox" id="tagWithCurrentDate">&nbsp;<span data-i18n="ns.dialogs:tagWithCurrentDate">Tag with current date (e.g. 20131208 for the 8th of December, 2013)</span>
</label>
</div>
@@ -596,10 +596,12 @@ can be found in the LICENSE file.
</div>
<div class="modal-body">
<span id="dialogContent" style="font-weight: bold;"></span>
- <label class="checkbox" id="showThisDialogAgainContainer">
- <input type='checkbox' id='showThisDialogAgain' checked />
- <span data-i18n="ns.common:showThisDialogNextTime">Show this dialog next time.</span>
- </label>
+ <div class="checkbox" id="showThisDialogAgainContainer">
+ <label>
+ <input type="checkbox" id="showThisDialogAgain" checked />
+ <span data-i18n="ns.common:showThisDialogNextTime">Show this dialog next time.</span>
+ </label>
+ </div>
</div>
<div class="modal-footer">
<button id="cancelButton" class="btn" data-dismiss="modal"><i class="fa fa-times fa-lg"></i></button>
diff --git a/data/templates/OptionsDialog.html b/data/templates/OptionsDialog.html
index aee9e3d2a..a93ddc681 100644
--- a/data/templates/OptionsDialog.html
+++ b/data/templates/OptionsDialog.html
@@ -22,14 +22,14 @@
<select class='form-control' id='languagesList'></select>
<p class="help-block" data-i18n="ns.dialogs:switchLanguageHelp">Switching language will fully take effect after restarting the application</p>
</div>
- <div class='form-group col-sm-12'>
- <label class="checkbox">
- <input type='checkbox' id='showHiddenFilesCheckbox'/>
+ <div class='checkbox col-sm-12'>
+ <label>
+ <input type='checkbox' id='showHiddenFilesCheckbox' >
<span data-i18n="ns.dialogs:showUnixHiddenFiles">Show files/directories with a dot(.) in front of the name (e.g. Unix, Linux, OS X hidden files)</span>
</label>
</div>
- <div class='form-group col-sm-12'>
- <label class="checkbox">
+ <div class='checkbox col-sm-12'>
+ <label>
<input type='checkbox' id='checkforUpdatesCheckbox'/>
<span data-i18n="ns.dialogs:checkForNewVersion">Check for new version on startup</span>
</label>
@@ -114,8 +114,8 @@
<label for='extensionsPathInput' data-i18n="ns.dialogs:extensionsFolder">Extensions folder (default value is "ext")</label>
<input type='text' class='form-control' id='extensionsPathInput' data-i18n="[placeholder]ns.dialogs:extensionsFolderPlaceholder"/>
</div>
- <div class='form-group col-sm-12'>
- <label class="checkbox">
+ <div class='checkbox col-sm-12'>
+ <label>
<input type='checkbox' id='calculateTagsCheckbox'/>
<span data-i18n="ns.dialogs:calculateTag">Calculate tags from the current search results</span>
</label>