summaryrefslogtreecommitdiff
path: root/htroot
diff options
context:
space:
mode:
authorMichael Peter Christen <mc@yacy.net>2022-10-23 12:22:31 +0200
committerMichael Peter Christen <mc@yacy.net>2022-10-23 12:22:31 +0200
commit62d177bf59045c2d5bd43a8fbd202efb5290f3de (patch)
tree919cdbeb25e313f0eb9dbc254b812fe712f92ad8 /htroot
parentefa0425f00f3b0cfbacd3dc49f2a51040d57407e (diff)
stub for jsonlist index importer web page
Diffstat (limited to 'htroot')
-rw-r--r--htroot/IndexImportJsonList_p.html56
1 files changed, 56 insertions, 0 deletions
diff --git a/htroot/IndexImportJsonList_p.html b/htroot/IndexImportJsonList_p.html
new file mode 100644
index 000000000..502b0ad73
--- /dev/null
+++ b/htroot/IndexImportJsonList_p.html
@@ -0,0 +1,56 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>YaCy '#[clientname]#': JsonList Import</title>
+ #%env/templates/metas.template%#
+ #(import)#::<meta http-equiv="REFRESH" content="10;url=IndexImportJsonList_p.html" />
+ <!-- the url= removes http get parameters on refresh, preventing restart of import -->
+ #(/import)#
+ </head>
+ <body id="IndexImportJsonList">
+ #%env/templates/header.template%#
+ #%env/templates/submenuIndexImport.template%#
+ <h2>JSON List Index Dump File Import</h2>
+
+ #(import)#
+ <p>No import thread is running, you can start a new thread here</p>
+ <form action="IndexImportJsonList_p.html" method="get" accept-charset="UTF-8">
+ <!-- no post method here, we don't want to transmit the whole file, only the path-->
+ <fieldset>
+ <legend>JsonList File Selection: select an jsonlist file (which may be gz compressed)</legend>
+ <p>
+ You can download jsonlist archives from the <a href="https://searchlab.eu" target="_blank">YaCy Searchlab</a> portal.
+ </p>
+ <dl>
+ <dt class="TableCellDark"><label for="file">File:</label></dt>
+ <dd><input name="file" id="file" type="file" value="" size="75" /></dd>
+ <dt></dt>
+ <dd>or</dd>
+ <dt class="TableCellDark"><label for="url">Url:</label></dt>
+ <dd><input name="url" id="url" value="" size="75"/></dd>
+ <dt></dt>
+ <dd><input name="submit" class="btn btn-primary" type="submit" value="Import JsonList File" /></dd>
+ </dl>
+ </fieldset>
+ </form>
+
+ <br />
+ ::
+ <form>
+ <fieldset><legend>Import Process</legend>
+ <dl>
+ <dt>Thread:</dt><dd>#[thread]#</dd>
+ <dt>JsonList File:</dt><dd>#[jsonlistfile]#</dd>
+ <dt>Processed:</dt><dd>#[count]# Entries</dd>
+ <dt>Speed:</dt><dd>#[speed]# pages per second</dd>
+ <dt>Running Time:</dt><dd>#[runningHours]# hours, #[runningMinutes]# minutes</dd>
+ <dt>Remaining Time:</dt><dd>#[remainingHours]# hours, #[remainingMinutes]# minutes</dd>
+ </dl>
+ </fieldset>
+ <input name="abort" type="submit" class="btn btn-danger" value="Stop"/>
+ </form>
+ #(/import)#
+
+ #%env/templates/footer.template%#
+ </body>
+</html> \ No newline at end of file