phoenix btn added

This commit is contained in:
Faheedkhan 2025-06-15 16:40:40 +03:00
parent 7d2b70e950
commit f1277a2ed4
33 changed files with 102 additions and 96 deletions

View File

@ -68,7 +68,7 @@
<h2 class="text-body-secondary fw-bolder mb-3">Access Forbidden!</h2> <h2 class="text-body-secondary fw-bolder mb-3">Access Forbidden!</h2>
<p class="text-body mb-5"> <p class="text-body mb-5">
Halt! Thou art endeavouring to trespass upon a realm not granted unto thee.<br class="d-none d-md-block d-lg-none" />granted unto thee. Halt! Thou art endeavouring to trespass upon a realm not granted unto thee.<br class="d-none d-md-block d-lg-none" />granted unto thee.
</p><a class="btn btn-lg btn-primary" href="{% url 'home' %}">Go Home</a> </p><a class="btn btn-lg btn-phoenix-primary" href="{% url 'home' %}">Go Home</a>
</div> </div>
</div> </div>
</div> </div>

View File

@ -66,7 +66,7 @@
<div class="col-12 col-lg-6 text-center text-lg-start"> <div class="col-12 col-lg-6 text-center text-lg-start">
<img class="img-fluid mb-6 w-50 w-lg-75 d-dark-none" src="{% static 'images/spot-illustrations/500.png' %}" alt="" /> <img class="img-fluid mb-6 w-50 w-lg-75 d-dark-none" src="{% static 'images/spot-illustrations/500.png' %}" alt="" />
<h2 class="text-body-secondary fw-bolder mb-3">Page Missing!</h2> <h2 class="text-body-secondary fw-bolder mb-3">Page Missing!</h2>
<p class="text-body mb-5">But no worries! Our ostrich is looking everywhere <br class="d-none d-sm-block" />while you wait safely. </p><a class="btn btn-lg btn-primary" href="{% url 'home' %}">Go Home</a> <p class="text-body mb-5">But no worries! Our ostrich is looking everywhere <br class="d-none d-sm-block" />while you wait safely. </p><a class="btn btn-lg btn-phoenix-primary" href="{% url 'home' %}">Go Home</a>
</div> </div>
</div> </div>
</div> </div>

View File

@ -66,7 +66,7 @@
<div class="col-12 col-lg-6 text-center text-lg-start"> <div class="col-12 col-lg-6 text-center text-lg-start">
<img class="img-fluid mb-6 w-50 w-lg-75 d-dark-none" src="{% static 'images/spot-illustrations/404.png' %}" alt="" /> <img class="img-fluid mb-6 w-50 w-lg-75 d-dark-none" src="{% static 'images/spot-illustrations/404.png' %}" alt="" />
<h2 class="text-body-secondary fw-bolder mb-3">Unknow error!</h2> <h2 class="text-body-secondary fw-bolder mb-3">Unknow error!</h2>
<p class="text-body mb-5">But relax! Our cat is here to play you some music.</p><a class="btn btn-lg btn-primary" href="{% url 'home' %}">Go Home</a> <p class="text-body mb-5">But relax! Our cat is here to play you some music.</p><a class="btn btn-lg btn-phoenix-primary" href="{% url 'home' %}">Go Home</a>
</div> </div>
</div> </div>
</div> </div>

View File

@ -9,7 +9,7 @@
{% csrf_token %} {% csrf_token %}
<div class="d-flex justify-content-center"> <div class="d-flex justify-content-center">
<button class="btn btn-phoenix-primary mx-2" type="submit">Activate</button> <button class="btn btn-phoenix-primary mx-2" type="submit">Activate</button>
<a class="btn btn-secondary mx-2" href="{% url 'user_management' %}">Cancel</a> <a class="btn btn-phoenix-danger mx-2" href="{% url 'user_management' %}">Cancel</a>
</div> </div>
</form> </form>
</div> </div>

View File

