Sign in to SystemGroup per user on the orders page
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;600&family=Vazirmatn:wght@300;400;500;600;700&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="{% static 'slips/css/style.css' %}">
|
||||
<link rel="stylesheet" href="{% static 'slips/css/style.css' %}?v=2">
|
||||
<script>
|
||||
(function () {
|
||||
var t = localStorage.getItem('slip_theme') || 'light';
|
||||
@@ -56,7 +56,7 @@
|
||||
{% block content %}{% endblock %}
|
||||
</main>
|
||||
|
||||
<script src="{% static 'slips/js/i18n.js' %}?v=3"></script>
|
||||
<script src="{% static 'slips/js/i18n.js' %}?v=4"></script>
|
||||
{% block extra_scripts %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -16,10 +16,23 @@
|
||||
</p>
|
||||
</div>
|
||||
<div class="card-actions">
|
||||
<button type="button" class="btn btn-ghost btn-sm" id="crm-refresh" data-i18n="refresh">بهروزرسانی</button>
|
||||
<span class="card-badge badge-muted" id="crm-count">0</span>
|
||||
<span id="crm-account" class="card-subtitle" hidden></span>
|
||||
<button type="button" class="btn btn-ghost btn-sm" id="crm-forget" data-i18n="sg_sign_out" hidden>خروج</button>
|
||||
<button type="button" class="btn btn-ghost btn-sm" id="crm-refresh" data-i18n="refresh" hidden>بهروزرسانی</button>
|
||||
<span class="card-badge badge-muted" id="crm-count" hidden>0</span>
|
||||
</div>
|
||||
</div>
|
||||
<form id="crm-login" class="form-stack" hidden>
|
||||
<div class="form-group">
|
||||
<label for="crm-username" data-i18n="sg_username">نام کاربری</label>
|
||||
<input id="crm-username" name="username" autocomplete="username" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="crm-password" data-i18n="sg_password">رمز عبور</label>
|
||||
<input id="crm-password" name="password" type="password" autocomplete="current-password" required>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-accent" id="crm-sign-in" data-i18n="sg_sign_in">ورود</button>
|
||||
</form>
|
||||
<p class="empty-state" id="crm-orders-status" hidden></p>
|
||||
<div class="table-wrap">
|
||||
<table class="data-table" id="crm-orders-table">
|
||||
@@ -42,5 +55,5 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block extra_scripts %}
|
||||
<script src="{% static 'slips/js/crm_orders.js' %}?v=6"></script>
|
||||
<script src="{% static 'slips/js/crm_orders.js' %}?v=7"></script>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user