mirror of
https://github.com/45Drives/cockpit-navigator.git
synced 2025-07-29 08:34:50 +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
|
||||
## From Github Release
|
||||
### Ubuntu
|
||||
1. `$ wget https://github.com/45Drives/cockpit-navigator/releases/download/v0.4/cockpit-navigator_0.4.5-1focal_all.deb`
|
||||
1. `# apt install ./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.6-1focal_all.deb`
|
||||
### 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
|
||||
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
|
||||
1. Ensure dependencies are installed: `cockpit`, `python3`, `rsync`, `zip`.
|
||||
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
|
||||
|
||||
* Fix downloading a single file when the contextmenu
|
||||
|
@ -1,5 +1,5 @@
|
||||
Name: cockpit-navigator
|
||||
Version: 0.4.5
|
||||
Version: 0.4.6
|
||||
Release: 1%{?dist}
|
||||
Summary: A File System Browser for Cockpit.
|
||||
License: GPL-3.0+
|
||||
@ -32,6 +32,8 @@ rm -rf %{buildroot}
|
||||
/usr/share/cockpit/navigator/*
|
||||
|
||||
%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
|
||||
- Fix downloading a single file when the contextmenu
|
||||
event target is not the file.
|
||||
|
@ -63,8 +63,9 @@ body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.pf-c-button:disabled[data-theme="dark"] {
|
||||
background-color: var(--border);
|
||||
[data-theme="dark"] .pf-c-button:disabled {
|
||||
background-color: var(--container) !important;
|
||||
border: 1px solid var(--border) !important;
|
||||
}
|
||||
|
||||
.nav-loader-container {
|
||||
|
@ -1484,8 +1484,15 @@ class NavWindow {
|
||||
this.show_selected_properties();
|
||||
document.getElementById("nav-num-dirs").innerText = num_dirs.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.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;
|
||||
}
|
||||
document.getElementById("pwd").disabled = false;
|
||||
this.set_nav_button_state();
|
||||
}
|
||||
|
||||
select_all() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user