@ -24,15 +24,22 @@
.text-xxs { .text-xxs {
font-size: 0.6rem; font-size: 0.6rem;
} }
#djl-vendor-card-widget{
height:30rem;
}
</style> </style>
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<div class="container-fluid py-4"> <div class="container-fluid py-4">
<div class="row g-4"> <div class="row g-4" >
<!-- Left Sidebar --> <!-- Left Sidebar -->
<div class="col-lg-4"> <div class="col-lg-4">
<div class="card h-100 shadow-sm"> <div class="card shadow-sm">
<div class="card-body"> <div class="card-body">
{% include 'bill/includes/card_bill.html' with bill=bill entity_slug=view.kwargs.entity_slug style='bill-detail' %} {% include 'bill/includes/card_bill.html' with bill=bill entity_slug=view.kwargs.entity_slug style='bill-detail' %}
<hr class="my-4"> <hr class="my-4">
@ -48,7 +55,7 @@
</div> </div>
<!-- Main Content --> <!-- Main Content -->
<div class="col-lg-8"> <div class="col-lg-8 ">
{% if bill.is_configured %} {% if bill.is_configured %}
<div class="card mb-4 shadow-sm"> <div class="card mb-4 shadow-sm">
<div class="card-body"> <div class="card-body">
@ -126,7 +133,7 @@
<!-- Bill Items Card --> <!-- Bill Items Card -->
<div class="card mb-4 shadow-sm"> <div class="card mb-4 shadow-sm">
<div class="card-header pb-0"> <div class="card-header pb-0">
<div class="d-flex align-items-center"> <div class="d-flex align-items-center mb-1">
<i class="fas fa-receipt me-3 text-primary"></i> <i class="fas fa-receipt me-3 text-primary"></i>
<h5 class="mb-0">{% trans 'Bill Items' %}</h5> <h5 class="mb-0">{% trans 'Bill Items' %}</h5>
</div> </div>
@ -134,49 +141,49 @@
<div class="card-body px-0 pt-0 pb-2"> <div class="card-body px-0 pt-0 pb-2">
<div class="table-responsive"> <div class="table-responsive">
<table class="table table-hover align-items-center mb-0"> <table class="table table-hover align-items-center mb-0">
<thead class="table-light"> <thead >
<tr> <tr>
<th class="text-uppercase text-secondary text-xxs font-weight-bolder opacity-7">{% trans 'Item' %}</th> <th class="sort white-space-nowrap align-middle" scope="col">{% trans 'Item' %}</th>
<th class="text-uppercase text-secondary text-xxs font-weight-bolder opacity-7">{% trans 'Entity Unit' %}</th> <th class="sort white-space-nowrap align-middle" scope="col">{% trans 'Entity Unit' %}</th>
<th class="text-uppercase text-secondary text-xxs font-weight-bolder opacity-7 text-end">{% trans 'Unit Cost' %}</th> <th class="sort white-space-nowrap align-middle" scope="col">{% trans 'Unit Cost' %}</th>
<th class="text-uppercase text-secondary text-xxs font-weight-bolder opacity-7 text-end">{% trans 'Quantity' %}</th> <th class="sort white-space-nowrap align-middle" scope="col">{% trans 'Quantity' %}</th>
<th class="text-uppercase text-secondary text-xxs font-weight-bolder opacity-7 text-end">{% trans 'Total' %}</th> <th class="sort white-space-nowrap align-middle" scope="col">{% trans 'Total' %}</th>
<th class="text-uppercase text-secondary text-xxs font-weight-bolder opacity-7 text-end">{% trans 'PO' %}</th> <th class="sort white-space-nowrap align-middle" scope="col">{% trans 'PO' %}</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{% for bill_item in itemtxs_qs %} {% for bill_item in itemtxs_qs %}
<tr> <tr>
<td> <td class="align-middle white-space-nowrap">
<div class="d-flex px-2 py-1"> <div class="d-flex px-2 py-1">
<div class="d-flex flex-column justify-content-center"> <div class="d-flex flex-column justify-content-center">
<h6 class="mb-0 text-sm">{{ bill_item.item_model }}</h6> <h6 class="mb-0 text-sm">{{ bill_item.item_model }}</h6>
</div> </div>
</div> </div>
</td> </td>
<td> <td class="align-middle white-space-nowrap">
<span class="text-xs font-weight-bold"> <span class="text-xs font-weight-bold">
{% if bill_item.entity_unit %} {% if bill_item.entity_unit %}
{{ bill_item.entity_unit }} {{ bill_item.entity_unit }}
{% endif %} {% endif %}
</span> </span>
</td> </td>
<td class="text-end"> <td class="align-middle white-space-nowrap">
<span class="text-xs font-weight-bold"> <span class="text-xs font-weight-bold">
{% currency_symbol %}{{ bill_item.unit_cost | currency_format }} {% currency_symbol %}{{ bill_item.unit_cost | currency_format }}
</span> </span>
</td> </td>
<td class="text-end"> <td class="align-middle white-space-nowrap">
<span class="text-xs font-weight-bold">{{ bill_item.quantity }}</span> <span class="text-xs font-weight-bold">{{ bill_item.quantity }}</span>
</td> </td>
<td class="text-end"> <td class="align-middle white-space-nowrap">
<span class="text-xs font-weight-bold"> <span class="text-xs font-weight-bold">
{% currency_symbol %}{{ bill_item.total_amount | currency_format }} {% currency_symbol %}{{ bill_item.total_amount | currency_format }}
</span> </span>
</td> </td>
<td class="text-end"> <td class="align-middle white-space-nowrap">
{% if bill_item.po_model_id %} {% if bill_item.po_model_id %}
<a class="btn btn-sm btn-phoenix-info" <a class="btn btn-sm btn-phoenix-primary"
href="{% url 'purchase_order_detail' bill_item.po_model_id %}"> href="{% url 'purchase_order_detail' bill_item.po_model_id %}">
{% trans 'View PO' %} {% trans 'View PO' %}
</a> </a>
@ -245,7 +252,7 @@
<!-- Bill Transactions Card --> <!-- Bill Transactions Card -->
<div class="card mb-4 shadow-sm"> <div class="card mb-4 shadow-sm">
<div class="card-header pb-0"> <div class="card-header pb-0">
<div class="d-flex align-items-center"> <div class="d-flex align-items-center mb-1">
<i class="fas fa-exchange-alt me-3 text-primary"></i> <i class="fas fa-exchange-alt me-3 text-primary"></i>
<h5 class="mb-0">{% trans 'Bill Transactions' %}</h5> <h5 class="mb-0">{% trans 'Bill Transactions' %}</h5>
</div> </div>
@ -256,9 +263,9 @@
</div> </div>
<!-- Bill Notes Card --> <!-- Bill Notes Card -->
<div class="card shadow-sm"> <div class="card shadow-sm ">
<div class="card-header pb-0"> <div class="card-header pb-0">
<div class="d-flex align-items-center"> <div class="d-flex align-items-center mb-1">
<i class="fas fa-sticky-note me-3 text-primary"></i> <i class="fas fa-sticky-note me-3 text-primary"></i>
<h5 class="mb-0">{% trans 'Bill Notes' %}</h5> <h5 class="mb-0">{% trans 'Bill Notes' %}</h5>
</div> </div>

View File

@ -1,11 +1,11 @@
{% load django_ledger %} {% load django_ledger %}
{% load i18n %} {% load i18n %}
<div id="djl-bill-card-widget"> <div id="djl-bill-card-widget" class="">
{% if not create_bill %} {% if not create_bill %}
{% if style == 'dashboard' %} {% if style == 'dashboard' %}
<!-- Dashboard Style Card --> <!-- Dashboard Style Card -->
<div class=""> <div class="">
<div class="card-body"> <div class="card-body ">
<div class="d-flex justify-content-between align-items-center mb-3"> <div class="d-flex justify-content-between align-items-center mb-3">
<h6 class="text-uppercase text-secondary mb-0"> <h6 class="text-uppercase text-secondary mb-0">
<i class="fas fa-file-invoice me-2"></i>{% trans 'Bill' %} <i class="fas fa-file-invoice me-2"></i>{% trans 'Bill' %}
@ -199,12 +199,11 @@
{% endif %} {% endif %}
</div> </div>
<div class="card-footer p-0"> <div class="card-footer p-0">
<div class="d-flex flex-wrap"> <div class="d-flex flex-wrap gap-2 mt-2">
<!-- Update Button --> <!-- Update Button -->
<a href="{% url 'bill-update' entity_slug=entity_slug bill_pk=bill.uuid %}" <a href="{% url 'bill-update' entity_slug=entity_slug bill_pk=bill.uuid %}" class="btn btn-phoenix-primary">
class="btn btn-link text-primary w-100 w-md-auto border-end"> <i class="fas fa-edit me-2"></i>{% trans 'Update' %}
{% trans 'Update' %} </a>
</a>
<!-- Mark as Draft --> <!-- Mark as Draft -->
{% if bill.can_draft %} {% if bill.can_draft %}
<button class="btn btn-phoenix-success" <button class="btn btn-phoenix-success"
@ -214,7 +213,7 @@
{% endif %} {% endif %}
<!-- Mark as Review --> <!-- Mark as Review -->
{% if bill.can_review %} {% if bill.can_review %}
<button class="btn btn-phoenix-success" <button class="btn btn-phoenix-warning"
onclick="showPOModal('Mark as Review', '{% url 'bill-action-mark-as-review' entity_slug=entity_slug bill_pk=bill.pk %}', 'Mark as Review')"> onclick="showPOModal('Mark as Review', '{% url 'bill-action-mark-as-review' entity_slug=entity_slug bill_pk=bill.pk %}', 'Mark as Review')">
<i class="fas fa-check-circle me-2"></i>{% trans 'Mark as Review' %} <i class="fas fa-check-circle me-2"></i>{% trans 'Mark as Review' %}
</button> </button>
@ -235,14 +234,14 @@
{% endif %} {% endif %}
<!-- Void Button --> <!-- Void Button -->
{% if bill.can_void %} {% if bill.can_void %}
<button class="btn btn-phoenix-success" <button class="btn btn-phoenix-danger"
onclick="showPOModal('Mark as Void', '{% url 'bill-action-mark-as-void' entity_slug=entity_slug bill_pk=bill.pk %}', 'Mark as Void')"> onclick="showPOModal('Mark as Void', '{% url 'bill-action-mark-as-void' entity_slug=entity_slug bill_pk=bill.pk %}', 'Mark as Void')">
<i class="fas fa-check-circle me-2"></i>{% trans 'Mark as Void' %} <i class="fas fa-check-circle me-2"></i>{% trans 'Mark as Void' %}
</button> </button>
{% endif %} {% endif %}
<!-- Cancel Button --> <!-- Cancel Button -->
{% if bill.can_cancel %} {% if bill.can_cancel %}
<button class="btn btn-phoenix-success" <button class="btn btn-phoenix-danger"
onclick="showPOModal('Mark as Canceled', '{% url 'bill-action-mark-as-canceled' entity_slug=entity_slug bill_pk=bill.pk %}', 'Mark as Canceled')"> onclick="showPOModal('Mark as Canceled', '{% url 'bill-action-mark-as-canceled' entity_slug=entity_slug bill_pk=bill.pk %}', 'Mark as Canceled')">
<i class="fas fa-check-circle me-2"></i>{% trans 'Mark as Canceled' %} <i class="fas fa-check-circle me-2"></i>{% trans 'Mark as Canceled' %}
</button> </button>

View File

@ -2,7 +2,7 @@
{% load django_ledger %} {% load django_ledger %}
{% if style == 'card_1' %} {% if style == 'card_1' %}
<div class="card"> <div class="card" style="height:25rem;">
<div class="card-header"> <div class="card-header">
<div class="card-header-title"> <div class="card-header-title">
<h1 class="is-size-3 has-text-weight-light">{% if title %}{{ title }}{% else %} <h1 class="is-size-3 has-text-weight-light">{% if title %}{{ title }}{% else %}

View File

@ -1,7 +1,7 @@
{% load i18n %} {% load i18n %}
{% load django_ledger %} {% load django_ledger %}
<div class="card" id="djl-vendor-card-widget" style="height:50%;"> <div class="card " id="djl-vendor-card-widget" >
<div class="card-header"> <div class="card-header">
<h2 class="card-title d-flex align-items-center text-primary"> <h2 class="card-title d-flex align-items-center text-primary">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" class="bi bi-person-lines-fill me-2" viewBox="0 0 16 16"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" class="bi bi-person-lines-fill me-2" viewBox="0 0 16 16">
@ -24,7 +24,5 @@
</p> </p>
</div> </div>
<div class="card-footer bg-white">
</div>
</div> </div>

View File

