Compare commits

...

3 commits

Author SHA1 Message Date
Ana
cfc7623198 Allow text wrapping in service names, closes #7 2026-03-24 12:39:30 +00:00
Ana
22a2c13b67 Update landing page text, closes #10 2026-03-24 12:20:41 +00:00
Ana
cb72523938 Add /join/ in convene path to enable autojoin support
Closes #11
2026-03-24 12:16:20 +00:00
2 changed files with 5 additions and 5 deletions

View file

@ -98,7 +98,7 @@ def index():
if enable_deltachat == 'true': if enable_deltachat == 'true':
service_array.append({"name": "Secure Messaging", "image": url_for("static", filename="images/deltachat-icon.svg"), "url": url_for("messaging") }) service_array.append({"name": "Secure Messaging", "image": url_for("static", filename="images/deltachat-icon.svg"), "url": url_for("messaging") })
if enable_chat == 'true': if enable_chat == 'true':
service_array.append({"name": "Message Board", "image": url_for("static", filename="images/chat-icon.png"), "url": f"{app.config["CONVENE_INSTALL_PATH"]}/#/room/%23public%3abutterbox.local"}) service_array.append({"name": "Message Board", "image": url_for("static", filename="images/chat-icon.png"), "url": f"{app.config["CONVENE_INSTALL_PATH"]}/#/room/join/%23public%3abutterbox.local"})
if enable_app_store == 'true' and usb_has_appstore: if enable_app_store == 'true' and usb_has_appstore:
service_array.append({"name": "Apps", "image": url_for("static", filename="images/appstore-icon.svg")}) service_array.append({"name": "Apps", "image": url_for("static", filename="images/appstore-icon.svg")})
if enable_map_viewer == 'true' and usb_has_maps: if enable_map_viewer == 'true' and usb_has_maps:

View file

@ -1,13 +1,13 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block content %} {% block content %}
<h1 class="title is-large butter-title">Hi, welcome to the {{get_setting('butterbox_name')}}.</h1> <div class="block"><h1 class="title is-large butter-title">Welcome.</h1></div>
<p class="subtitle butter-title"> View and download the information you want from this offline box.</p> <div class="block"><p class="subtitle butter-title"> View and download the information you want from this offline box.</p></div>
<div class="grid"> <div class="block grid">
{% for service in services %} {% for service in services %}
<a class="cell button is-large is-responsive butter-service" href={{ service.url }}> <a class="cell button is-large is-responsive butter-service" href={{ service.url }}>
<div class="butter-service__content"> {{ service.name }} <br> <div class="butter-service__content"> <p style="text-wrap: wrap;">{{ service.name }}</p>
<img class="image is-64x64 butter-service__image" src={{ service.image }}> <img class="image is-64x64 butter-service__image" src={{ service.image }}>
</div> </div>
</a> </a>