summaryrefslogtreecommitdiff
path: root/htroot/Vocabulary_p.html
diff options
context:
space:
mode:
authorluccioman <luccioman@users.noreply.github.com>2018-02-19 11:48:40 +0100
committerluccioman <luccioman@users.noreply.github.com>2018-02-19 11:48:40 +0100
commitb67742336e14f6c9e4e6015fa65c708ca9b143a6 (patch)
tree80978dc0c23566dae8b34071ae940a0dc472fc32 /htroot/Vocabulary_p.html
parentea577632945862af9018df4c299b12bd87f38aff (diff)
Provide user interface messages on vocabulary creation read/write errors
Diffstat (limited to 'htroot/Vocabulary_p.html')
-rw-r--r--htroot/Vocabulary_p.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/htroot/Vocabulary_p.html b/htroot/Vocabulary_p.html
index 13378d043..4eb817cd0 100644
--- a/htroot/Vocabulary_p.html
+++ b/htroot/Vocabulary_p.html
@@ -102,7 +102,15 @@ To see a list of all APIs, please visit the <a href="http://www.yacy-websuche.de
#(create)#::
<form action="Vocabulary_p.html" id="searchform" method="get" accept-charset="UTF-8" >
<fieldset><legend>Vocabulary Production</legend>
-
+ #(csvFileStatus)#
+ ::<div class="alert alert-danger" role="alert">Please provide a CSV file path.</div>
+ ::<div class="alert alert-danger" role="alert">CSV file not found "#[csvPath]#".</div>
+ ::<div class="alert alert-danger" role="alert">Can not read CSV file "#[csvPath]#".</div>
+ ::<div class="alert alert-danger" role="alert">CSV file error : you selected a directory ("#[csvPath]#").</div>
+ #(/csvFileStatus)#
+ #(vocabWriteError)#
+ ::<div class="alert alert-danger" role="alert">Could not write vocabulary file at "#[vocabPath]#".</div>
+ #(/vocabWriteError)#
<dl>
<dt>Vocabulary Name</dt>
<dd><input type="text" name="discovername" value="" size="78" maxlength="128" required="required"/></dd>