@ -456,7 +456,7 @@
</ul> </ul>
<hr /> <hr />
<div class="px-3"> <div class="px-3">
<a class="btn btn-sm btn-danger d-flex flex-center w-100" href="{% url 'account_logout' %}"> <span class="me-2" data-feather="log-out"> </span>{% trans 'Sign Out' %}</a> <a class="btn btn-sm btn-phoenix-danger d-flex flex-center w-100" href="{% url 'account_logout' %}"> <span class="me-2" data-feather="log-out"> </span>{% trans 'Sign Out' %}</a>
</div> </div>
<div class="my-2 text-center fw-bold fs-10 text-body-quaternary"> <div class="my-2 text-center fw-bold fs-10 text-body-quaternary">
<a class="text-body-quaternary me-1" href="">Privacy policy</a>&bull;<a class="text-body-quaternary mx-1" href="">Terms</a>&bull;<a class="text-body-quaternary ms-1" href="">Cookies</a> <a class="text-body-quaternary me-1" href="">Privacy policy</a>&bull;<a class="text-body-quaternary mx-1" href="">Terms</a>&bull;<a class="text-body-quaternary ms-1" href="">Cookies</a>

View File

@ -243,7 +243,7 @@
</div> </div>
</div> </div>
</div> </div>
</div> </section>
{% endblock %} {% endblock %}
{% block customJS %} {% block customJS %}

View File

@ -13,13 +13,13 @@
<div class="col-lg-8 ml-auto mr-auto"> <div class="col-lg-8 ml-auto mr-auto">
<div class="row"> <div class="row">
<div class="col-md-4"> <div class="col-md-4">
<button class="btn btn-primary btn-block" onclick="demo.showNotification('top','left')">Top Left</button> <button class="btn btn-phoenix-primary btn-block" onclick="demo.showNotification('top','left')">Top Left</button>
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<button class="btn btn-primary btn-block" onclick="demo.showNotification('top','center')">Top Center</button> <button class="btn btn-phoenix-primary btn-block" onclick="demo.showNotification('top','center')">Top Center</button>
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<button class="btn btn-primary btn-block" onclick="demo.showNotification('top','right')">Top Right</button> <button class="btn btn-phoenix-primary btn-block" onclick="demo.showNotification('top','right')">Top Right</button>
</div> </div>
</div> </div>
</div> </div>
@ -28,13 +28,13 @@
<div class="col-lg-8 ml-auto mr-auto"> <div class="col-lg-8 ml-auto mr-auto">
<div class="row"> <div class="row">
<div class="col-md-4"> <div class="col-md-4">
<button class="btn btn-primary btn-block" onclick="demo.showNotification('bottom','left')">Bottom Left</button> <button class="btn btn-phoenix-primary btn-block" onclick="demo.showNotification('bottom','left')">Bottom Left</button>
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<button class="btn btn-primary btn-block" onclick="demo.showNotification('bottom','center')">Bottom Center</button> <button class="btn btn-phoenix-primary btn-block" onclick="demo.showNotification('bottom','center')">Bottom Center</button>
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<button class="btn btn-primary btn-block" onclick="demo.showNotification('bottom','right')">Bottom Right</button> <button class="btn btn-phoenix-primary btn-block" onclick="demo.showNotification('bottom','right')">Bottom Right</button>
</div> </div>
</div> </div>
</div> </div>
@ -47,10 +47,10 @@
<h4 class="card-title">Modal</h4> <h4 class="card-title">Modal</h4>
</div> </div>
<button class="btn btn-primary" data-toggle="modal" data-target="#myModal"> <button class="btn btn-phoenix-primary" data-toggle="modal" data-target="#myModal">
Classic modal Classic modal
</button> </button>
<button class="btn btn-info" data-toggle="modal" data-target="#noticeModal"> <button class="btn btn-phoenix-info" data-toggle="modal" data-target="#noticeModal">
Notice modal Notice modal
</button> </button>
<button class="btn" data-toggle="modal" data-target="#myModal10"> <button class="btn" data-toggle="modal" data-target="#myModal10">
@ -73,7 +73,7 @@
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<button type="button" class="btn btn-default">Nice Button</button> <button type="button" class="btn btn-default">Nice Button</button>
<button type="button" class="btn btn-danger" data-dismiss="modal">Close</button> <button type="button" class="btn btn-phoenix-danger" data-dismiss="modal">Close</button>
</div> </div>
</div> </div>
</div> </div>
@ -120,7 +120,7 @@
<p>If you have more questions, don't hesitate to contact us or send us a tweet @creativetim. We're here to help!</p> <p>If you have more questions, don't hesitate to contact us or send us a tweet @creativetim. We're here to help!</p>
</div> </div>
<div class="modal-footer justify-content-center"> <div class="modal-footer justify-content-center">
<button type="button" class="btn btn-info btn-round" data-dismiss="modal">Sounds good!</button> <button type="button" class="btn btn-phoenix-info btn-round" data-dismiss="modal">Sounds good!</button>
</div> </div>
</div> </div>
</div> </div>

View File

@ -28,7 +28,7 @@
{% else %} {% else %}
<p class="lead">{% trans "We couldn't process your payment. Please try again"%}.</p> <p class="lead">{% trans "We couldn't process your payment. Please try again"%}.</p>
{% endif %} {% endif %}
<a href="{% url 'home' %}" class="btn btn-primary mt-3"> <a href="{% url 'home' %}" class="btn btn-phoenix-primary mt-3">
<i class="bi bi-house-door"></i> {% trans "Back to Home"%} <i class="bi bi-house-door"></i> {% trans "Back to Home"%}
</a> </a>
</div> </div>

View File

