mirror of
https://github.com/yogeshojha/rengine.git
synced 2026-09-23 18:24:57 +02:00
Migrated template to assets
This commit is contained in:
+2
-1
@@ -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
@@ -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')),
|
||||
]
|
||||
|
||||
Vendored
BIN
Binary file not shown.
@@ -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
|
||||
======================
|
||||
@@ -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
|
||||
}
|
||||
Vendored
BIN
Binary file not shown.
@@ -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';
|
||||
Vendored
BIN
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user