Bugs 091
This commit is contained in:
parent
464a149114
commit
418dd9c439
|
|
@ -58,8 +58,10 @@
|
|||
<!-- Page Wrapper -->
|
||||
<div id="wrapper">
|
||||
|
||||
|
||||
<!-- 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 -->
|
||||
<a class="sidebar-brand d-flex align-items-center justify-content-center" href="{% url 'users-dashboard' %}">
|
||||
<i class="fas fa-laptop"></i>
|
||||
|
|
@ -258,30 +260,11 @@
|
|||
<div id="content-wrapper">
|
||||
<!-- Main Content -->
|
||||
<!-- 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) -->
|
||||
|
|
@ -309,6 +292,28 @@
|
|||
border-color: #5a5c69 !important;
|
||||
}
|
||||
</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 -->
|
||||
<ul class="navbar-nav ml-auto ">
|
||||
{% if request.user.usertime.usetime and user.usertime.usetime_start != None %}
|
||||
|
|
@ -407,9 +412,11 @@
|
|||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<!-- End of Topbar -->
|
||||
<!-- Begin Page Content -->
|
||||
<div class="container-fluid" >
|
||||
|
||||
<div id="searchcontent" style="min-height: 100%; margin-top: 85px;">
|
||||
</div>
|
||||
|
||||
|
|
@ -432,7 +439,7 @@
|
|||
</div> <!-- End of Main Content CONTAINER FLUID-->
|
||||
<!-- End of Content Wrapper -->
|
||||
{% 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>
|
||||
<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>
|
||||
{% endif %}
|
||||
<!-- CHATAREA END -->
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue