update
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 8.1 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 68 KiB |
BIN
media/app_config/logo_full_databisnis_black-2048x357_DvKvaIc.png
Normal file
BIN
media/app_config/logo_full_databisnis_black-2048x357_DvKvaIc.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 26 KiB |
1
static/front/assets/css/bootstrap.css.map
Normal file
1
static/front/assets/css/bootstrap.css.map
Normal file
File diff suppressed because one or more lines are too long
2337
static/front/assets/css/font-awesome.css
vendored
Normal file
2337
static/front/assets/css/font-awesome.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
7
static/front/assets/css/font-awesome.css.map
Normal file
7
static/front/assets/css/font-awesome.css.map
Normal file
File diff suppressed because one or more lines are too long
4
static/front/assets/css/font-awesome.min.css
vendored
Normal file
4
static/front/assets/css/font-awesome.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
9640
static/front/assets/css/fontawesome.css
vendored
9640
static/front/assets/css/fontawesome.css
vendored
File diff suppressed because it is too large
Load Diff
5
static/front/assets/css/fontawesome.min.css
vendored
Normal file
5
static/front/assets/css/fontawesome.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
static/front/assets/js/bootstrap.js.map
Normal file
1
static/front/assets/js/bootstrap.js.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
5
static/front/assets/js/fontawesome.min.js
vendored
Normal file
5
static/front/assets/js/fontawesome.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
static/front/assets/js/popper.js.map
Normal file
1
static/front/assets/js/popper.js.map
Normal file
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -267,17 +267,6 @@
|
||||
<li><a href="{% url 'createUser' %}">Create User</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="sidebar-list"><a class="sidebar-link sidebar-title" href="#">
|
||||
<svg class="stroke-icon">
|
||||
<use href="{% static 'admin/assets/svg/icon-sprite.svg' %}#stroke-form"></use>
|
||||
</svg>
|
||||
<svg class="fill-icon">
|
||||
<use href="{% static 'admin/assets/svg/icon-sprite.svg' %}#fill-form"></use>
|
||||
</svg><span>Form Data</span></a>
|
||||
<ul class="sidebar-submenu">
|
||||
<li><a href="{% url "AdminContactList" %}">Contact Form</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="sidebar-list"><a class="sidebar-link sidebar-title" href="#">
|
||||
<svg class="stroke-icon">
|
||||
<use href="{% static 'admin/assets/svg/icon-sprite.svg' %}#stroke-learning"></use>
|
||||
@@ -300,13 +289,7 @@
|
||||
<li><a href="{% url "AdminSEOSettings" %}">SEO</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
{% endif %}
|
||||
<li class="sidebar-main-title">
|
||||
<div>
|
||||
<h6>Applications</h6>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
{% endif %}
|
||||
<li class="sidebar-list">
|
||||
<a href="sidebar-link sidebar-title link-nav"></a>
|
||||
</li>
|
||||
|
||||
@@ -193,96 +193,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-xxl-12 col-xl-12 col-sm-12 box-col-12 lghide1">
|
||||
<div class="row">
|
||||
|
||||
<div class="col-xxl-6 col-xl-6 box-col-12">
|
||||
<div class="card widget-1 widget-with-chart">
|
||||
<div class="card-body">
|
||||
<div class="widget-content">
|
||||
<div class="widget-round success">
|
||||
<div class="bg-round">
|
||||
<i class="fa fa-file-text-o" aria-hidden="true"></i>
|
||||
<svg class="half-circle svg-fill">
|
||||
<use href="{% static 'admin/assets/svg/icon-sprite.svg' %}#halfcircle"></use>
|
||||
</svg>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<h4>{{ contacts.count }}</h4><span class="f-light">Contacts</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if request.user.role == 'Admin' %}
|
||||
<div class="col-xxl-8 col-xl-7 col-md-6 col-sm-7 notification box-col-6">
|
||||
<div class="card height-equal">
|
||||
<div class="card-header card-no-border">
|
||||
<div class="header-top">
|
||||
<h5 class="m-0">Recent Contacts</h5>
|
||||
<div class="card-header-right-icon">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body pt-0">
|
||||
{% if contacts %}
|
||||
<ul>
|
||||
{% for contact in contacts|slice:":3" %}
|
||||
<li class="d-flex">
|
||||
<div class="activity-dot-{{ contact|random_class }}"></div>
|
||||
<div class="w-100 ms-3">
|
||||
<p class="d-flex justify-content-between mb-2"><span class="date-content light-background">{{ contact.created_at }} </span>
|
||||
</p>
|
||||
<h6><a href="#" data-bs-toggle="modal" data-bs-target="#editcontactModal{{ contact.id }}">{{ contact.name }}</a></h6>
|
||||
<!-- Bootstrap 4 Modal -->
|
||||
<div class="modal fade" id="editcontactModal{{ contact.id }}" tabindex="-1" role="dialog" aria-labelledby="editcontactModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-dialog-centered" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="editcontactModalLabel">{{contact.name}}'s Submission</h5>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<!-- Include your edit form here -->
|
||||
<p><strong>Name:</strong> {{ contact.name }}</p>
|
||||
<p><strong>Email:</strong> <a href="mailto:{{ contact.email }}">{{ contact.email }}</a></p>
|
||||
<p><strong>Phone:</strong> {{ contact.phone }}</p>
|
||||
<p><strong>Subject:</strong> {{ contact.subject }}</p>
|
||||
<p><strong>Message:</strong> {{ contact.message }}</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-secondary" type="button" data-bs-dismiss="modal">Close</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<span class="f-light">{{ contact.message|truncatewords:'12' }}</span>
|
||||
</div>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
<ul>
|
||||
<li class="">
|
||||
<div class="w-100">
|
||||
<h6>You don't have any contacts.</h6>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- Container-fluid Ends-->
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
<link href="{% static 'front/assets/css/bootstrap.css' %}" rel="stylesheet">
|
||||
<link href="{% static 'front/assets/css/bootstrap-icons.css' %}" rel="stylesheet">
|
||||
<link href="{% static 'front/assets/css/all.min.css' %}" rel="stylesheet">
|
||||
<link href="{% static 'front/assets/css/fontawesome.css' %}" rel="stylesheet">
|
||||
<link href="{% static 'front/assets/css/font-awesome.css' %}" rel="stylesheet">
|
||||
<link rel="stylesheet" href="{% static 'front/assets/css/swiper-bundle.css' %}">
|
||||
<link rel="stylesheet" href="{% static 'front/assets/css/magnific-popup.css' %}">
|
||||
<link rel="stylesheet" href="{% static 'front/assets/css/animate.css' %}">
|
||||
|
||||
Reference in New Issue
Block a user