Tweak spacing
This commit is contained in:
parent
82b90adf2d
commit
71de000b2c
|
@ -13,6 +13,7 @@ import subprocess
|
|||
# called to discover commands in modules
|
||||
app = create_app()
|
||||
|
||||
|
||||
def get_user():
|
||||
for name in ('SUDO_USER', 'LOGNAME', 'USER', 'LNAME', 'USERNAME'):
|
||||
user = os.environ.get(name)
|
||||
|
@ -163,6 +164,7 @@ def setup_redis(ctx, **kw):
|
|||
config.update(conf)
|
||||
install_redis()
|
||||
|
||||
|
||||
@click.command()
|
||||
@click.option('--elasticsearch-url',
|
||||
default=getattr(config, 'ELASTICSEARCH_URL', 'http://127.0.0.1:9200'),
|
||||
|
|
|
@ -137,7 +137,6 @@ def _tree_index(items, path=""):
|
|||
dir=True)
|
||||
|
||||
|
||||
|
||||
@blueprint.route("/_index", defaults={"path": ""})
|
||||
@blueprint.route("/_index/<path:path>")
|
||||
def index(path):
|
||||
|
|
|
@ -132,7 +132,6 @@
|
|||
</div>
|
||||
|
||||
<div class="btn-group">
|
||||
|
||||
{% if name in config['WIKI_LOCKED_PAGES'] %}
|
||||
<a class="btn btn-danger btn-sm">
|
||||
<i class="fa fa-lock"></i>
|
||||
|
|
Loading…
Reference in a new issue