Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions registry/templates/registry/pages/listing-details.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
{% load static crispy_forms_tags %}

{% block main %}
<div class="flex flex-col w-full h-full p-10">
<div class="flex flex-row justify-between items-center pb-10">
<div class="flex flex-col w-full h-full p-4 md:p-10">
<div class="flex flex-col gap-4 justify-between items-center pb-4 md:pb-10 md:flex-row md:gap-0">
<h3 class="heading">{{ facility.facility_name }}</h3>
<a class="btn btn-primary" href="{% url 'registry:search' %}">
← Back to facility search
<a class="btn btn-secondary" href="{% url 'registry:search' %}">
← Back to search
</a>
</div>
<div class="flex flex-row gap-6">
<div class="w-1/2">
<div class="flex flex-col gap-6 md:flex-row">
<div class="w-full md:w-1/2">
{% if not facility.is_verified %}
<div class="mb-6">
{% include 'registry/components/unverified-alert.html'%}
Expand Down Expand Up @@ -43,7 +43,7 @@ <h4 class="regular-bold mb-4">{{ facility.facility_name }}</h4>
</div>
</div>
</div>
<div class="w-1/2">
<div class="w-full md:w-1/2">
<div class="card p-4">
{% if facility.email or facility.alternative_email %}
<form action="{{ referral_form.form_action }}" method="post">
Expand Down
4 changes: 2 additions & 2 deletions registry/templates/registry/pages/search-listing.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

{% block main %}
<div class="flex justify-center items-center w-full h-full">
<div class="absolute top-1/2 flex flex-col gap-4 w-full transform -translate-y-1/2">
<div class="absolute top-1/2 flex flex-col gap-4 p-4 w-full transform -translate-y-1/2">
<img src="{% static 'images/ms-full-logo.svg' %}" style="height: 100px;" alt="Medsync Logo">
<form class="mx-auto w-1/2" hx-get="{% url 'registry:search' %}" hx-trigger="input" hx-target="#list-search">
<form class="mx-auto w-full md:w-1/2" hx-get="{% url 'registry:search' %}" hx-trigger="input" hx-target="#list-search">
<input type="text" id="search-input" name="query" list="list-search" class="input w-full small-text"
placeholder="Search for a facility...">
<div id="list-search" class=""></div>
Expand Down