CLI Args extension and file management fix
- added cli param to change threads used by server - added cli param hide html header and/or footer - added cli param to remove css styling - added cli param to set http basic auth username and optionally password for the server - file pastas now delete the files from the disk as well when they expire
This commit is contained in:
parent
fc63b7aa1a
commit
fe926086c2
4 changed files with 150 additions and 35 deletions
|
@ -3,7 +3,9 @@
|
|||
<title>MicroBin</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="/static/water.css">
|
||||
{% if !args.pure_html %}
|
||||
<link rel="stylesheet" href="/static/water.css">
|
||||
{%- endif %}
|
||||
</head>
|
||||
<body style="
|
||||
max-width: 720px;
|
||||
|
@ -13,8 +15,11 @@
|
|||
line-height: 1.5;
|
||||
font-size: 1.1em;
|
||||
">
|
||||
|
||||
<br>
|
||||
|
||||
{% if !args.hide_header %}
|
||||
|
||||
<b style="margin-right: 0.5rem">
|
||||
<i><span style="font-size:2.2rem; margin-right:1rem">μ</span></i> MicroBin
|
||||
</b>
|
||||
|
@ -26,3 +31,5 @@
|
|||
<a href="https://github.com/szabodanika/microbin" style="margin-right: 0.5rem; margin-left: 0.5rem">GitHub</a>
|
||||
|
||||
<hr>
|
||||
|
||||
{%- endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue