Commit f31cc7e3 authored by Sascha Pfeiffer's avatar Sascha Pfeiffer

changed default behavior for clicks on secrets

Signed-off-by: default avatarSascha Pfeiffer <sascha.pfeiffer@psono.com>
parent af136d8b
......@@ -47,7 +47,7 @@ h1, h2 {
.navigations li .navigationitem {
text-decoration: none;
display: inline-block;
padding: 10px 50px 10px 10px;
padding: 10px 100px 10px 10px;
width: 100%; }
.navigations .dropdown-button-menu {
right: 0;
......@@ -81,6 +81,10 @@ h1, h2 {
border-color: #2dbb93; }
.dark .form-control:focus {
border-color: #2dbb93; }
.dark .navigations .node-open-link {
position: absolute;
right: 50px;
top: 3px; }
.dark .navigations .dropdown {
position: absolute;
right: 3px;
......@@ -126,7 +130,7 @@ h1, h2 {
.tree .tree-folder .tree-folder-header {
height: 34px;
line-height: 34px;
padding-right: 50px;
padding-right: 100px;
color: #151f2b; }
.tree .tree-item a,
.tree .tree-folder .tree-folder-header a {
......@@ -144,6 +148,10 @@ h1, h2 {
position: absolute;
right: 5px;
top: 5px; }
.tree .node-open-link {
position: absolute;
right: 50px;
top: 5px; }
.tree .dropdown-button-menu {
right: 0;
left: auto; }
......
......@@ -44,7 +44,12 @@
<hr>
<ul class="navigations">
<li ng-repeat="searchEntry in datastore.filteredSearcArray = (searchArray | filter:filterBySearch)">
<a href="#" class="navigationitem" ng-click="on_item_click(searchEntry)">{{ searchEntry.name }}</a>
<a href="#" class="navigationitem" ng-click="edit_item(searchEntry)">{{ searchEntry.name }}</a>
<span class="node-open-link">
<a href="#" class="btn btn-default" ng-click="on_item_click(searchEntry)">
<i class="fa fa-external-link"></i>
</a>
</span>
<span class="node-dropdown dropdown" uib-dropdown="" on-toggle="toggled(open, 'drop_node_' + node.id)">
<a class="btn btn-default dropdown-toggle" href="#" role="button"
id="drop_node_{{searchEntry.key}}" uib-dropdown-toggle=""
......
......@@ -638,7 +638,12 @@
'<i ng-if="item.share_id" class="fa fa-group fa-stack-2x is-shared"></i>' +
'</span>' +
'<span class="tree-item-name">' +
' <a href="#" ng-click="clickItem(item, $event)">{{ item.' + displayProperty + ' }}</a>' +
' <a href="#" ng-click="editItem(item, $event)">{{ item.' + displayProperty + ' }}</a>' +
'</span>' +
'<span class="node-open-link">' +
'<a href="#" class="btn btn-default" ng-click="clickItem(item, $event)">' +
' <i class="fa fa-external-link"></i>' +
'</a>' +
'</span>' +
'<span class="node-dropdown" uib-dropdown on-toggle="toggled(open, \'drop_item_\' + item.id)">' +
'<a class="btn btn-default editbutton" href="#" role="button" id="drop_item_{{item.id}}" uib-dropdown-toggle>' +
......
......@@ -62,7 +62,7 @@ h1, h2 {
li .navigationitem {
text-decoration: none;
display: inline-block;
padding: 10px 50px 10px 10px;
padding: 10px 100px 10px 10px;
width: 100%;
}
.dropdown-button-menu {
......@@ -113,6 +113,12 @@ h1, h2 {
border-color: $dark-hightlight-color;
}
.navigations {
.node-open-link {
position: absolute;
right: 50px;
top: 3px;
}
.dropdown {
position: absolute;
right: 3px;
......@@ -176,7 +182,7 @@ h1, h2 {
.tree-folder .tree-folder-header {
height: 34px;
line-height: 34px;
padding-right: 50px;
padding-right: 100px;
color: $tree-fonts-color;
a {
color: $tree-fonts-color;
......@@ -203,6 +209,11 @@ h1, h2 {
right: 5px;
top: 5px;
}
.node-open-link {
position: absolute;
right: 50px;
top: 5px;
}
.dropdown-button-menu {
right: 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment