mirror of
https://github.com/45Drives/cockpit-navigator.git
synced 2025-07-31 01:24:37 +02:00
Merge changes for v0.4.6
This commit is contained in:
commit
7bba66e7cb
@ -23,12 +23,12 @@ With no command line use needed, you can:
|
|||||||
# Installation
|
# Installation
|
||||||
## From Github Release
|
## From Github Release
|
||||||
### Ubuntu
|
### Ubuntu
|
||||||
1. `$ wget https://github.com/45Drives/cockpit-navigator/releases/download/v0.4/cockpit-navigator_0.4.5-1focal_all.deb`
|
1. `$ wget https://github.com/45Drives/cockpit-navigator/releases/download/v0.4/cockpit-navigator_0.4.6-1focal_all.deb`
|
||||||
1. `# apt install ./cockpit-navigator_0.4.5-1focal_all.deb`
|
1. `# apt install ./cockpit-navigator_0.4.6-1focal_all.deb`
|
||||||
### EL7
|
### EL7
|
||||||
1. `# yum install https://github.com/45Drives/cockpit-navigator/releases/download/v0.4/cockpit-navigator-0.4.5-1.el7.noarch.rpm`
|
1. `# yum install https://github.com/45Drives/cockpit-navigator/releases/download/v0.4/cockpit-navigator-0.4.6-1.el7.noarch.rpm`
|
||||||
### EL8
|
### EL8
|
||||||
1. `# dnf install https://github.com/45Drives/cockpit-navigator/releases/download/v0.4/cockpit-navigator-0.4.5-1.el8.noarch.rpm`
|
1. `# dnf install https://github.com/45Drives/cockpit-navigator/releases/download/v0.4/cockpit-navigator-0.4.6-1.el8.noarch.rpm`
|
||||||
## From Source
|
## From Source
|
||||||
1. Ensure dependencies are installed: `cockpit`, `python3`, `rsync`, `zip`.
|
1. Ensure dependencies are installed: `cockpit`, `python3`, `rsync`, `zip`.
|
||||||
1. `$ git clone https://github.com/45Drives/cockpit-navigator.git`
|
1. `$ git clone https://github.com/45Drives/cockpit-navigator.git`
|
||||||
|
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
|||||||
|
cockpit-navigator (0.4.6-1focal) focal; urgency=low
|
||||||
|
|
||||||
|
* Disable navigation buttons when invalid.
|
||||||
|
|
||||||
|
-- Josh Boudreau <jboudreau@45drives.com> Fri, 18 Jun 2021 14:38:00 -0300
|
||||||
|
|
||||||
cockpit-navigator (0.4.5-1focal) focal; urgency=medium
|
cockpit-navigator (0.4.5-1focal) focal; urgency=medium
|
||||||
|
|
||||||
* Fix downloading a single file when the contextmenu
|
* Fix downloading a single file when the contextmenu
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Name: cockpit-navigator
|
Name: cockpit-navigator
|
||||||
Version: 0.4.5
|
Version: 0.4.6
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A File System Browser for Cockpit.
|
Summary: A File System Browser for Cockpit.
|
||||||
License: GPL-3.0+
|
License: GPL-3.0+
|
||||||
@ -32,6 +32,8 @@ rm -rf %{buildroot}
|
|||||||
/usr/share/cockpit/navigator/*
|
/usr/share/cockpit/navigator/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 18 2021 Josh Boudreau <jboudreau@45drives.com> 0.4.6-1
|
||||||
|
- Disable navigation buttons when invalid.
|
||||||
* Thu Jun 17 2021 Josh Boudreau <jboudreau@45drives.com> 0.4.5-1
|
* Thu Jun 17 2021 Josh Boudreau <jboudreau@45drives.com> 0.4.5-1
|
||||||
- Fix downloading a single file when the contextmenu
|
- Fix downloading a single file when the contextmenu
|
||||||
event target is not the file.
|
event target is not the file.
|
||||||
|
@ -63,8 +63,9 @@ body {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pf-c-button:disabled[data-theme="dark"] {
|
[data-theme="dark"] .pf-c-button:disabled {
|
||||||
background-color: var(--border);
|
background-color: var(--container) !important;
|
||||||
|
border: 1px solid var(--border) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-loader-container {
|
.nav-loader-container {
|
||||||
|
@ -1486,6 +1486,13 @@ class NavWindow {
|
|||||||
document.getElementById("nav-num-files").innerText = num_files.toString();
|
document.getElementById("nav-num-files").innerText = num_files.toString();
|
||||||
document.getElementById("nav-num-bytes").innerText = format_bytes(bytes_sum);
|
document.getElementById("nav-num-bytes").innerText = format_bytes(bytes_sum);
|
||||||
this.stop_load();
|
this.stop_load();
|
||||||
|
this.set_nav_button_state();
|
||||||
|
}
|
||||||
|
|
||||||
|
set_nav_button_state() {
|
||||||
|
document.getElementById("nav-back-btn").disabled = (this.path_stack_index === 1);
|
||||||
|
document.getElementById("nav-forward-btn").disabled = (this.path_stack_index === this.path_stack.length - 1);
|
||||||
|
document.getElementById("nav-up-dir-btn").disabled = (this.pwd().path_str() === "/");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -2065,6 +2072,7 @@ class NavWindow {
|
|||||||
button.disabled = false;
|
button.disabled = false;
|
||||||
}
|
}
|
||||||
document.getElementById("pwd").disabled = false;
|
document.getElementById("pwd").disabled = false;
|
||||||
|
this.set_nav_button_state();
|
||||||
}
|
}
|
||||||
|
|
||||||
select_all() {
|
select_all() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user