diff --git a/templates/feedbackform.html b/templates/feedbackform.html index 0b903cdf8ff752c5c5fd222269fc43c51da80c94..4d758e4112bc3e99b2b4b81a68bdc5b1429e90b1 100644 --- a/templates/feedbackform.html +++ b/templates/feedbackform.html @@ -1,50 +1,69 @@ -
-
+
+
+

{{ _("0. Initialising the call") }}

+

{{ _("1. Calling you") }}

+

{{ _("2. When ready, please dial 1 on your phone") }}

+

{{ _("3. Calling ")}}{{ @contact.full_name }}

+

{{ _("4. Connected to ") }}{{ @contact.full_name }}

-
-
-
- /static/img/placeholder.jpg{{ @contact.photo }}"> - {{ @contact.first_name }} {{ @contact.last_name }} -
-
-

{{ _("Phone number") }}: {{ @contact.phone }}

- -
    {{ @group_type.name }} - - -
  • - - {{ @group.type }} +
+
+
+
+ +
+
+
+
+ /static/img/placeholder.jpg{{ @contact.photo }}"> +

{{ _("Phone number") }}: {{ @contact.phone }}

+
+
+ {{ @contact.first_name }} {{ @contact.last_name }} +
+ + + + + {{ @group.name }} + - {{ @group.name }} - - - - -
{{ _("0. Initialising the call") }}
-
{{ _("1. Calling you") }}
-
{{ _("2. When ready, please dial 1 on your phone") }}
-
{{ _("3. Calling ")}}{{ @contact.full_name }}
-
{{ _("4. Connected to ") }}{{ @contact.full_name }}
-
-
-

{{ _("Feedback Form") }}

-

{{ _("Please tell us what happened if you were able to talk to someone. Your feedback is important to us.") }}

-
- - -
- + + + + + + {{ @group.name }} + + +
- -
+
+ + + + {{ @group.name }} + + + +
+
+

{{ _("Feedback Form") }}

+

{{ _("Please tell us what happened if you were able to talk to someone. Your feedback is important to us.") }}

+
+ + +
+ +
+ +
@@ -69,15 +88,9 @@ var date2 = new Date(b[1]); return date2 - date1; })[0]; - $('.step_text').removeClass('bold'); - $('.step_text').removeClass('text-darken-4'); - $('.step-text').addClass('light'); - $('.step-text').addClass('text-lighten-2'); + $('.step_text').hide(); if (call_state[0].startsWith('Created:Init')) { - $('#step_init').addClass('bold'); - $('#step_init').addClass('text-darken-4'); - $('#step_init').removeClass('light'); - $('#step_init').removeClass('text-lighten-2'); + $('#step_init').show(); }; if (call_state[0].startsWith('Ringing:')) { @@ -85,15 +98,9 @@ caller = normalize_phone(response['data']['caller']); callee = normalize_phone(response['data']['callee']); if ( phone === caller) { - $('#step_caller').addClass('bold'); - $('#step_caller').addClass('text-darken-4'); - $('#step_caller').removeClass('light'); - $('#step_caller').removeClass('text-lighten-2'); + $('#step_caller').show(); } else { - $('#step_callee').addClass('bold'); - $('#step_callee').addClass('text-darken-4'); - $('#step_callee').removeClass('light'); - $('#step_callee').removeClass('text-lighten-2'); + $('#step_callee').show(); }; };