@ -197,9 +197,9 @@
<!-- Navigation --> <!-- Navigation -->
<div class="d-flex justify-content-between mt-4"> <div class="d-flex justify-content-between mt-4">
<button type="button" class="btn btn-outline-secondary" id="prevBtn" disabled>{{ _("Previous") }}</button> <button type="button" class="btn btn-phoenix-secondary" id="prevBtn" disabled>{{ _("Previous") }}</button>
<button type="button" class="btn btn-primary" id="nextBtn">{{ _("Next") }}</button> <button type="button" class="btn btn-phoenix-primary" id="nextBtn">{{ _("Next") }}</button>
<button type="submit" class="btn btn-success d-none" id="submitBtn">{{ _("Confirm") }}</button> <button type="submit" class="btn btn-phoenix-success d-none" id="submitBtn">{{ _("Confirm") }}</button>
</div> </div>
</form> </form>
</div> </div>

View File

@ -1,3 +1,5 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load crispy_forms_filters %} {% load crispy_forms_filters %}
{% load i18n static %} {% load i18n static %}

View File

@ -84,10 +84,10 @@
Sale Order #{{ saleorder.formatted_order_id }} Sale Order #{{ saleorder.formatted_order_id }}
</h1> </h1>
<div> <div>
<button class="btn btn-sm btn-outline-light me-2"> <button class="btn btn-sm btn-phoenix-light me-2">
<i class="fas fa-print me-1"></i> Print <i class="fas fa-print me-1"></i> Print
</button> </button>
<button class="btn btn-sm btn-outline-light"> <button class="btn btn-sm btn-phoenix-light">
<i class="fas fa-share-alt me-1"></i> Share <i class="fas fa-share-alt me-1"></i> Share
</button> </button>
</div> </div>
@ -275,7 +275,7 @@
<div class="card mb-4 shadow-sm"> <div class="card mb-4 shadow-sm">
<div class="card-header d-flex justify-content-between align-items-center"> <div class="card-header d-flex justify-content-between align-items-center">
<h5 class="mb-0">Documents</h5> <h5 class="mb-0">Documents</h5>
<button class="btn btn-sm btn-primary"> <button class="btn btn-sm btn-phoenix-primary">
<i class="fas fa-plus me-1"></i> Add Document <i class="fas fa-plus me-1"></i> Add Document
</button> </button>
</div> </div>
@ -321,7 +321,7 @@
<div class="mb-3"> <div class="mb-3">
<textarea class="form-control" name="comment" rows="3" placeholder="Add a comment or note..." required></textarea> <textarea class="form-control" name="comment" rows="3" placeholder="Add a comment or note..." required></textarea>
<div class="d-flex justify-content-end mt-2"> <div class="d-flex justify-content-end mt-2">
<button type="submit" class="btn btn-primary btn-sm">Post Comment</button> <button type="submit" class="btn btn-phoenix-primary btn-sm">Post Comment</button>
</div> </div>
</div> </div>
</form> </form>
@ -358,31 +358,31 @@
<div class="card-body"> <div class="card-body">
<div class="d-grid gap-2"> <div class="d-grid gap-2">
{% if saleorder.status == 'pending_approval' %} {% if saleorder.status == 'pending_approval' %}
<button class="btn btn-success" onclick="updateStatus('approved')"> <button class="btn btn-phoenix-success" onclick="updateStatus('approved')">
<i class="fas fa-check-circle me-2"></i> Approve Order <i class="fas fa-check-circle me-2"></i> Approve Order
</button> </button>
{% endif %} {% endif %}
{% comment %} <a href="{% url 'edit_sale_order' saleorder.pk %}" class="btn btn-primary"> {% endcomment %} {% comment %} <a href="{% url 'edit_sale_order' saleorder.pk %}" class="btn btn-primary"> {% endcomment %}
<a href="" class="btn btn-primary"> <a href="" class="btn btn-phoenix-primary">
<i class="fas fa-edit me-2"></i> Edit Order <i class="fas fa-edit me-2"></i> Edit Order
</a> </a>
{% if not saleorder.invoice %} {% if not saleorder.invoice %}
{% comment %} <a href="{% url 'create_invoice_from_order' saleorder.pk %}" class="btn btn-info"> {% endcomment %} {% comment %} <a href="{% url 'create_invoice_from_order' saleorder.pk %}" class="btn btn-info"> {% endcomment %}
<a href="" class="btn btn-info"> <a href="" class="btn btn-phoenix-info">
<i class="fas fa-file-invoice-dollar me-2"></i> Create Invoice <i class="fas fa-file-invoice-dollar me-2"></i> Create Invoice
</a> </a>
{% endif %} {% endif %}
{% if saleorder.status == 'approved' and not saleorder.actual_delivery_date %} {% if saleorder.status == 'approved' and not saleorder.actual_delivery_date %}
<button class="btn btn-warning" data-bs-toggle="modal" data-bs-target="#deliveryModal"> <button class="btn btn-phoenix-warning" data-bs-toggle="modal" data-bs-target="#deliveryModal">
<i class="fas fa-truck me-2"></i> Schedule Delivery <i class="fas fa-truck me-2"></i> Schedule Delivery
</button> </button>
{% endif %} {% endif %}
{% if saleorder.status != 'cancelled' %} {% if saleorder.status != 'cancelled' %}
<button class="btn btn-danger" data-bs-toggle="modal" data-bs-target="#cancelModal"> <button class="btn btn-phoenix-danger" data-bs-toggle="modal" data-bs-target="#cancelModal">
<i class="fas fa-times-circle me-2"></i> Cancel Order <i class="fas fa-times-circle me-2"></i> Cancel Order
</button> </button>
{% endif %} {% endif %}
@ -535,8 +535,8 @@
</div> </div>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button> <button type="button" class="btn btn-phoenix-secondary" data-bs-dismiss="modal">Close</button>
<button type="submit" class="btn btn-danger">Confirm Cancellation</button> <button type="submit" class="btn btn-phoenix-danger">Confirm Cancellation</button>
</div> </div>
</form> </form>
</div> </div>
@ -565,8 +565,8 @@
</div> </div>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button> <button type="button" class="btn btn-phoenix-secondary" data-bs-dismiss="modal">Close</button>
<button type="submit" class="btn btn-primary">Schedule Delivery</button> <button type="submit" class="btn btn-phoenix-primary">Schedule Delivery</button>
</div> </div>
</form> </form>
</div> </div>

