summaryrefslogtreecommitdiff
path: root/htroot
diff options
context:
space:
mode:
authorMichael Peter Christen <mc@yacy.net>2025-08-04 09:39:00 +0900
committerMichael Peter Christen <mc@yacy.net>2025-08-04 09:39:00 +0900
commit5c4541caee95c67049092d40727912d2cef6e609 (patch)
tree1401f92aecc8afe1ed30de530ae2586eb32ee808 /htroot
parentd518dcd8833b8333264f97b92e7da7fef95543bb (diff)
added Index Pack Manager
Diffstat (limited to 'htroot')
-rw-r--r--htroot/IndexPackManager_p.html52
-rw-r--r--htroot/env/templates/submenuIndexImport.template1
2 files changed, 53 insertions, 0 deletions
diff --git a/htroot/IndexPackManager_p.html b/htroot/IndexPackManager_p.html
new file mode 100644
index 000000000..4be78fb4e
--- /dev/null
+++ b/htroot/IndexPackManager_p.html
@@ -0,0 +1,52 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<!-- This page is only XHTML 1.0 Transitional because target is being used in a links -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+#(reload)#::<meta http-equiv="REFRESH" content="5; url=/IndexPackManager_p.html">#(/reload)#
+ <head>
+ <title>YaCy '#[clientname]#': URL Database Administration</title>
+ #%env/templates/metas.template%#
+ </head>
+ <body id="IndexControl">
+ #%env/templates/header.template%#
+ #%env/templates/submenuIndexImport.template%#
+
+ <h2>Index Pack Manager</h2>
+
+
+ <fieldset><legend>Pack Folders</legend>
+ <table class="table table-striped" summary="Packs: Hold List">
+ <thead class="thead-dark">
+ <tr class="TableHeader"><th width="720">Packs: Hold List</th><th width="180">Size (KB)</th><th>Process</th></tr>
+ </thead>
+ <tbody>
+ #{packs-hold}#
+ <tr class="TableCell#(dark)#Light::Dark#(/dark)#"><td>#[file]#</td><td class="text-end">#[size]#</td><td>#[process]#</td></tr>
+ #{/packs-hold}#
+ </tbody>
+ </table>
+
+ <table class="table table-striped" summary="Packs: Load List">
+ <thead class="thead-dark">
+ <tr class="TableHeader"><th width="720">Packs: Load List</th><th width="180">Size (KB)</th><th>Process</th></tr>
+ </thead>
+ <tbody>
+ #{packs-load}#
+ <tr class="TableCell#(dark)#Light::Dark#(/dark)#"><td>#[file]#</td><td class="text-end">#[size]#</td><td>#[process]#</td></tr>
+ #{/packs-load}#
+ </tbody>
+
+ <table class="table table-striped" summary="Packs: Loaded List">
+ <thead class="thead-dark">
+ <tr class="TableHeader"><th width="720">Packs: Loaded List</th><th width="180">Size (KB)</th><th>Process</th></tr>
+ </thead>
+ <tbody>
+ #{packs-loaded}#
+ <tr class="TableCell#(dark)#Light::Dark#(/dark)#"><td>#[file]#</td><td class="text-end">#[size]#</td><td>#[process]#</td></tr>
+ #{/packs-loaded}#
+ </tbody>
+ </table>
+ </fieldset>
+
+ #%env/templates/footer.template%#
+ </body>
+</html>
diff --git a/htroot/env/templates/submenuIndexImport.template b/htroot/env/templates/submenuIndexImport.template
index 8df07e446..5ff6a80f1 100644
--- a/htroot/env/templates/submenuIndexImport.template
+++ b/htroot/env/templates/submenuIndexImport.template
@@ -6,6 +6,7 @@
<h3>Index Packs</h3>
<ul class="SubMenu">
<li><a href="IndexPackGenerator_p.html" class="MenuItemLink #(authorized)#lock::unlock#(/authorized)#">Index Pack Generator</a></li>
+ <li><a href="IndexPackManager_p.html" class="MenuItemLink #(authorized)#lock::unlock#(/authorized)#">Index Pack Manager</a></li>
</ul>
</div>
<div class="SubMenugroup">