diff --git a/README.md b/README.md index c874524..80403a5 100644 --- a/README.md +++ b/README.md @@ -19,16 +19,16 @@ With no command line use needed, you can: # Installation ## From Github Release ### Ubuntu -1. `$ wget https://github.com/45Drives/cockpit-navigator/releases/download/v0.1.0/cockpit-navigator_0.1.0-1focal_all.deb` -1. `# apt install ./cockpit-navigator_0.1.0-1focal_all.deb` +1. `$ wget https://github.com/45Drives/cockpit-navigator/releases/download/v0.2.0/cockpit-navigator_0.2.0-1focal_all.deb` +1. `# apt install ./cockpit-navigator_0.2.0-1focal_all.deb` ### EL7 -1. `# yum install https://github.com/45Drives/cockpit-navigator/releases/download/v0.1.0/cockpit-navigator-0.1.0-1.el7.noarch.rpm` +1. `# yum install https://github.com/45Drives/cockpit-navigator/releases/download/v0.2.0/cockpit-navigator-0.2.0-1.el7.noarch.rpm` ### EL8 -1. `# dnf install https://github.com/45Drives/cockpit-navigator/releases/download/v0.1.0/cockpit-navigator-0.1.0-1.el8.noarch.rpm` +1. `# dnf install https://github.com/45Drives/cockpit-navigator/releases/download/v0.2.0/cockpit-navigator-0.2.0-1.el8.noarch.rpm` ## From Source 1. `$ git clone https://github.com/45Drives/cockpit-navigator.git` 1. `$ cd cockpit-navigator` -1. `$ git checkout ` (v0.1.0 is latest) +1. `$ git checkout ` (v0.2.0 is latest) 1. `# make install` ## From 45Drives Repositories ### Ubuntu diff --git a/debian/changelog b/debian/changelog index 0ea640b..77ddd1b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,15 @@ +cockpit-navigator (0.2.0-1focal) focal; urgency=medium + + * Allow for batch editing permissions and deletion by + holding shift or control while clicking to select multiple + entries. + * Add custom right click menu. + + -- Josh Boudreau Tue, 01 Jun 2021 13:46:00 -0300 + + cockpit-navigator (0.1.0-1focal) focal; urgency=medium * Initial packaging of cockpit-navigator for Ubuntu Focal. - -- Josh Boudreau Fri, 28 May 2021 3:58:00 -0300 + -- Josh Boudreau Fri, 28 May 2021 15:58:00 -0300 diff --git a/el/cockpit-navigator.spec b/el/cockpit-navigator.spec index 23521a1..4d93d40 100644 --- a/el/cockpit-navigator.spec +++ b/el/cockpit-navigator.spec @@ -1,5 +1,5 @@ Name: cockpit-navigator -Version: 0.1.0 +Version: 0.2.0 Release: 1%{?dist} Summary: A File System Browser for Cockpit. License: GPL-3.0+ @@ -32,5 +32,10 @@ rm -rf %{buildroot} /usr/share/cockpit/navigator/* %changelog +* Tue Jun 01 2021 Josh Boudreau 0.2.0-1 +- Allow for batch editing permissions and deletion by + holding shift or control while clicking to select multiple + entries. +- Add custom right click menu. * Fri May 28 2021 Josh Boudreau 0.1.0-1 - First Build diff --git a/navigator/navigator.css b/navigator/navigator.css index e828bcf..8257a23 100644 --- a/navigator/navigator.css +++ b/navigator/navigator.css @@ -127,6 +127,15 @@ body::-webkit-scrollbar-thumb { border: 3px solid var(--scrollbar-bg); } +.no-select { + -webkit-touch-callout: none; /* iOS Safari */ + -webkit-user-select: none; /* Safari */ + -khtml-user-select: none; /* Konqueror HTML */ + -moz-user-select: none; /* Old versions of Firefox */ + -ms-user-select: none; /* Internet Explorer/Edge */ + user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */ +} + .flex-row { display: flex; flex-direction: row; @@ -153,7 +162,7 @@ body::-webkit-scrollbar-thumb { margin-bottom: 1em; } -.spacer-stretchy { +.flex-grow { flex-grow: 1; } @@ -262,7 +271,6 @@ input[type="text"] { } .nav-info-column-filename { - flex: 1; margin: 0 12px 0 12px; font-weight: bolder; font-size: 150%; @@ -318,6 +326,20 @@ input[type="text"] { padding-left: 50%; } +#selected-files-list-header { + margin-left: 12px; + font-weight: bold; +} + +#selected-files-list { + margin-left: 12px; +} + +.monospace-sm { + font-family: 'Courier New', Courier, monospace; + font-size: 80%; +} + .nav-btn-group { display: flex; flex-flow: row nowrap; @@ -447,3 +469,19 @@ input:checked + .slider:before { top: -10%; left: -30%; } + +.nav-context-menu { + position: absolute; + background-color: var(--container); + border: 1px solid var(--border); + color: var(--font); +} + +.nav-context-menu-item { + padding: 0 12px 0 12px; + cursor: pointer; +} + +.nav-context-menu-item:hover { + background-color: var(--border); +} diff --git a/navigator/navigator.html b/navigator/navigator.html index 6af6628..8a35c21 100644 --- a/navigator/navigator.html +++ b/navigator/navigator.html @@ -77,8 +77,8 @@
-