View File

@ -41,7 +41,7 @@
<td class="align-middle product white-space-nowrap py-0">{{ order.status }}</td> <td class="align-middle product white-space-nowrap py-0">{{ order.status }}</td>
<td class="align-middle product white-space-nowrap py-0">{{ order.expected_delivery_date|naturalday|capfirst }}</td> <td class="align-middle product white-space-nowrap py-0">{{ order.expected_delivery_date|naturalday|capfirst }}</td>
<td class="align-middle product white-space-nowrap py-0"> <td class="align-middle product white-space-nowrap py-0">
<a class="btn btn-sm btn-success" href="{% url 'sale_order_details' order.estimate.pk order.pk %}">View</a> <a class="btn btn-sm btn-phoenix-success" href="{% url 'sale_order_details' order.estimate.pk order.pk %}">View</a>
</td> </td>
</tr> </tr>
{% empty %} {% empty %}

View File

@ -33,7 +33,7 @@
{% endblock %} {% endblock %}
<div> <div>
<div class="row justify-content-center px-12"> <div class="row justify-content-center px-12">
<button class="btn btn-primary" type="button" onclick="printDiv('printableArea')"> <button class="btn btn-phoenix-primary" type="button" onclick="printDiv('printableArea')">
<i class="fa-solid fa-print"></i> {{ _('Print') }} <i class="fa-solid fa-print"></i> {{ _('Print') }}
</button> </button>
</div> </div>

View File

@ -13,7 +13,7 @@
<form method="post" action="{% url 'payment_create' pk=invoice.pk %}"> <form method="post" action="{% url 'payment_create' pk=invoice.pk %}">
{% csrf_token %} {% csrf_token %}
{{ form|crispy }} {{ form|crispy }}
<button type="submit" class="btn btn-primary">{% trans 'Save' %}</button> <button type="submit" class="btn btn-phoenix-primary">{% trans 'Save' %}</button>
</form> </form>
</div> </div>
</div> </div>

View File

@ -27,7 +27,7 @@
{% endif %} {% endif %}
{% csrf_token %} {% csrf_token %}
{{ form|crispy }} {{ form|crispy }}
<button type="submit" class="btn btn-primary"><i class="fa-solid fa-floppy-disk"></i> {% trans 'Pay' %}</button> <button type="submit" class="btn btn-phoenix-primary"><i class="fa-solid fa-floppy-disk"></i> {% trans 'Pay' %}</button>
</form> </form>
</div> </div>
</div> </div>

View File

@ -33,7 +33,7 @@
</div> </div>
<div class="d-flex"> <div class="d-flex">
<a href="{% url 'estimate_detail' estimate.pk %}" class="btn btn-link text-body fs-10 text-decoration-none">Discard</a> <a href="{% url 'estimate_detail' estimate.pk %}" class="btn btn-link text-body fs-10 text-decoration-none">Discard</a>
<button class="btn btn-primary fs-10" type="submit">Send<span class="fa-solid fa-paper-plane ms-1"></span></button> <button class="btn btn-phoenix-primary fs-10" type="submit">Send<span class="fa-solid fa-paper-plane ms-1"></span></button>
</div> </div>
</div> </div>
</form> </form>

View File

@ -11,7 +11,7 @@
<span class="badge bg-primary">Total Tasks: {{ page_obj.paginator.count }}</span> <span class="badge bg-primary">Total Tasks: {{ page_obj.paginator.count }}</span>
</div> </div>
<div> <div>
<a href="{% url 'task_list' %}" class="btn btn-sm btn-outline-secondary"> <a href="{% url 'task_list' %}" class="btn btn-sm btn-phoenix-secondary">
<i class="bi bi-arrow-clockwise"></i> Refresh <i class="bi bi-arrow-clockwise"></i> Refresh
</a> </a>
</div> </div>
@ -129,7 +129,7 @@
</div> </div>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button> <button type="button" class="btn btn-phoenix-secondary" data-bs-dismiss="modal">Close</button>
</div> </div>
</div> </div>
</div> </div>

View File

@ -7,8 +7,8 @@
{% if wizard.steps.prev %} {% if wizard.steps.prev %}
<button name="wizard_goto_step" type="submit" <button name="wizard_goto_step" type="submit"
value="{{ wizard.steps.prev }}" value="{{ wizard.steps.prev }}"
class="btn btn-secondary">{% trans "Back" %}</button> class="btn btn-phoenix-secondary">{% trans "Back" %}</button>
{% else %} {% else %}
<button disabled name="" type="button" class="btn">{% trans "Back" %}</button> <button disabled name="" type="button" class="btn">{% trans "Back" %}</button>
{% endif %} {% endif %}
<button type="submit" class="btn btn-primary">{% trans "Next" %}</button> <button type="submit" class="btn btn-phoenix-primary">{% trans "Next" %}</button>

View File

