# HG changeset patch # User Goffi # Date 1596294091 -7200 # Node ID caadb06854a02c903a4e237c1413535251eea159 # Parent a18374320194290eed9e62df0ca7700700e34681 bulma (invitation): invitation manager first draft diff -r a18374320194 -r caadb06854a0 sat_templates/templates/bulma/invitation/affiliation_item.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sat_templates/templates/bulma/invitation/affiliation_item.html Sat Aug 01 17:01:31 2020 +0200 @@ -0,0 +1,15 @@ +
+ {% if identities is defined %} + {% if avatar is defined %} +
+ {{ avatar.avatar(entity_jid) }} +
+ {% endif %} + {% endif %} +
+
{{entity_jid}}
+
+
+ +
+
diff -r a18374320194 -r caadb06854a0 sat_templates/templates/bulma/invitation/manager.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sat_templates/templates/bulma/invitation/manager.html Sat Aug 01 17:01:31 2020 +0200 @@ -0,0 +1,41 @@ +{% import 'input/form.html' as form with context %} +{% import 'input/field.html' as field with context %} +{% import 'input/textbox.html' as textbox with context %} +
+
+
+
+
+
+ {% trans %}in this panel, you can manage people who can access this album, and send invitations{% endtrans %} +
+
+
+
+
+

{% trans %}people who can access this album{% endtrans %}

+
+
+
+
+

{% trans %}invite people{% endtrans %}

+
+ {% call form.form(id="invitation_form") %} + {{ textbox.head(event_service, event_node, 'event') }} + {{ field.meta('event_id', event_id) }} + {{ field.textarea("jids", + _("enter here a list of jid (one per line) to invite") + ) + }} + {{ field.textarea("emails", + _("enter here a list of emails addresses (one per line) to invite") + ) + }} + {{ field.submit(_("Invite people"), id="invitation_submit") }} + {% endcall %} +
+
+ +
+
+
diff -r a18374320194 -r caadb06854a0 sat_templates/templates/bulma/static/styles.css --- a/sat_templates/templates/bulma/static/styles.css Sat Aug 01 17:01:31 2020 +0200 +++ b/sat_templates/templates/bulma/static/styles.css Sat Aug 01 17:01:31 2020 +0200 @@ -153,7 +153,7 @@ z-index: 150; } -.comments_side_panel { +.comments_side_panel, .invitation_manager_side_panel { position: absolute; top: 0; right: 0; @@ -167,7 +167,7 @@ color: black; } -.comments_side_panel.open { +.comments_side_panel.open, .invitation_manager_side_panel.open { width: 55rem; transition: width 0.3s ease-out; } @@ -312,7 +312,7 @@ /******** * tabs * - *******/ + ********/ #tab_guests { overflow: auto;