phoenix btn added
This commit is contained in:
parent
7d2b70e950
commit
f1277a2ed4
@ -68,7 +68,7 @@
|
||||
<h2 class="text-body-secondary fw-bolder mb-3">Access Forbidden!</h2>
|
||||
<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.
|
||||
</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>
|
||||
|
||||
@ -66,7 +66,7 @@
|
||||
<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="" />
|
||||
<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>
|
||||
|
||||
@ -66,7 +66,7 @@
|
||||
<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="" />
|
||||
<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>
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
{% csrf_token %}
|
||||
<div class="d-flex justify-content-center">
|
||||
<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>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@ -24,15 +24,22 @@
|
||||
.text-xxs {
|
||||
font-size: 0.6rem;
|
||||
}
|
||||
|
||||
#djl-vendor-card-widget{
|
||||
height:30rem;
|
||||
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="container-fluid py-4">
|
||||
<div class="row g-4">
|
||||
<div class="row g-4" >
|
||||
<!-- Left Sidebar -->
|
||||
<div class="col-lg-4">
|
||||
<div class="card h-100 shadow-sm">
|
||||
<div class="card shadow-sm">
|
||||
<div class="card-body">
|
||||
{% include 'bill/includes/card_bill.html' with bill=bill entity_slug=view.kwargs.entity_slug style='bill-detail' %}
|
||||
<hr class="my-4">
|
||||
@ -48,7 +55,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Main Content -->
|
||||
<div class="col-lg-8">
|
||||
<div class="col-lg-8 ">
|
||||
{% if bill.is_configured %}
|
||||
<div class="card mb-4 shadow-sm">
|
||||
<div class="card-body">
|
||||
@ -126,7 +133,7 @@
|
||||
<!-- Bill Items Card -->
|
||||
<div class="card mb-4 shadow-sm">
|
||||
<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>
|
||||
<h5 class="mb-0">{% trans 'Bill Items' %}</h5>
|
||||
</div>
|
||||
@ -134,49 +141,49 @@
|
||||
<div class="card-body px-0 pt-0 pb-2">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover align-items-center mb-0">
|
||||
<thead class="table-light">
|
||||
<thead >
|
||||
<tr>
|
||||
<th class="text-uppercase text-secondary text-xxs font-weight-bolder opacity-7">{% trans 'Item' %}</th>
|
||||
<th class="text-uppercase text-secondary text-xxs font-weight-bolder opacity-7">{% 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="text-uppercase text-secondary text-xxs font-weight-bolder opacity-7 text-end">{% trans 'Quantity' %}</th>
|
||||
<th class="text-uppercase text-secondary text-xxs font-weight-bolder opacity-7 text-end">{% 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 'Item' %}</th>
|
||||
<th class="sort white-space-nowrap align-middle" scope="col">{% trans 'Entity Unit' %}</th>
|
||||
<th class="sort white-space-nowrap align-middle" scope="col">{% trans 'Unit Cost' %}</th>
|
||||
<th class="sort white-space-nowrap align-middle" scope="col">{% trans 'Quantity' %}</th>
|
||||
<th class="sort white-space-nowrap align-middle" scope="col">{% trans 'Total' %}</th>
|
||||
<th class="sort white-space-nowrap align-middle" scope="col">{% trans 'PO' %}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for bill_item in itemtxs_qs %}
|
||||
<tr>
|
||||
<td>
|
||||
<td class="align-middle white-space-nowrap">
|
||||
<div class="d-flex px-2 py-1">
|
||||
<div class="d-flex flex-column justify-content-center">
|
||||
<h6 class="mb-0 text-sm">{{ bill_item.item_model }}</h6>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<td class="align-middle white-space-nowrap">
|
||||
<span class="text-xs font-weight-bold">
|
||||
{% if bill_item.entity_unit %}
|
||||
{{ bill_item.entity_unit }}
|
||||
{% endif %}
|
||||
</span>
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<td class="align-middle white-space-nowrap">
|
||||
<span class="text-xs font-weight-bold">
|
||||
{% currency_symbol %}{{ bill_item.unit_cost | currency_format }}
|
||||
</span>
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<td class="align-middle white-space-nowrap">
|
||||
<span class="text-xs font-weight-bold">{{ bill_item.quantity }}</span>
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<td class="align-middle white-space-nowrap">
|
||||
<span class="text-xs font-weight-bold">
|
||||
{% currency_symbol %}{{ bill_item.total_amount | currency_format }}
|
||||
</span>
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<td class="align-middle white-space-nowrap">
|
||||
{% 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 %}">
|
||||
{% trans 'View PO' %}
|
||||
</a>
|
||||
@ -245,7 +252,7 @@
|
||||
<!-- Bill Transactions Card -->
|
||||
<div class="card mb-4 shadow-sm">
|
||||
<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>
|
||||
<h5 class="mb-0">{% trans 'Bill Transactions' %}</h5>
|
||||
</div>
|
||||
@ -256,9 +263,9 @@
|
||||
</div>
|
||||
|
||||
<!-- Bill Notes Card -->
|
||||
<div class="card shadow-sm">
|
||||
<div class="card shadow-sm ">
|
||||
<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>
|
||||
<h5 class="mb-0">{% trans 'Bill Notes' %}</h5>
|
||||
</div>
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
{% load django_ledger %}
|
||||
{% load i18n %}
|
||||
<div id="djl-bill-card-widget">
|
||||
<div id="djl-bill-card-widget" class="">
|
||||
{% if not create_bill %}
|
||||
{% if style == 'dashboard' %}
|
||||
<!-- Dashboard Style Card -->
|
||||
<div class="">
|
||||
<div class="card-body">
|
||||
<div class="card-body ">
|
||||
<div class="d-flex justify-content-between align-items-center mb-3">
|
||||
<h6 class="text-uppercase text-secondary mb-0">
|
||||
<i class="fas fa-file-invoice me-2"></i>{% trans 'Bill' %}
|
||||
@ -199,12 +199,11 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="card-footer p-0">
|
||||
<div class="d-flex flex-wrap">
|
||||
<div class="d-flex flex-wrap gap-2 mt-2">
|
||||
<!-- Update Button -->
|
||||
<a href="{% url 'bill-update' entity_slug=entity_slug bill_pk=bill.uuid %}"
|
||||
class="btn btn-link text-primary w-100 w-md-auto border-end">
|
||||
{% trans 'Update' %}
|
||||
</a>
|
||||
<a href="{% url 'bill-update' entity_slug=entity_slug bill_pk=bill.uuid %}" class="btn btn-phoenix-primary">
|
||||
<i class="fas fa-edit me-2"></i>{% trans 'Update' %}
|
||||
</a>
|
||||
<!-- Mark as Draft -->
|
||||
{% if bill.can_draft %}
|
||||
<button class="btn btn-phoenix-success"
|
||||
@ -214,7 +213,7 @@
|
||||
{% endif %}
|
||||
<!-- Mark as 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')">
|
||||
<i class="fas fa-check-circle me-2"></i>{% trans 'Mark as Review' %}
|
||||
</button>
|
||||
@ -235,14 +234,14 @@
|
||||
{% endif %}
|
||||
<!-- Void Button -->
|
||||
{% 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')">
|
||||
<i class="fas fa-check-circle me-2"></i>{% trans 'Mark as Void' %}
|
||||
</button>
|
||||
{% endif %}
|
||||
<!-- Cancel Button -->
|
||||
{% 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')">
|
||||
<i class="fas fa-check-circle me-2"></i>{% trans 'Mark as Canceled' %}
|
||||
</button>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
{% load django_ledger %}
|
||||
|
||||
{% if style == 'card_1' %}
|
||||
<div class="card">
|
||||
<div class="card" style="height:25rem;">
|
||||
<div class="card-header">
|
||||
<div class="card-header-title">
|
||||
<h1 class="is-size-3 has-text-weight-light">{% if title %}{{ title }}{% else %}
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{% load i18n %}
|
||||
{% 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">
|
||||
<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">
|
||||
@ -24,7 +24,5 @@
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="card-footer bg-white">
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@ -456,7 +456,7 @@
|
||||
</ul>
|
||||
<hr />
|
||||
<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 class="my-2 text-center fw-bold fs-10 text-body-quaternary">
|
||||
<a class="text-body-quaternary me-1" href="">Privacy policy</a>•<a class="text-body-quaternary mx-1" href="">Terms</a>•<a class="text-body-quaternary ms-1" href="">Cookies</a>
|
||||
|
||||
@ -243,7 +243,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{% endblock %}
|
||||
|
||||
{% block customJS %}
|
||||
|
||||
@ -13,13 +13,13 @@
|
||||
<div class="col-lg-8 ml-auto mr-auto">
|
||||
<div class="row">
|
||||
<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 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 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>
|
||||
@ -28,13 +28,13 @@
|
||||
<div class="col-lg-8 ml-auto mr-auto">
|
||||
<div class="row">
|
||||
<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 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 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>
|
||||
@ -47,10 +47,10 @@
|
||||
<h4 class="card-title">Modal</h4>
|
||||
</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
|
||||
</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
|
||||
</button>
|
||||
<button class="btn" data-toggle="modal" data-target="#myModal10">
|
||||
@ -73,7 +73,7 @@
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<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>
|
||||
@ -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>
|
||||
</div>
|
||||
<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>
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
{% else %}
|
||||
<p class="lead">{% trans "We couldn't process your payment. Please try again"%}.</p>
|
||||
{% 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"%}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@ -197,9 +197,9 @@
|
||||
|
||||
<!-- Navigation -->
|
||||
<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-primary" id="nextBtn">{{ _("Next") }}</button>
|
||||
<button type="submit" class="btn btn-success d-none" id="submitBtn">{{ _("Confirm") }}</button>
|
||||
<button type="button" class="btn btn-phoenix-secondary" id="prevBtn" disabled>{{ _("Previous") }}</button>
|
||||
<button type="button" class="btn btn-phoenix-primary" id="nextBtn">{{ _("Next") }}</button>
|
||||
<button type="submit" class="btn btn-phoenix-success d-none" id="submitBtn">{{ _("Confirm") }}</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
|
||||
|
||||
{% extends "base.html" %}
|
||||
{% load crispy_forms_filters %}
|
||||
{% load i18n static %}
|
||||
|
||||
@ -84,10 +84,10 @@
|
||||
Sale Order #{{ saleorder.formatted_order_id }}
|
||||
</h1>
|
||||
<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
|
||||
</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
|
||||
</button>
|
||||
</div>
|
||||
@ -275,7 +275,7 @@
|
||||
<div class="card mb-4 shadow-sm">
|
||||
<div class="card-header d-flex justify-content-between align-items-center">
|
||||
<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
|
||||
</button>
|
||||
</div>
|
||||
@ -321,7 +321,7 @@
|
||||
<div class="mb-3">
|
||||
<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">
|
||||
<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>
|
||||
</form>
|
||||
@ -358,31 +358,31 @@
|
||||
<div class="card-body">
|
||||
<div class="d-grid gap-2">
|
||||
{% 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
|
||||
</button>
|
||||
{% endif %}
|
||||
|
||||
{% 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
|
||||
</a>
|
||||
|
||||
{% if not saleorder.invoice %}
|
||||
{% 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
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
{% 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
|
||||
</button>
|
||||
{% endif %}
|
||||
|
||||
{% 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
|
||||
</button>
|
||||
{% endif %}
|
||||
@ -535,8 +535,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
|
||||
<button type="submit" class="btn btn-danger">Confirm Cancellation</button>
|
||||
<button type="button" class="btn btn-phoenix-secondary" data-bs-dismiss="modal">Close</button>
|
||||
<button type="submit" class="btn btn-phoenix-danger">Confirm Cancellation</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
@ -565,8 +565,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
|
||||
<button type="submit" class="btn btn-primary">Schedule Delivery</button>
|
||||
<button type="button" class="btn btn-phoenix-secondary" data-bs-dismiss="modal">Close</button>
|
||||
<button type="submit" class="btn btn-phoenix-primary">Schedule Delivery</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@ -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.expected_delivery_date|naturalday|capfirst }}</td>
|
||||
<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>
|
||||
</tr>
|
||||
{% empty %}
|
||||
|
||||
@ -33,7 +33,7 @@
|
||||
{% endblock %}
|
||||
<div>
|
||||
<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') }}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
<form method="post" action="{% url 'payment_create' pk=invoice.pk %}">
|
||||
{% csrf_token %}
|
||||
{{ form|crispy }}
|
||||
<button type="submit" class="btn btn-primary">{% trans 'Save' %}</button>
|
||||
<button type="submit" class="btn btn-phoenix-primary">{% trans 'Save' %}</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
{% endif %}
|
||||
{% csrf_token %}
|
||||
{{ 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>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -33,7 +33,7 @@
|
||||
</div>
|
||||
<div class="d-flex">
|
||||
<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>
|
||||
</form>
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
<span class="badge bg-primary">Total Tasks: {{ page_obj.paginator.count }}</span>
|
||||
</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
|
||||
</a>
|
||||
</div>
|
||||
@ -129,7 +129,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<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>
|
||||
|
||||
@ -7,8 +7,8 @@
|
||||
{% if wizard.steps.prev %}
|
||||
<button name="wizard_goto_step" type="submit"
|
||||
value="{{ wizard.steps.prev }}"
|
||||
class="btn btn-secondary">{% trans "Back" %}</button>
|
||||
class="btn btn-phoenix-secondary">{% trans "Back" %}</button>
|
||||
{% else %}
|
||||
<button disabled name="" type="button" class="btn">{% trans "Back" %}</button>
|
||||
{% endif %}
|
||||
<button type="submit" class="btn btn-primary">{% trans "Next" %}</button>
|
||||
<button type="submit" class="btn btn-phoenix-primary">{% trans "Next" %}</button>
|
||||
|
||||
@ -23,6 +23,6 @@
|
||||
<form method="post">{% csrf_token %}{{ form.as_p }}
|
||||
<a href="{% url 'two_factor:profile'%}"
|
||||
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>
|
||||
{% endblock %}
|
||||
|
||||
@ -32,7 +32,7 @@
|
||||
<p>
|
||||
{% for other in other_devices %}
|
||||
<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 }}
|
||||
</button>
|
||||
{% endfor %}</p>
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
<p>
|
||||
<a href="javascript:history.go(-1)"
|
||||
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>
|
||||
</p>
|
||||
{% endblock %}
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
|
||||
{% if not phone_methods %}
|
||||
<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 %}
|
||||
<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
|
||||
@ -18,7 +18,7 @@
|
||||
<a href="{% url 'two_factor:profile' %}"
|
||||
class="float-right btn btn-link">{% trans "Back to Account Security" %}</a>
|
||||
<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 %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
<table>{{ form.as_table }}</table>
|
||||
<button class="btn btn-danger"
|
||||
<button class="btn btn-phoenix-danger"
|
||||
type="submit">{% trans "Disable" %}</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
<form method="post" action="{% url 'two_factor:phone_delete' phone.id %}"
|
||||
onsubmit="return confirm({% trans 'Are you sure?' %})">
|
||||
{% csrf_token %}
|
||||
<button class="btn btn-sm btn-warning"
|
||||
<button class="btn btn-sm btn-phoenix-warning"
|
||||
type="submit">{% trans "Unregister" %}</button>
|
||||
</form>
|
||||
</li>
|
||||
@ -28,7 +28,7 @@
|
||||
</ul>
|
||||
{% endif %}
|
||||
<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 %}
|
||||
|
||||
<h2>{% trans "Backup Tokens" %}</h2>
|
||||
@ -42,18 +42,18 @@
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
<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>
|
||||
<p>{% blocktrans trimmed %}However we strongly discourage you to do so, you can
|
||||
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>
|
||||
{% else %}
|
||||
<p>{% blocktrans trimmed %}Two-factor authentication is not enabled for your
|
||||
account. Enable two-factor authentication for enhanced account
|
||||
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>
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
|
||||
</div>
|
||||
<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">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
@ -45,8 +45,8 @@
|
||||
<div class="text-danger">{{ error }}</div>
|
||||
{% endfor %}
|
||||
<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>
|
||||
<button class="btn btn-success " type="submit">
|
||||
<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-phoenix-success " type="submit">
|
||||
<i class="fa-solid fa-floppy-disk me-1"></i>
|
||||
{{ _("Save") }}
|
||||
</button>
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
{% endfor %}
|
||||
<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>
|
||||
<button class="btn btn-primary" type="submit">
|
||||
<button class="btn btn-phoenix-primary" type="submit">
|
||||
<i class="fa-solid fa-floppy-disk"></i>
|
||||
{{ _("Save") }}
|
||||
</button>
|
||||
|
||||
4
templates/vendors/vendor_form.html
vendored
4
templates/vendors/vendor_form.html
vendored
@ -43,11 +43,11 @@
|
||||
<div class="text-danger">{{ error }}</div>
|
||||
{% endfor %}
|
||||
<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> -->
|
||||
{{ _("Save") }}
|
||||
</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>
|
||||
|
||||
</form>
|
||||
|
||||
@ -95,7 +95,7 @@
|
||||
</h1>
|
||||
<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>
|
||||
<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' %}
|
||||
{% if LANGUAGE_CODE == 'ar' %}
|
||||
<span class="fa-solid fa-angle-left ms-2 fs-9"></span>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user