Skip to content

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

exchaning the caret with ellipsis icon for context menus

uggrockf5de467932c3
diff --git a/data/ext/perspectiveGrid/perspectiveUI.js b/data/ext/perspectiveGrid/perspectiveUI.js
index 33f700ec6..8a4ea12f8 100644
--- a/data/ext/perspectiveGrid/perspectiveUI.js
+++ b/data/ext/perspectiveGrid/perspectiveUI.js
@@ -60,7 +60,7 @@ define(function(require, exports, module) {
'<button class="btn btn-link fileTileSelector" filepath="{{filepath}}"><i class="fa {{selected}} fa-lg"></i> <span class="fileExtTile">{{fileext}}</span></button>' +
'<div class="tagsInFileTile">' +
'{{#each tags}}' +
- '<button class="btn btn-sm tagButton fileTagsTile" tag="{{tag}}" filepath="{{filepath}}" style="{{style}}">{{tag}} <span class="caret"></span></button>' +
+ '<button class="btn btn-sm tagButton fileTagsTile" tag="{{tag}}" filepath="{{filepath}}" style="{{style}}">{{tag}}<!-- <span class="fa fa-ellipsis-v"></span--></button>' +
'{{/each}}' +
'</div>' +
'<div class="titleInFileTile">{{title}}</div>' +
@@ -229,13 +229,13 @@ define(function(require, exports, module) {
});
// Init Tag Context Menus
- this.viewContainer.on("contextmenu click", ".tagButton", function() {
+ /*this.viewContainer.on("contextmenu click", ".tagButton", function() {
TSCORE.hideAllDropDownMenus();
self.selectFile($(this).attr("filepath"));
TSCORE.openTagMenu(this, $(this).attr("tag"), $(this).attr("filepath"));
TSCORE.showContextMenu("#tagMenu", $(this));
return false;
- });
+ });*/
this.initFileGroupingMenu();
diff --git a/data/ext/perspectiveList/perspectiveUI.js b/data/ext/perspectiveList/perspectiveUI.js
index 328fe618f..3de71cc44 100644
--- a/data/ext/perspectiveList/perspectiveUI.js
+++ b/data/ext/perspectiveList/perspectiveUI.js
@@ -405,10 +405,10 @@ define(function(require, exports, module) {
};
var buttonCompTmpl = Handlebars.compile('<button filepath="{{filepath}}" class="btn btn-link fileSelection"><i class="fa {{selected}} fa-fw fa-lg"></i></button><br>' +
- '<button filepath="{{filepath}}" title="{{filepath}}" class="btn btn-link fileTitleButton"><span class="fileExt"><span>{{fileext}}</span>&nbsp;<span class="caret white-caret"></span></span></button>');
+ '<button filepath="{{filepath}}" title="{{filepath}}" class="btn btn-link fileTitleButton"><span class="fileExt"><span>{{fileext}}</span>&nbsp;&nbsp;<span class="fa fa-ellipsis-v"></span></span></button>');
var buttonCompTmbTmpl = Handlebars.compile('<button filepath="{{filepath}}" class="btn btn-link fileSelection"><i class="fa {{selected}} fa-fw fa-lg"></i></button><br>' +
- '<button filepath="{{filepath}}" title="{{filepath}}" class="btn btn-link fileTitleButton"><span class="fileExt"><span>{{fileext}}</span>&nbsp;<span class="caret white-caret"></span></span></button>' +
+ '<button filepath="{{filepath}}" title="{{filepath}}" class="btn btn-link fileTitleButton"><span class="fileExt"><span>{{fileext}}</span>&nbsp;&nbsp;<span class="fa fa-ellipsis-v"></span></span></button>' +
'<br><img class="thumbImg" filepath="{{tmbpath}}" >');
// Helper function user by basic and search views
diff --git a/data/index.html b/data/index.html
index 6eef70ada..0986f62da 100644
--- a/data/index.html
+++ b/data/index.html
@@ -248,7 +248,7 @@
<div class="btn-group" style="min-width: 50px;">
<button id="fileMenuButton" class="btn btn-link dropdown-toggle" data-toggle="dropdown">
<span class="fileExt" data-i18n="[title]ns.common:fileOperations">
- <span id="fileExtText"></span><span style="margin-left: 5px;" class="caret white-caret"></span>
+ <span id="fileExtText"></span><span style="margin-left: 5px;" class="fa fa-ellipsis-v"></span>
</span>
</button>
<ul class="dropdown-menu">
@@ -279,10 +279,10 @@
<i class="fa fa-trash-o fa-fw"></i>
&nbsp;<span data-i18n="ns.common:deleteFile"></span>
<span class="pull-right label label-default keyShortcut">Del</span></a></li>
- <li class="noWrap"><a id="closeFile" data-i18n="[title]ns.common:closeFileTooltip">
+ <!--li class="noWrap"><a id="closeFile" data-i18n="[title]ns.common:closeFileTooltip">
<i class="fa fa-times fa-fw"></i>
&nbsp;<span data-i18n="ns.common:closeFile"></span>
- <span class="pull-right label label-default keyShortcut">Esc</span></a></li>
+ <span class="pull-right label label-default keyShortcut">Esc</span></a></li-->
<li class="divider"></li>
<li><a id="openFileInNewWindow" data-i18n="[title]ns.common:openFileNewWindowTooltip">
<i class="fa fa-external-link-square fa-fw"></i>
diff --git a/data/js/tags.ui.js b/data/js/tags.ui.js
index 21dc954a0..a390473b0 100644
--- a/data/js/tags.ui.js
+++ b/data/js/tags.ui.js
@@ -38,7 +38,7 @@ define(function(require, exports, module) {
'<span class="{{icon}}" /> ' +
'{{title}}' +
'{{#if count}} [{{count}}]{{/if}}' +
- ' <span class="caret"></span>' +
+ '&nbsp;&nbsp;<span class="fa fa-ellipsis-v"></span>' +
'</a>' +
'{{/each}}' +
'</div>' +
@@ -399,7 +399,7 @@ define(function(require, exports, module) {
TSCORE.selectedFiles.push(filePath);
TSCORE.selectedTag = tag;
}
- var tagButtonTmpl = Handlebars.compile('{{#each tags}} <button class="btn btn-sm tagButton" tag="{{tag}}" ' + 'filepath="{{filepath}}" style="{{style}}">{{tag}} <span class="caret"></span></button>{{/each}}');
+ var tagButtonTmpl = Handlebars.compile('{{#each tags}} <button class="btn btn-sm tagButton" tag="{{tag}}" ' + 'filepath="{{filepath}}" style="{{style}}">{{tag}}&nbsp;&nbsp;<span class="fa fa-ellipsis-v"></span></button>{{/each}}');
// Helper function generating tag buttons
function generateTagButtons(commaSeparatedTags, filePath) {
//console.log("Creating tags...");