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