descript.ion without e2d/e2t; closes #1277

This commit is contained in:
ed 2026-02-05 22:27:56 +00:00
parent 6c96c64605
commit 4cb4e820f6
2 changed files with 7 additions and 2 deletions

View file

@ -7323,10 +7323,15 @@ class HttpCli(object):
else: else:
fn, desc = ln.split(" ", 1) fn, desc = ln.split(" ", 1)
try: try:
items[fn.lower()]["tags"]["descript.ion"] = desc item = items[fn.lower().strip("/")]
except: except:
t = "<li><code>%s</code> %s</li>" t = "<li><code>%s</code> %s</li>"
rem.append(t % (html_escape(fn), html_escape(desc))) rem.append(t % (html_escape(fn), html_escape(desc)))
continue
try:
item["tags"]["descript.ion"] = desc
except:
item["tags"] = {"descript.ion": desc}
except: except:
pass pass
if "descript.ion" not in taglist: if "descript.ion" not in taglist:

View file

@ -19,7 +19,7 @@
<a id="xpnd" href="#">files</a> <a id="xpnd" href="#">files</a>
<a href="{{ r }}/?h">control-panel</a> <a href="{{ r }}/?h">control-panel</a>
<span>axs = perms (read,write,move,delet)</span> <span>axs = perms (read,write,get)</span>
<span>nf = numFiles (0=dir)</span> <span>nf = numFiles (0=dir)</span>
<span>min/hrs = time left</span> <span>min/hrs = time left</span>