aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrice Maron <brice@bmaron.net>2019-08-26 23:23:43 +0200
committerAlexis Metaireau <alexis@notmyidea.org>2019-09-02 13:37:54 +0200
commit604f4696d80ecf4cb135cb0af134cd0c198252f4 (patch)
treed118af3092631e3c72e49daaa6b33d88aa1a464d
parent8531ea5b19ee84e1bb8e1c7951f4c6e990fd209f (diff)
downloadihatemoney-mirror-604f4696d80ecf4cb135cb0af134cd0c198252f4.zip
ihatemoney-mirror-604f4696d80ecf4cb135cb0af134cd0c198252f4.tar.gz
ihatemoney-mirror-604f4696d80ecf4cb135cb0af134cd0c198252f4.tar.bz2
fix: add table layout for sharing options
ref #451
-rw-r--r--ihatemoney/templates/send_invites.html60
1 files changed, 38 insertions, 22 deletions
diff --git a/ihatemoney/templates/send_invites.html b/ihatemoney/templates/send_invites.html
index d64021b..87bdf0e 100644
--- a/ihatemoney/templates/send_invites.html
+++ b/ihatemoney/templates/send_invites.html
@@ -3,28 +3,44 @@
{% block content %}
<h1>{{ _("Invite people to join this project") }}</h1>
-<h3>{{ _('Share Identifier & code') }}</h3>
-<p>
- {{ _("You can share the project identifier and the private code by any communication means.") }}
- <br />
- <strong>{{ _('Identifier:') }}</strong> <a href="{{ url_for("main.list_bills", project_id=g.project.id) }}">{{ g.project.id }}</a>
-</p>
+<table class="table">
+ <tbody>
+ <tr>
+ <td>
+ <h3>{{ _('Share Identifier & code') }}</h3>
+ </td>
+ <td>
+ {{ _("You can share the project identifier and the private code by any communication means.") }}
+ <br />
+ <strong>{{ _('Identifier:') }}</strong> <a href="{{ url_for("main.list_bills", project_id=g.project.id) }}">{{ g.project.id }}</a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <h3>{{ _('Share the Link') }}</h3>
+ </td>
+ <td>
+ {{ _("You can directly share the following link via your prefered medium") }}</br>
+ <a href="{{ url_for(".authenticate", _external=True, token=g.project.generate_token()) }}">
+ {{ url_for(".authenticate", _external=True, token=g.project.generate_token()) }}
+ </a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <h3>{{ _('Send via Emails') }}</h3>
+ </td>
+ <td>
+ <p>{{ _("Specify a (comma separated) list of email adresses you want to notify about the
+ creation of this budget management project and we will send them an email for you.") }}</p>
+ {% include "display_errors.html" %}
+ <form class="invites form-horizontal" method="post" accept-charset="utf-8">
+ {{ forms.invites(form) }}
+ </form>
+ </td>
+ </tr>
+ </tbody>
+</table>
-<h3>{{ _('Share the Link') }}</h3>
-<p>{{ _("You can directly share the following link via your prefered medium") }}</br>
- <a href="{{ url_for(".authenticate", _external=True, token=g.project.generate_token()) }}">
- {{ url_for(".authenticate", _external=True, token=g.project.generate_token()) }}
- </a>
-</p>
-<h3>{{ _('Send via Emails') }}</h3>
-<p>{{ _("Specify a (comma separated) list of email adresses you want to notify about the
-creation of this budget management project and we will send them an email for you.") }}</p>
-
-
-
-{% include "display_errors.html" %}
-<form class="invites form-horizontal" method="post" accept-charset="utf-8">
- {{ forms.invites(form) }}
-</form>
{% endblock %}