mirror of
https://github.com/45Drives/cockpit-navigator.git
synced 2025-09-25 10:48:42 +02:00
style notification and rename write-chunk.py
This commit is contained in:
parent
9917d35982
commit
815032456a
@ -499,18 +499,34 @@ input:checked + .slider:before {
|
|||||||
padding: 5px;
|
padding: 5px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: column-reverse nowrap;
|
flex-flow: column-reverse nowrap;
|
||||||
|
align-items: stretch;
|
||||||
|
max-height: 50%;
|
||||||
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-notification {
|
.nav-notification {
|
||||||
|
margin: 5px;
|
||||||
|
position: relative;
|
||||||
|
display: flex;
|
||||||
|
flex-flow: column nowrap;
|
||||||
|
align-items: stretch;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
flex-grow: 0;
|
flex-grow: 0;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
background-color: var(--container);
|
background-color: var(--container);
|
||||||
border: 1px solid var(--border);
|
border-radius: var(--nav-border-radius);
|
||||||
color: var(--font);
|
color: var(--font);
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-notification-header {
|
.nav-notification-header {
|
||||||
|
position: relative;
|
||||||
|
z-index: 10;
|
||||||
font-size: 120%;
|
font-size: 120%;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nav-notification-header > progress {
|
||||||
|
position: relative;
|
||||||
|
z-index: 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -894,7 +894,7 @@ class FileUpload {
|
|||||||
|
|
||||||
upload() {
|
upload() {
|
||||||
this.make_html_element();
|
this.make_html_element();
|
||||||
this.proc = cockpit.spawn(["/usr/share/cockpit/navigator/scripts/write-chunk.py", this.path], {err: "out", superuser: "try"});
|
this.proc = cockpit.spawn(["/usr/share/cockpit/navigator/scripts/write-chunks.py", this.path], {err: "out", superuser: "try"});
|
||||||
this.proc.fail((e, data) => {
|
this.proc.fail((e, data) => {
|
||||||
window.alert(data);
|
window.alert(data);
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user