Migrated template to assets

This commit is contained in:
Yogesh Ojha
2020-05-05 08:54:39 +05:30
parent 878e9a9679
commit 6be06bc0c8
105 changed files with 184 additions and 39 deletions
+2 -1
View File
@@ -25,7 +25,8 @@ INSTALLED_APPS = [
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'dashboard.apps.DashboardConfig'
'dashboard.apps.DashboardConfig',
'targetApp.apps.TargetappConfig',
]
MIDDLEWARE = [
+2 -1
View File
@@ -3,5 +3,6 @@ from django.urls import path, include
urlpatterns = [
path('admin/', admin.site.urls),
path('', include('dashboard.urls'))
path('', include('dashboard.urls')),
path('target/', include('targetApp.urls')),
]
BIN
View File
Binary file not shown.
+4
View File
@@ -0,0 +1,4 @@
@import url('main.css');
@import url('../../plugins/perfect-scrollbar/perfect-scrollbar.css');
@import url('structure.css');
@import '../../plugins/highlight/styles/monokai-sublime.css';
@@ -193,7 +193,7 @@ code {
max-width: 58.333333%;
margin-left: 80px; }
/*
/*
=====================
Navigation Bar
=====================
@@ -551,7 +551,7 @@ code {
color: #1b55e2;
fill: rgba(0, 23, 55, 0.08); }
/*
/*
===============
Sidebar
===============
@@ -675,7 +675,7 @@ code {
.page-header {
display: block; } }
/*
/*
===============
Sidebar
===============
@@ -951,7 +951,7 @@ code {
#sidebar ul.menu-categories .ps__rail-y {
right: -4px !important; }
/*
/*
======================
Footer-wrapper
======================
@@ -985,7 +985,7 @@ code {
height: 15px;
vertical-align: text-top; }
/*
/*
======================
MEDIA QUERIES
======================
+134
View File
@@ -0,0 +1,134 @@
/*
=========================================
| |
| Scroll To Top |
| |
=========================================
*/
$('.scrollTop').click(function() {
$("html, body").animate({scrollTop: 0});
});
$('.navbar .dropdown.notification-dropdown > .dropdown-menu, .navbar .dropdown.message-dropdown > .dropdown-menu ').click(function(e) {
e.stopPropagation();
});
/*
=========================================
| |
| Multi-Check checkbox |
| |
=========================================
*/
function checkall(clickchk, relChkbox) {
var checker = $('#' + clickchk);
var multichk = $('.' + relChkbox);
checker.click(function () {
multichk.prop('checked', $(this).prop('checked'));
});
}
/*
=========================================
| |
| MultiCheck |
| |
=========================================
*/
/*
This MultiCheck Function is recommanded for datatable
*/
function multiCheck(tb_var) {
tb_var.on("change", ".chk-parent", function() {
var e=$(this).closest("table").find("td:first-child .child-chk"), a=$(this).is(":checked");
$(e).each(function() {
a?($(this).prop("checked", !0), $(this).closest("tr").addClass("active")): ($(this).prop("checked", !1), $(this).closest("tr").removeClass("active"))
})
}),
tb_var.on("change", "tbody tr .new-control", function() {
$(this).parents("tr").toggleClass("active")
})
}
/*
=========================================
| |
| MultiCheck |
| |
=========================================
*/
function checkall(clickchk, relChkbox) {
var checker = $('#' + clickchk);
var multichk = $('.' + relChkbox);
checker.click(function () {
multichk.prop('checked', $(this).prop('checked'));
});
}
/*
=========================================
| |
| Tooltips |
| |
=========================================
*/
$('.bs-tooltip').tooltip();
/*
=========================================
| |
| Popovers |
| |
=========================================
*/
$('.bs-popover').popover();
/*
================================================
| |
| Rounded Tooltip |
| |
================================================
*/
$('.t-dot').tooltip({
template: '<div class="tooltip status rounded-tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>'
})
/*
================================================
| IE VERSION Dector |
================================================
*/
function GetIEVersion() {
var sAgent = window.navigator.userAgent;
var Idx = sAgent.indexOf("MSIE");
// If IE, return version number.
if (Idx > 0)
return parseInt(sAgent.substring(Idx+ 5, sAgent.indexOf(".", Idx)));
// If IE 11 then look for Updated user agent string.
else if (!!navigator.userAgent.match(/Trident\/7\./))
return 11;
else
return 0; //It is not IE
}
BIN
View File
Binary file not shown.
-12
View File
@@ -1,12 +0,0 @@
@import url('main.css');
@import url('../plugins/perfect-scrollbar/perfect-scrollbar.css');
@import url('structure.css');
/*
Importing highlight.js CSS code
Just for demo purpose only
@Note:- monokai-sublime.css stylesheet is for highliting the code;
*/
@import '../plugins/highlight/styles/monokai-sublime.css';
BIN
View File
Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More