TagSpaces is an offline, open source, document manager with tagging support
redesigning the location switcher
uggrockcc568a173808
diff --git a/data/index.html b/data/index.htmlindex 1cb0f6c9e..6eef70ada 100644--- a/data/index.html+++ b/data/index.html@@ -69,10 +69,10 @@</div></div><div class="btn-toolbar">- <div class="btn-group flexLayout" id="locationSwitch">- <button type="button" class="btn btn-default" id="locationName" data-toggle="dropdown">Choose Location</button>- <button type="button" class="btn btn-default dropdown-toggle" id="selectLocation" data-toggle="dropdown">- <span class="caret"></span>+ <div id="locationSwitch">+ <button type="button" class="btn btn-default dropdown-toggle flexLayout fullWidth" id="selectLocation" data-toggle="dropdown">+ <span class="flexMaxWidth" id="locationName">Choose Location</span>+ <span class="fa fa-caret-down" style="padding-top: 5px;"></span></button><ul class="dropdown-menu" id="locationsList"></ul></div>diff --git a/data/js/directories.ui.js b/data/js/directories.ui.jsindex 5cd172b34..be5c7c25c 100644--- a/data/js/directories.ui.js+++ b/data/js/directories.ui.js@@ -68,6 +68,7 @@ define(function(require, exports, module) {);var locationChooserTmpl = Handlebars.compile(+ '<li class="dropdown-header"><button class="close">×</button></li>' +'<li class="flexLayout">' +'<button style="text-align: left;" class="btn btn-link flexMaxWidth" id="createNewLocation">' +'<i class="fa fa-plus"></i> <span data-i18n="[title]ns.common:connectNewLocationTooltip;ns.common:connectNewLocationTooltip">{{connectLocation}}</span>' +