# HG changeset patch # User Goffi # Date 1685645447 -7200 # Node ID c98a0a4a3fd09f92e2c7eecc35cd757670ee18f4 # Parent 16b3a2988afdc7039501fb49f14c45663c10754d bulma: "call" template, first draft: Basic template to make or receive calls. rel 422 diff -r 16b3a2988afd -r c98a0a4a3fd0 sat_templates/templates/bulma/call/call.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sat_templates/templates/bulma/call/call.html Thu Jun 01 20:50:47 2023 +0200 @@ -0,0 +1,35 @@ +{% if not embedded %} + {% set loading_screen = true %} + {% extends 'base/base.html' %} +{% endif %} + +{% block body %} +
+ +
+ + +
+ +
+
+ +
+
+
+
+ +
+
+
+
+ + +
+
+
+
+ + +
+{% endblock body %} diff -r 16b3a2988afd -r c98a0a4a3fd0 sat_templates/templates/bulma/components/menu_labels.html --- a/sat_templates/templates/bulma/components/menu_labels.html Sat Apr 08 13:59:12 2023 +0200 +++ b/sat_templates/templates/bulma/components/menu_labels.html Thu Jun 01 20:50:47 2023 +0200 @@ -2,6 +2,7 @@ {% set label = { 'login': _('Session') if profile else _('Log in'), 'blog': _('Blog'), + 'calls': _('Calls'), 'forums': _('Forums'), 'merge-requests': _('Merge requests'), 'merge-request_new': _('Create new merge request'), diff -r 16b3a2988afd -r c98a0a4a3fd0 sat_templates/templates/bulma/static/call.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sat_templates/templates/bulma/static/call.css Thu Jun 01 20:50:47 2023 +0200 @@ -0,0 +1,32 @@ + +.call_box { + width: 100%; + height: 500px; + position: relative; + overflow: hidden; + border: 1px solid #ddd; + margin-bottom: 15px; +} + +#remote_video, #local_video { + border: 3px solid #eee; + box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1); + width: 100%; + height: 100%; + object-fit: cover; +} + +#remote_video { + position: absolute; + top: 0; + left: 0; +} + +#local_video { + position: absolute; + bottom: 10px; + right: 10px; + width: 30%; + height: 30%; +} +