117 lines
5.4 KiB
HTML
117 lines
5.4 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<!--
|
|
Cockpit Samba Manager - Cockpit plugin for managing Samba.
|
|
Copyright (C) 2021 Josh Boudreau <jboudreau@45drives.com>
|
|
|
|
This file is part of Cockpit Samba Manager.
|
|
Cockpit Samba Manager is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
Cockpit Samba Manager is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
You should have received a copy of the GNU General Public License
|
|
along with Cockpit Samba Manager. If not, see <https://www.gnu.org/licenses/>.
|
|
-->
|
|
<html lang="en">
|
|
<head>
|
|
<title>Navigator</title>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
<link href="../base1/cockpit.css" type="text/css" rel="stylesheet">
|
|
<link href="navigator.css" type="text/css" rel="stylesheet">
|
|
<link href="fontawesome/css/all.min.css" rel="stylesheet">
|
|
<script src="../base1/cockpit.js"></script>
|
|
<script src="../manifests.js"></script>
|
|
<script src="../*/po.js"></script>
|
|
<script defer src="navigator.js"></script>
|
|
</head>
|
|
<body>
|
|
<div class="flex-col outer-container">
|
|
<div class="flex-row">
|
|
<div class="nav-btn-group">
|
|
<button class="pf-c-button pf-m-secondary" id="nav-back-btn"><i class="fas fa-arrow-left"></i></button>
|
|
<div class="horizontal-spacer"></div>
|
|
<button class="pf-c-button pf-m-secondary" id="nav-forward-btn"><i class="fas fa-arrow-right"></i></button>
|
|
<div class="horizontal-spacer"></div>
|
|
<button class="pf-c-button pf-m-secondary" id="nav-up-dir-btn"><i class="fas fa-arrow-up"></i></button>
|
|
<div class="horizontal-spacer"></div>
|
|
<button class="pf-c-button pf-m-secondary" id="nav-refresh-btn"><i class="fas fa-sync"></i></button>
|
|
</div>
|
|
<div class="horizontal-spacer"></div>
|
|
<div class="navigation-bar" id="pwd">
|
|
/current/dir
|
|
</div>
|
|
<div class="horizontal-spacer"></div>
|
|
<button class="pf-c-button pf-m-primary" id="nav-mkdir-btn"><i class="fas fa-folder-plus"></i></button>
|
|
<div class="horizontal-spacer"></div>
|
|
<button class="pf-c-button pf-m-primary" id="nav-touch-btn"><i class="fas fa-file-medical"></i></button>
|
|
</div>
|
|
<div class="vertical-spacer"></div>
|
|
<div class="flex-row inner-container">
|
|
<div class="contents-view" id="nav-contents-view"></div>
|
|
<div class="horizontal-spacer"></div>
|
|
<div class="nav-info-column" id="nav-info-column">
|
|
<div id="nav-show-properties">
|
|
<div class="flex-row space-between">
|
|
<div class="nav-info-column-filename"></div>
|
|
<div class="nav-btn-group">
|
|
<button class="pf-c-button pf-m-danger" id="nav-delete-btn"><i class="fas fa-trash-alt"></i></button>
|
|
<div class="horizontal-spacer"></div>
|
|
<button class="pf-c-button pf-m-primary" id="nav-edit-properties-btn"><i class="fas fa-edit"></i></button>
|
|
</div>
|
|
</div>
|
|
<div class="nav-info-column-properties" id="nav-info-column-properties"></div>
|
|
</div>
|
|
<div class="nav-hidden" id="nav-edit-properties">
|
|
<div class="nav-info-column-filename"></div>
|
|
<div class="nav-property-pair">
|
|
<span class="nav-property-pair-key">Name</span>
|
|
<input type="text" class="nav-property-pair-value" id="nav-edit-filename"></input>
|
|
</div>
|
|
<div class="nav-property-pair">
|
|
<span class="nav-property-pair-key">Owner</span>
|
|
<input type="text" class="nav-property-pair-value" id="nav-edit-owner"></input>
|
|
</div>
|
|
<div class="nav-property-pair">
|
|
<span class="nav-property-pair-key">Group</span>
|
|
<input type="text" class="nav-property-pair-value" id="nav-edit-group"></input>
|
|
</div>
|
|
<div class="nav-property-pair">
|
|
<span class="nav-property-pair-key">Mode</span>
|
|
<span class="nav-property-pair-value" id="nav-mode-preview"></span>
|
|
</div>
|
|
<div class="grid-container">
|
|
<div></div>
|
|
<div class="grid-label">Read</div>
|
|
<div class="grid-label">Write</div>
|
|
<div class="grid-label">Execute</div>
|
|
<div class="grid-label">Owner</div>
|
|
<input type="checkbox" class="mode-checkbox" id="owner-read"></input>
|
|
<input type="checkbox" class="mode-checkbox" id="owner-write"></input>
|
|
<input type="checkbox" class="mode-checkbox" id="owner-exec"></input>
|
|
<div class="grid-label">Group</div>
|
|
<input type="checkbox" class="mode-checkbox" id="group-read"></input>
|
|
<input type="checkbox" class="mode-checkbox" id="group-write"></input>
|
|
<input type="checkbox" class="mode-checkbox" id="group-exec"></input>
|
|
<div class="grid-label">Other</div>
|
|
<input type="checkbox" class="mode-checkbox" id="other-read"></input>
|
|
<input type="checkbox" class="mode-checkbox" id="other-write"></input>
|
|
<input type="checkbox" class="mode-checkbox" id="other-exec"></input>
|
|
</div>
|
|
<div class="vertical-spacer"></div>
|
|
<div class="nav-btn-group">
|
|
<button class="pf-c-button pf-m-danger" id="nav-cancel-edit-btn">Cancel</button>
|
|
<div class="horizontal-spacer"></div>
|
|
<button class="pf-c-button pf-m-primary" id="nav-apply-edit-btn">Apply</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|