@ -23,6 +23,6 @@
<form method="post">{% csrf_token %}{{ form.as_p }} <form method="post">{% csrf_token %}{{ form.as_p }}
<a href="{% url 'two_factor:profile'%}" <a href="{% url 'two_factor:profile'%}"
class="float-right btn btn-link">{% trans "Back to Account Security" %}</a> class="float-right btn btn-link">{% trans "Back to Account Security" %}</a>
<button class="btn btn-primary" type="submit">{% trans "Generate Tokens" %}</button> <button class="btn btn-phoenix-primary" type="submit">{% trans "Generate Tokens" %}</button>
</form> </form>
{% endblock %} {% endblock %}

View File

@ -32,7 +32,7 @@
<p> <p>
{% for other in other_devices %} {% for other in other_devices %}
<button name="challenge_device" value="{{ other.persistent_id }}" <button name="challenge_device" value="{{ other.persistent_id }}"
class="btn btn-secondary btn-block" type="submit"> class="btn btn-phoenix-secondary btn-block" type="submit">
{{ other|as_action }} {{ other|as_action }}
</button> </button>
{% endfor %}</p> {% endfor %}</p>

View File

@ -14,7 +14,7 @@
<p> <p>
<a href="javascript:history.go(-1)" <a href="javascript:history.go(-1)"
class="float-right btn btn-link">{% trans "Go back" %}</a> class="float-right btn btn-link">{% trans "Go back" %}</a>
<a href="{% url 'two_factor:setup' %}" class="btn btn-primary"> <a href="{% url 'two_factor:setup' %}" class="btn btn-phoenix-primary">
{% trans "Enable Two-Factor Authentication" %}</a> {% trans "Enable Two-Factor Authentication" %}</a>
</p> </p>
{% endblock %} {% endblock %}

View File

@ -9,7 +9,7 @@
{% if not phone_methods %} {% if not phone_methods %}
<p><a href="{% url 'two_factor:profile' %}" <p><a href="{% url 'two_factor:profile' %}"
class="btn btn-block btn-secondary">{% trans "Back to Account Security" %}</a></p> class="btn btn-block btn-phoenix-secondary">{% trans "Back to Account Security" %}</a></p>
{% else %} {% else %}
<p>{% blocktrans trimmed %}However, it might happen that you don't have access to <p>{% blocktrans trimmed %}However, it might happen that you don't have access to
your primary token device. To enable account recovery, add a phone your primary token device. To enable account recovery, add a phone
@ -18,7 +18,7 @@
<a href="{% url 'two_factor:profile' %}" <a href="{% url 'two_factor:profile' %}"
class="float-right btn btn-link">{% trans "Back to Account Security" %}</a> class="float-right btn btn-link">{% trans "Back to Account Security" %}</a>
<p><a href="{% url 'two_factor:phone_create' %}" <p><a href="{% url 'two_factor:phone_create' %}"
class="btn btn-success">{% trans "Add Phone Number" %}</a></p> class="btn btn-phoenix-success">{% trans "Add Phone Number" %}</a></p>
{% endif %} {% endif %}
{% endblock %} {% endblock %}

View File

@ -8,7 +8,7 @@
<form method="post"> <form method="post">
{% csrf_token %} {% csrf_token %}
<table>{{ form.as_table }}</table> <table>{{ form.as_table }}</table>
<button class="btn btn-danger" <button class="btn btn-phoenix-danger"
type="submit">{% trans "Disable" %}</button> type="submit">{% trans "Disable" %}</button>
</form> </form>
{% endblock %} {% endblock %}

View File

@ -20,7 +20,7 @@
<form method="post" action="{% url 'two_factor:phone_delete' phone.id %}" <form method="post" action="{% url 'two_factor:phone_delete' phone.id %}"
onsubmit="return confirm({% trans 'Are you sure?' %})"> onsubmit="return confirm({% trans 'Are you sure?' %})">
{% csrf_token %} {% csrf_token %}
<button class="btn btn-sm btn-warning" <button class="btn btn-sm btn-phoenix-warning"
type="submit">{% trans "Unregister" %}</button> type="submit">{% trans "Unregister" %}</button>
</form> </form>
</li> </li>
@ -28,7 +28,7 @@
</ul> </ul>
{% endif %} {% endif %}
<p><a href="{% url 'two_factor:phone_create' %}" <p><a href="{% url 'two_factor:phone_create' %}"
class="btn btn-info">{% trans "Add Phone Number" %}</a></p> class="btn btn-phoenix-info">{% trans "Add Phone Number" %}</a></p>
{% endif %} {% endif %}
<h2>{% trans "Backup Tokens" %}</h2> <h2>{% trans "Backup Tokens" %}</h2>
@ -42,18 +42,18 @@
{% endblocktrans %} {% endblocktrans %}
</p> </p>
<p><a href="{% url 'two_factor:backup_tokens' %}" <p><a href="{% url 'two_factor:backup_tokens' %}"
class="btn btn-info">{% trans "Show Codes" %}</a></p> class="btn btn-phoenix-info">{% trans "Show Codes" %}</a></p>
<h3>{% trans "Disable Two-Factor Authentication" %}</h3> <h3>{% trans "Disable Two-Factor Authentication" %}</h3>
<p>{% blocktrans trimmed %}However we strongly discourage you to do so, you can <p>{% blocktrans trimmed %}However we strongly discourage you to do so, you can
also disable two-factor authentication for your account.{% endblocktrans %}</p> also disable two-factor authentication for your account.{% endblocktrans %}</p>
<p><a class="btn btn-secondary" href="{% url 'two_factor:disable' %}"> <p><a class="btn btn-phoenix-secondary" href="{% url 'two_factor:disable' %}">
{% trans "Disable Two-Factor Authentication" %}</a></p> {% trans "Disable Two-Factor Authentication" %}</a></p>
{% else %} {% else %}
<p>{% blocktrans trimmed %}Two-factor authentication is not enabled for your <p>{% blocktrans trimmed %}Two-factor authentication is not enabled for your
account. Enable two-factor authentication for enhanced account account. Enable two-factor authentication for enhanced account
security.{% endblocktrans %}</p> security.{% endblocktrans %}</p>
<p><a href="{% url 'two_factor:setup' %}" class="btn btn-primary"> <p><a href="{% url 'two_factor:setup' %}" class="btn btn-phoenix-primary">
{% trans "Enable Two-Factor Authentication" %}</a> {% trans "Enable Two-Factor Authentication" %}</a>
</p> </p>
{% endif %} {% endif %}

