Skip to content

Commit

Permalink
fix conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
norkans7 committed Jan 10, 2024
1 parent fc948ae commit f3c9bf0
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 6 deletions.
10 changes: 9 additions & 1 deletion templates/base_admin_dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
{% endif %}
</div>
{% if org|config:"has_new_brand" %}
<div class="flex-1 text-center font-bold text-2xl flex-center-y mx-4 mt-8" style="font-family:'Noto Sans', sans-serif;">
<div class="flex-1 text-center font-bold flex-center-y mx-4 mt-4" style="font-family:'Noto Sans', sans-serif;">
{{ org.name }}
</div>
{% endif %}
Expand Down Expand Up @@ -325,9 +325,13 @@
<a href="{% url 'public.index' %}"
class="md:block flex-1 text-center mb-2 hidden">
<div style="max-width:360px">
{% if org|config:"has_new_brand" %}
<img src="{{ STATIC_URL }}/img/U-Report_Logo.png" alt="{{ org.name }}" class="logo">
{% else %}
{% thumbnail org.get_logo "x180" format="PNG" as im %}
<img src="{{ im.url }}" alt="{{ org.name }}" class="logo">
{% endthumbnail %}
{% endif %}
</div>
</a>
<div class="md:flex justify-center hidden">
Expand All @@ -342,9 +346,13 @@
<a href="{% url 'public.index' %}"
class="md:hidden flex-1 text-center mb-6 inline-flex">
<div style="width:180px">
{% if org|config:"has_new_brand" %}
<img src="{{ STATIC_URL }}/img/U-Report_Logo.png" alt="{{ org.name }}" class="logo">
{% else %}
{% thumbnail org.get_logo "x180" format="PNG" as im %}
<img src="{{ im.url }}" alt="{{ org.name }}" class="logo">
{% endthumbnail %}
{% endif %}
</div>
<div class="md:hidden flex flex-1 justify-end float-right">
<div style="width:120px" class="md:block block">
Expand Down
18 changes: 13 additions & 5 deletions templates/public_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@
<img src="{{ STATIC_URL }}/img/U-Report_Logo.png" alt="{{ org.name }}" class="logo">
</div>
</a>
<div class="flex-1 text-center font-bold text-2xl flex-center-y" style="font-family:'Noto Sans', sans-serif;">
<div class="flex-1 font-bold mt-12" style="font-family:'Noto Sans', sans-serif;">
<a href="{% url 'public.index' %}" class="flex-initial text-center">
{{ org.name }}
</a>
Expand Down Expand Up @@ -699,7 +699,7 @@
</div>
</a>
</div>
<div class="flex-1 text-center font-bold flex-center-y -mb-2 text-sm" style="font-family:'Noto Sans', sans-serif;">
<div class="flex-1 font-bold mt-6 -ml-12 text-xs p-home" style="font-family:'Noto Sans', sans-serif;">
<a href="{% url 'public.index' %}" class="flex-initial text-center">
{{ org.name }}
</a>
Expand Down Expand Up @@ -795,9 +795,13 @@
<a href="{% url 'public.index' %}"
class="md:block flex-1 text-center mb-2 hidden">
<div style="max-width:360px">
{% if org|config:"has_new_brand" %}
<img src="{{ STATIC_URL }}/img/U-Report_Logo.png" alt="{{ org.name }}" class="logo">
{% else %}
{% thumbnail org.get_logo "x180" format="PNG" as im %}
<img src="{{ im.url }}" alt="{{ org.name }}" class="logo">
{% endthumbnail %}
{% endif %}
</div>
</a>
<div class="md:flex justify-center hidden">
Expand All @@ -812,9 +816,13 @@
<a href="{% url 'public.index' %}"
class="md:hidden flex-1 text-center mb-6 inline-flex">
<div style="width:180px">
{% thumbnail org.get_logo "x180" format="PNG" as im %}
<img src="{{ im.url }}" alt="{{ org.name }}" class="logo">
{% endthumbnail %}
{% if org|config:"has_new_brand" %}
<img src="{{ STATIC_URL }}/img/U-Report_Logo.png" alt="{{ org.name }}" class="logo">
{% else %}
{% thumbnail org.get_logo "x180" format="PNG" as im %}
<img src="{{ im.url }}" alt="{{ org.name }}" class="logo">
{% endthumbnail %}
{% endif %}
</div>
<div class="md:hidden flex flex-1 justify-end float-right">
<div style="width:120px" class="md:block block">
Expand Down

0 comments on commit f3c9bf0

Please sign in to comment.