mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-22 14:13:01 +02:00
hide prints and tweak url text in titlebar
This commit is contained in:
@@ -1020,15 +1020,11 @@ def server(runserver_args: Optional[List[str]]=None,
|
|||||||
print()
|
print()
|
||||||
|
|
||||||
# fallback to serving staticfiles insecurely with django when DEBUG=False
|
# fallback to serving staticfiles insecurely with django when DEBUG=False
|
||||||
if config.DEBUG:
|
if not config.DEBUG:
|
||||||
print('DEBUG=True')
|
|
||||||
else:
|
|
||||||
runserver_args.append('--insecure') # TODO: serve statics w/ nginx instead
|
runserver_args.append('--insecure') # TODO: serve statics w/ nginx instead
|
||||||
|
|
||||||
# toggle autoreloading when archivebox code changes (it's on by default)
|
# toggle autoreloading when archivebox code changes (it's on by default)
|
||||||
if reload:
|
if not reload:
|
||||||
print('AUTORELOAD=True')
|
|
||||||
else:
|
|
||||||
runserver_args.append('--noreload')
|
runserver_args.append('--noreload')
|
||||||
|
|
||||||
config.SHOW_PROGRESS = False
|
config.SHOW_PROGRESS = False
|
||||||
|
@@ -87,7 +87,7 @@
|
|||||||
{% if has_permission %}
|
{% if has_permission %}
|
||||||
<div id="user-tools">
|
<div id="user-tools">
|
||||||
<a href="{% url 'admin:Add' %}">Add ➕</a> /
|
<a href="{% url 'admin:Add' %}">Add ➕</a> /
|
||||||
<a href="{% url 'Home' %}">URLs</a> /
|
<a href="{% url 'Home' %}">Snapshots</a> /
|
||||||
<a href="/admin/auth/user/">Users</a> /
|
<a href="/admin/auth/user/">Users</a> /
|
||||||
<a href="{% url 'OldHome' %}">Old UI</a> /
|
<a href="{% url 'OldHome' %}">Old UI</a> /
|
||||||
<a href="{% url 'Docs' %}">Docs</a>
|
<a href="{% url 'Docs' %}">Docs</a>
|
||||||
|
Reference in New Issue
Block a user