View File

@ -27,7 +27,7 @@
</div> </div>
<h4 class="my-4">Groups</h4> <h4 class="my-4">Groups</h4>
<a class="btn btn-sm btn-primary mt-2 mb-4" href="{% url 'user_groups' user_.slug %}"><i class="fa-solid fa-users"></i> Manage Groups</a> <a class="btn btn-sm btn-phoenix-primary mt-2 mb-4" href="{% url 'user_groups' user_.slug %}"><i class="fa-solid fa-users"></i> Manage Groups</a>
<table class="table table-hover table-responsive-sm fs-9 mb-0"> <table class="table table-hover table-responsive-sm fs-9 mb-0">
<thead> <thead>
<tr> <tr>

View File

@ -45,8 +45,8 @@
<div class="text-danger">{{ error }}</div> <div class="text-danger">{{ error }}</div>
{% endfor %} {% endfor %}
<div class="d-flex mb-3"> <div class="d-flex mb-3">
<a href="{{request.META.HTTP_REFERER}}" class="btn btn-danger me-2"><i class="fa-solid fa-ban me-1"></i> {% trans "Cancel"|capfirst %}</a> <a href="{{request.META.HTTP_REFERER}}" class="btn btn-phoenix-danger me-2"><i class="fa-solid fa-ban me-1"></i> {% trans "Cancel"|capfirst %}</a>
<button class="btn btn-success " type="submit"> <button class="btn btn-phoenix-success " type="submit">
<i class="fa-solid fa-floppy-disk me-1"></i> <i class="fa-solid fa-floppy-disk me-1"></i>
{{ _("Save") }} {{ _("Save") }}
</button> </button>

View File

@ -22,7 +22,7 @@
{% endfor %} {% endfor %}
<div class="d-flex mb-3"> <div class="d-flex mb-3">
<a href="{{request.META.HTTP_REFERER}}" class="btn btn-phoenix-primary me-2 px-6"><i class="fa-solid fa-ban"></i> {% trans "Cancel" %}</a> <a href="{{request.META.HTTP_REFERER}}" class="btn btn-phoenix-primary me-2 px-6"><i class="fa-solid fa-ban"></i> {% trans "Cancel" %}</a>
<button class="btn btn-primary" type="submit"> <button class="btn btn-phoenix-primary" type="submit">
<i class="fa-solid fa-floppy-disk"></i> <i class="fa-solid fa-floppy-disk"></i>
{{ _("Save") }} {{ _("Save") }}
</button> </button>

View File

@ -43,11 +43,11 @@
<div class="text-danger">{{ error }}</div> <div class="text-danger">{{ error }}</div>
{% endfor %} {% endfor %}
<div class="d-flex justify-content-start"> <div class="d-flex justify-content-start">
<button class="btn btn-sm btn-success me-2" type="submit"><i class="fa-solid fa-floppy-disk me-1"></i> <button class="btn btn-sm btn-phoenix-success me-2" type="submit"><i class="fa-solid fa-floppy-disk me-1"></i>
<!--<i class="bi bi-save"></i> --> <!--<i class="bi bi-save"></i> -->
{{ _("Save") }} {{ _("Save") }}
</button> </button>
<a href="{{request.META.HTTP_REFERER}}" class="btn btn-sm btn-danger"><i class="fa-solid fa-ban me-1"></i>{% trans "Cancel" %}</a> <a href="{{request.META.HTTP_REFERER}}" class="btn btn-sm btn-phoenix-danger"><i class="fa-solid fa-ban me-1"></i>{% trans "Cancel" %}</a>
</div> </div>
</form> </form>

View File

@ -95,7 +95,7 @@
</h1> </h1>
<p class="fs-5 fs-lg-4 fs-xl-4 fw-normal mb-3">{{ _("Because Inventory Needs Order") }}.</p> <p class="fs-5 fs-lg-4 fs-xl-4 fw-normal mb-3">{{ _("Because Inventory Needs Order") }}.</p>
<p class="mb-5">{% trans 'Manage inventory, sales, transfers, and accounting seamlessly with Haikal.' %}</p> <p class="mb-5">{% trans 'Manage inventory, sales, transfers, and accounting seamlessly with Haikal.' %}</p>
<a class="btn btn-lg btn-primary rounded-pill me-3" href="{% url 'account_signup' %}" role="button">{% trans 'Get Started' %}</a> <a class="btn btn-lg btn-phoenix-primary rounded-pill me-3" href="{% url 'account_signup' %}" role="button">{% trans 'Get Started' %}</a>
<a class="btn btn-link fs-8 p-0" href="#feature" role="button">{% trans 'Learn More' %} <a class="btn btn-link fs-8 p-0" href="#feature" role="button">{% trans 'Learn More' %}
{% if LANGUAGE_CODE == 'ar' %} {% if LANGUAGE_CODE == 'ar' %}
<span class="fa-solid fa-angle-left ms-2 fs-9"></span> <span class="fa-solid fa-angle-left ms-2 fs-9"></span>