Bugs 091
This commit is contained in:
parent
464a149114
commit
418dd9c439
|
|
@ -58,8 +58,10 @@
|
||||||
<!-- Page Wrapper -->
|
<!-- Page Wrapper -->
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
|
|
||||||
|
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
<ul class=" bg-gray-900 sidebar sidebar-dark accordion fixed-top" id="accordionSidebar">
|
<ul class=" bg-gray-900 sidebar sidebar-dark accordion fixed-top" id="accordionSidebar">
|
||||||
|
|
||||||
<!-- Sidebar - Brand -->
|
<!-- Sidebar - Brand -->
|
||||||
<a class="sidebar-brand d-flex align-items-center justify-content-center" href="{% url 'users-dashboard' %}">
|
<a class="sidebar-brand d-flex align-items-center justify-content-center" href="{% url 'users-dashboard' %}">
|
||||||
<i class="fas fa-laptop"></i>
|
<i class="fas fa-laptop"></i>
|
||||||
|
|
@ -259,29 +261,10 @@
|
||||||
<!-- Main Content -->
|
<!-- Main Content -->
|
||||||
<!-- Topbar -->
|
<!-- Topbar -->
|
||||||
|
|
||||||
{% getUserIsRep request.user as repstring %}
|
|
||||||
{% if repstring != False %}
|
|
||||||
<div class="alert alert-info alert-dismissible" id="repholinfo" style="margin-bottom: -2px; text-align: center; display: none;"> <i class="fas fa-info-circle"></i>
|
|
||||||
{{repstring}}
|
|
||||||
<button type="button" class="close" data-dismiss="alert" onclick="javascript:closeRepHolInfo()">×</button>
|
|
||||||
</div>
|
|
||||||
<script type="text/javascript">
|
|
||||||
function closeRepHolInfo(){
|
|
||||||
localStorage.setItem("repholinfo_close", "1");
|
|
||||||
}
|
|
||||||
|
|
||||||
$(document).ready(function(){
|
|
||||||
showrepholinfo = localStorage.getItem("repholinfo_close");
|
|
||||||
if(showrepholinfo == null){
|
|
||||||
$("#repholinfo").show();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
</script>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<nav id="topnavbarmain" class="navbar navbar-expand navbar-light bg-white topbar fixed-top mb-4 static-top shadow" style="margin-left: 224px;">
|
|
||||||
|
|
||||||
|
<nav id="topnavbarmain" class="navbar navbar-expand navbar-light bg-white topbar fixed-top mb-4 static-top shadow" style="margin-left: 224px;">
|
||||||
|
|
||||||
|
|
||||||
<!-- Sidebar Toggle (Topbar) -->
|
<!-- Sidebar Toggle (Topbar) -->
|
||||||
|
|
@ -309,6 +292,28 @@
|
||||||
border-color: #5a5c69 !important;
|
border-color: #5a5c69 !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
{% getUserIsRep request.user as repstring %}
|
||||||
|
{% if repstring != False %}
|
||||||
|
<div class="alert alert-info alert-dismissible" id="repholinfo" style="margin-bottom: -2px; text-align: center; display: none; float: right;"> <i class="fas fa-info-circle"></i>
|
||||||
|
{{repstring}}
|
||||||
|
<button type="button" class="close" data-dismiss="alert" onclick="javascript:closeRepHolInfo()">×</button>
|
||||||
|
</div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
function closeRepHolInfo(){
|
||||||
|
localStorage.setItem("repholinfo_close", "1");
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
showrepholinfo = localStorage.getItem("repholinfo_close");
|
||||||
|
if(showrepholinfo == null){
|
||||||
|
$("#repholinfo").show();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<!-- Topbar Navbar -->
|
<!-- Topbar Navbar -->
|
||||||
<ul class="navbar-nav ml-auto ">
|
<ul class="navbar-nav ml-auto ">
|
||||||
{% if request.user.usertime.usetime and user.usertime.usetime_start != None %}
|
{% if request.user.usertime.usetime and user.usertime.usetime_start != None %}
|
||||||
|
|
@ -407,9 +412,11 @@
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<!-- End of Topbar -->
|
<!-- End of Topbar -->
|
||||||
<!-- Begin Page Content -->
|
<!-- Begin Page Content -->
|
||||||
<div class="container-fluid" >
|
<div class="container-fluid" >
|
||||||
|
|
||||||
<div id="searchcontent" style="min-height: 100%; margin-top: 85px;">
|
<div id="searchcontent" style="min-height: 100%; margin-top: 85px;">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
@ -432,7 +439,7 @@
|
||||||
</div> <!-- End of Main Content CONTAINER FLUID-->
|
</div> <!-- End of Main Content CONTAINER FLUID-->
|
||||||
<!-- End of Content Wrapper -->
|
<!-- End of Content Wrapper -->
|
||||||
{% if active_link != 'chat' %}
|
{% if active_link != 'chat' %}
|
||||||
|
{% if request.user.profile.agency.module_chat %}
|
||||||
<div id="chat_alluserscontent" style="position: fixed; bottom: 75px; right: 36px; z-index: 999;"></div>
|
<div id="chat_alluserscontent" style="position: fixed; bottom: 75px; right: 36px; z-index: 999;"></div>
|
||||||
<button id="chatButton" class="btn btn-primary" style="position: fixed; right: 36px; bottom: 30px;"><i class="far fa-comments"></i></button>
|
<button id="chatButton" class="btn btn-primary" style="position: fixed; right: 36px; bottom: 30px;"><i class="far fa-comments"></i></button>
|
||||||
|
|
||||||
|
|
@ -448,6 +455,7 @@
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
{% endif %}
|
||||||
<!-- CHATAREA END -->
|
<!-- CHATAREA END -->
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue