[FIX] EMPLOYEE:Fixed button positions in employee view

This commit is contained in:
Horilla
2024-03-02 10:15:53 +05:30
parent 0509d8de28
commit e6304e1b03
4 changed files with 27 additions and 15 deletions

View File

@@ -292,8 +292,11 @@
<form id="bulk-reject-form">
<textarea name="rejection_reason" cols="40" rows="2" class="oh-input w-100" placeholder="Rejection reason" id="bulk_rejection_reason"></textarea>
<div class="d-flex justify-content-between w-100 align-items-center mt-4">
<button type="button" class="oh-btn oh-btn--secondary oh-btn--shadow bulk_reject">
<div class="d-flex flex-row-reverse">
<button
type="submit"
class="oh-btn oh-btn--secondary mt-2 mr-0 oh-btn--w-100-resp"
>
{% trans "Save" %}
</button>
</div>

View File

@@ -46,9 +46,12 @@
</div>
</div>
<div class="d-flex justify-content-between w-100 align-items-center mt-4">
<button type="submit" class="oh-btn oh-btn--secondary oh-btn--shadow">
{% trans "Save" %}
<div class="d-flex flex-row-reverse">
<button
type="submit"
class="oh-btn oh-btn--secondary mt-2 mr-0 oh-btn--w-100-resp"
>
{% trans "Save" %}
</button>
</div>
</form>

View File

@@ -45,11 +45,14 @@
<li style="list-style:disc">{% trans "Max size of the file" %} {{form.instance.document_request_id.max_size}} MB</li>
</ul>
</div>
<div class="d-flex justify-content-between w-100 align-items-center mt-4">
<button type="submit" class="oh-btn oh-btn--secondary oh-btn--shadow">
{% trans "Save" %}
</button>
</div>
<div class="d-flex flex-row-reverse mt-2">
<button
type="submit"
class="oh-btn oh-btn--secondary mt-2 mr-0 oh-btn--w-100-resp"
>
{% trans "Save" %}
</button>
</div>
</form>
<script>

View File

@@ -9,9 +9,12 @@
{{form.non_field_errors}}
{{form.reject_reason}}
{{form.reject_reason.errors}}
<div class="d-flex justify-content-between w-100 align-items-center mt-4">
<button type="submit" class="oh-btn oh-btn--secondary oh-btn--shadow">
{% trans "Save" %}
</button>
</div>
<div class="d-flex flex-row-reverse">
<button
type="submit"
class="oh-btn oh-btn--secondary mt-2 mr-0 oh-btn--w-100-resp"
>
{% trans "Save" %}
</button>
</div>
</form>