diff --git a/apps/tickets/templates/tickets/_msg_ticket.html b/apps/tickets/templates/tickets/_msg_ticket.html index f26d17e5f..b781e1738 100644 --- a/apps/tickets/templates/tickets/_msg_ticket.html +++ b/apps/tickets/templates/tickets/_msg_ticket.html @@ -1,34 +1,31 @@ {% load i18n %}
-

+

{{ title | safe }} -

+

{% for child in content %} -

{{ child.title }}

- {% for item in child.content %} -
  • - {{ item.title }} - {{ item.value }} -
  • - {% endfor %} +
    +

    {{ child.title }}

    + {% for item in child.content %} +

    + {{ item.title }}: + {{ item.value }} +

    + {% endfor %} +
    {% endfor %}
    -
    -
    - + +
    diff --git a/apps/tickets/templates/tickets/approve_check_password.html b/apps/tickets/templates/tickets/approve_check_password.html index fe256bc1c..b82ef76cc 100644 --- a/apps/tickets/templates/tickets/approve_check_password.html +++ b/apps/tickets/templates/tickets/approve_check_password.html @@ -5,55 +5,115 @@ {% block content %} -
    -
    -
    -

    {% trans 'Ticket information' %}

    -

    -
    +
    +
    +
    +

    {% trans 'Ticket information' %}

    {% for child in content %} -

    {{ child.title }}

    -
    - {% for item in child.content %} -
  • - {{ item.title }}: {{ item.value }} -
  • - {% endfor %} +
    +

    {{ child.title }}

    + {% for item in child.content %} +

    + {{ item.title }}: + {{ item.value }} +

    + {% endfor %} +
    {% endfor %}
    -
    -
    -
    - -

    {% trans 'Ticket approval' %}

    -

    +
    -

    - {% trans 'Hello' %} {{ user.name }}, -

    -

    - {{ prompt_msg }} -

    -
    -
    - {% csrf_token %} -
    - - -
    -
    + +

    {% trans 'Ticket approval' %}

    +

    +
    +

    + {% trans 'Hello' %} {{ user.name }}, +

    +

    + {{ prompt_msg }} +

    +
    +
    + {% csrf_token %} +
    + + +
    +
    +
    -
    - + .ticket-container { + flex-shrink: 0; + border-radius: 4px; + background: #FFF; + font-style: normal; + font-weight: 400; + line-height: 24px; /* 150% */ + + + .card { + .child_title { + padding-top: 16px; + margin: 0 0 12px 16px; + display: inline-flex; + flex-direction: column; + align-items: flex-start; + color: #1F2329; + font-size: 16px; + font-style: normal; + font-weight: 500; + } + + @media (max-width: 400px) { + margin: 8px + } + margin: 24px 0 0 24px; + width: 95%; + display: inline-block; + border-radius: 4px; + background: #F5F6F7; + } + + .card:last-child { + margin-bottom: 24px; + } + + .field-group { + font-size: 14px; + padding-inline-start: 0; + margin: 0; + width: 95%; + + .field-name { + margin: 4px 0 4px 16px; + color: #646A73; + display: inline-block; + + :is(strong) { + font-weight: 400 !important; + } + } + + .field-value { + color: #1F2329; + display: inline-block; + } + } + } + {% endblock %}