fixed https://git.wolf-house.net/ross/DashMachine/issues/32 and https://git.wolf-house.net/ross/DashMachine/issues/31
This commit is contained in:
parent
8c3d4ef1de
commit
c59d2cab27
@ -76,7 +76,9 @@ def app_view(app_id):
|
|||||||
if not check_groups(settings.home_access_groups, current_user):
|
if not check_groups(settings.home_access_groups, current_user):
|
||||||
return redirect(url_for("user_system.login"))
|
return redirect(url_for("user_system.login"))
|
||||||
app_db = Apps.query.filter_by(id=app_id).first()
|
app_db = Apps.query.filter_by(id=app_id).first()
|
||||||
return render_template("main/app-view.html", url=f"{app_db.prefix}{app_db.url}")
|
return render_template(
|
||||||
|
"main/app-view.html", url=f"{app_db.prefix}{app_db.url}", title=app_db.name
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
@main.route("/load_data_source", methods=["GET"])
|
@main.route("/load_data_source", methods=["GET"])
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
content="Another web application bookmark dashboard, with fun features.">
|
content="Another web application bookmark dashboard, with fun features.">
|
||||||
<meta name="author" content="rmountjoy">
|
<meta name="author" content="rmountjoy">
|
||||||
{% if title %}
|
{% if title %}
|
||||||
<title>DashMachine - {{ title }}</title>
|
<title>{{ title }} - DashMachine</title>
|
||||||
{% else %}
|
{% else %}
|
||||||
<title>DashMachine</title>
|
<title>DashMachine</title>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -69,9 +69,17 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="card-action center-align scrollbar" style="max-height: 127px; min-height: 127px; scrollbar-width: none;">
|
<div class="card-action center-align scrollbar" style="max-height: 127px; min-height: 127px; scrollbar-width: none;">
|
||||||
<h5>{{ app.name }}
|
<h5 class="app-name-{{ app.id }}">{{ app.name }}
|
||||||
</h5>
|
</h5>
|
||||||
<span class="theme-secondary-text">{{ app.description }}</span>
|
{% if app.description %}
|
||||||
|
<span class="theme-secondary-text">{{ app.description }}</span>
|
||||||
|
{% else %}
|
||||||
|
<style>
|
||||||
|
.app-name-{{ app.id }} {
|
||||||
|
margin-top: 35px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1 +1 @@
|
|||||||
version = "v0.31"
|
version = "v0.32"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user