diff --git a/README.md b/README.md index 35f2fba..adbaf87 100644 --- a/README.md +++ b/README.md @@ -12,22 +12,23 @@ With no command line use needed, you can: * **Upload files by dragging and dropping**, * **Download files and directories**. -### Browsing Filesystem -![User Interface](doc/ui_root.png) -### Editing Properties -![Edit Preferences](doc/ui_prefs.png) -### Editing Content -![Edit Contents](doc/ui_editor.png) +| Browsing Filesystem | +|---------------------| +| ![User Interface](doc/ui_root.png) | + +| Editing Content | Editing Properties | +|-----------------|--------------------| +| ![Edit Contents](doc/ui_editor.png) | ![Edit Preferences](doc/ui_prefs.png) | # Installation ## From Github Release ### Ubuntu -1. `$ wget https://github.com/45Drives/cockpit-navigator/releases/download/v0.4/cockpit-navigator_0.4.2-1focal_all.deb` -1. `# apt install ./cockpit-navigator_0.4.2-1focal_all.deb` +1. `$ wget https://github.com/45Drives/cockpit-navigator/releases/download/v0.4/cockpit-navigator_0.4.3-1focal_all.deb` +1. `# apt install ./cockpit-navigator_0.4.3-1focal_all.deb` ### EL7 -1. `# yum install https://github.com/45Drives/cockpit-navigator/releases/download/v0.4/cockpit-navigator-0.4.2-1.el7.noarch.rpm` +1. `# yum install https://github.com/45Drives/cockpit-navigator/releases/download/v0.4/cockpit-navigator-0.4.3-1.el7.noarch.rpm` ### EL8 -1. `# dnf install https://github.com/45Drives/cockpit-navigator/releases/download/v0.4/cockpit-navigator-0.4.2-1.el8.noarch.rpm` +1. `# dnf install https://github.com/45Drives/cockpit-navigator/releases/download/v0.4/cockpit-navigator-0.4.3-1.el8.noarch.rpm` ## From Source 1. Ensure dependencies are installed: `cockpit`, `python3`, `rsync`, `zip`. 1. `$ git clone https://github.com/45Drives/cockpit-navigator.git` diff --git a/debian/changelog b/debian/changelog index 92b4327..70cc9b1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +cockpit-navigator (0.4.3-1focal) focal; urgency=medium + + * Add sort options for list view. + * Add search bar to filter items. + * Fix file size error after upload by refreshing after write process exits. + * Fix input of tab characters and copy and pasting in file editor. + + -- Josh Boudreau Tue, 08 Jun 2021 15:11:00 -0300 + cockpit-navigator (0.4.2-1focal) focal; urgency=low * Implement list view. diff --git a/doc/ui_editor.png b/doc/ui_editor.png index 191e411..8942148 100644 Binary files a/doc/ui_editor.png and b/doc/ui_editor.png differ diff --git a/doc/ui_prefs.png b/doc/ui_prefs.png index 724e321..ba11cda 100644 Binary files a/doc/ui_prefs.png and b/doc/ui_prefs.png differ diff --git a/doc/ui_root.png b/doc/ui_root.png index 508eb7e..6c5f66e 100644 Binary files a/doc/ui_root.png and b/doc/ui_root.png differ diff --git a/el/cockpit-navigator.spec b/el/cockpit-navigator.spec index 6d52d36..e8b98c2 100644 --- a/el/cockpit-navigator.spec +++ b/el/cockpit-navigator.spec @@ -1,5 +1,5 @@ Name: cockpit-navigator -Version: 0.4.2 +Version: 0.4.3 Release: 1%{?dist} Summary: A File System Browser for Cockpit. License: GPL-3.0+ @@ -32,6 +32,11 @@ rm -rf %{buildroot} /usr/share/cockpit/navigator/* %changelog +* Tue Jun 08 2021 Josh Boudreau 0.4.3-1 +- Add sort options for list view. +- Add search bar to filter items. +- Fix file size error after upload by refreshing after write process exits. +- Fix input of tab characters and copy and pasting in file editor. * Mon Jun 07 2021 Josh Boudreau 0.4.2-1 - Implement list view. - Fix opening symlinks to files for editing. diff --git a/navigator/navigator.css b/navigator/navigator.css index aa6c666..f36ba8a 100644 --- a/navigator/navigator.css +++ b/navigator/navigator.css @@ -180,13 +180,33 @@ body::-webkit-scrollbar-thumb { padding-bottom: 0; } +.nav-header { + align-items: baseline; +} + input[type="text"] { background-color: var(--container); color: inherit; - flex-grow: 1; padding: 0.25em 1em 0.25em 1em; border: 1px solid var(--border); border-radius: 4px; + min-width: 30px; +} + +.navigation-bar { + flex-basis: 0; + flex-grow: 5; +} + +.search-bar { + flex-basis: 0; + flex-grow: 2; +} + +.search-bar + i { + position: relative; + right: 30px; + width: 0; } .inner-container { @@ -275,6 +295,20 @@ input[type="text"] { .contents-view-list-header { background-color: var(--list-view-header); cursor: default !important; + position: sticky; + top: 0; + z-index: 10; +} + +.contents-view-list-header > div { + cursor: pointer; + position: relative; +} + +.contents-view-list-header > div > i { + position: absolute; + right: 10px; + top: 0.25em; } .contents-view-list > .nav-item { diff --git a/navigator/navigator.html b/navigator/navigator.html index 4689cb3..5df2ad9 100644 --- a/navigator/navigator.html +++ b/navigator/navigator.html @@ -37,7 +37,7 @@
-
+