Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2020-101
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2020-101
2020-101
Commits
3e50595d
Commit
3e50595d
authored
Apr 13, 2020
by
SohanDanushka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Committing LectureAssets LecturerApp css, images, js
parent
f8643fc9
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
339 additions
and
0 deletions
+339
-0
LecturerAssets/LecturerApp/css/all.min.css
LecturerAssets/LecturerApp/css/all.min.css
+5
-0
LecturerAssets/LecturerApp/css/sb-admin-2.min.css
LecturerAssets/LecturerApp/css/sb-admin-2.min.css
+10
-0
LecturerAssets/LecturerApp/images/ajax-loader.gif
LecturerAssets/LecturerApp/images/ajax-loader.gif
+0
-0
LecturerAssets/LecturerApp/js/demo/chart-area-demo.js
LecturerAssets/LecturerApp/js/demo/chart-area-demo.js
+118
-0
LecturerAssets/LecturerApp/js/demo/chart-bar-demo.js
LecturerAssets/LecturerApp/js/demo/chart-bar-demo.js
+111
-0
LecturerAssets/LecturerApp/js/demo/chart-pie-demo.js
LecturerAssets/LecturerApp/js/demo/chart-pie-demo.js
+35
-0
LecturerAssets/LecturerApp/js/demo/datatables-demo.js
LecturerAssets/LecturerApp/js/demo/datatables-demo.js
+4
-0
LecturerAssets/LecturerApp/js/sb-admin-2.js
LecturerAssets/LecturerApp/js/sb-admin-2.js
+49
-0
LecturerAssets/LecturerApp/js/sb-admin-2.min.js
LecturerAssets/LecturerApp/js/sb-admin-2.min.js
+7
-0
No files found.
LecturerAssets/LecturerApp/css/all.min.css
0 → 100644
View file @
3e50595d
This diff is collapsed.
Click to expand it.
LecturerAssets/LecturerApp/css/sb-admin-2.min.css
0 → 100644
View file @
3e50595d
This source diff could not be displayed because it is too large. You can
view the blob
instead.
LecturerAssets/LecturerApp/images/ajax-loader.gif
0 → 100644
View file @
3e50595d
3.13 KB
LecturerAssets/LecturerApp/js/demo/chart-area-demo.js
0 → 100644
View file @
3e50595d
// Set new default font family and font color to mimic Bootstrap's default styling
Chart
.
defaults
.
global
.
defaultFontFamily
=
'
Nunito
'
,
'
-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif
'
;
Chart
.
defaults
.
global
.
defaultFontColor
=
'
#858796
'
;
function
number_format
(
number
,
decimals
,
dec_point
,
thousands_sep
)
{
// * example: number_format(1234.56, 2, ',', ' ');
// * return: '1 234,56'
number
=
(
number
+
''
).
replace
(
'
,
'
,
''
).
replace
(
'
'
,
''
);
var
n
=
!
isFinite
(
+
number
)
?
0
:
+
number
,
prec
=
!
isFinite
(
+
decimals
)
?
0
:
Math
.
abs
(
decimals
),
sep
=
(
typeof
thousands_sep
===
'
undefined
'
)
?
'
,
'
:
thousands_sep
,
dec
=
(
typeof
dec_point
===
'
undefined
'
)
?
'
.
'
:
dec_point
,
s
=
''
,
toFixedFix
=
function
(
n
,
prec
)
{
var
k
=
Math
.
pow
(
10
,
prec
);
return
''
+
Math
.
round
(
n
*
k
)
/
k
;
};
// Fix for IE parseFloat(0.55).toFixed(0) = 0;
s
=
(
prec
?
toFixedFix
(
n
,
prec
)
:
''
+
Math
.
round
(
n
)).
split
(
'
.
'
);
if
(
s
[
0
].
length
>
3
)
{
s
[
0
]
=
s
[
0
].
replace
(
/
\B(?=(?:\d{3})
+
(?!\d))
/g
,
sep
);
}
if
((
s
[
1
]
||
''
).
length
<
prec
)
{
s
[
1
]
=
s
[
1
]
||
''
;
s
[
1
]
+=
new
Array
(
prec
-
s
[
1
].
length
+
1
).
join
(
'
0
'
);
}
return
s
.
join
(
dec
);
}
// Area Chart Example
var
ctx
=
document
.
getElementById
(
"
myAreaChart
"
);
var
myLineChart
=
new
Chart
(
ctx
,
{
type
:
'
line
'
,
data
:
{
labels
:
[
"
Jan
"
,
"
Feb
"
,
"
Mar
"
,
"
Apr
"
,
"
May
"
,
"
Jun
"
,
"
Jul
"
,
"
Aug
"
,
"
Sep
"
,
"
Oct
"
,
"
Nov
"
,
"
Dec
"
],
datasets
:
[{
label
:
"
Earnings
"
,
lineTension
:
0.3
,
backgroundColor
:
"
rgba(78, 115, 223, 0.05)
"
,
borderColor
:
"
rgba(78, 115, 223, 1)
"
,
pointRadius
:
3
,
pointBackgroundColor
:
"
rgba(78, 115, 223, 1)
"
,
pointBorderColor
:
"
rgba(78, 115, 223, 1)
"
,
pointHoverRadius
:
3
,
pointHoverBackgroundColor
:
"
rgba(78, 115, 223, 1)
"
,
pointHoverBorderColor
:
"
rgba(78, 115, 223, 1)
"
,
pointHitRadius
:
10
,
pointBorderWidth
:
2
,
data
:
[
0
,
10000
,
5000
,
15000
,
10000
,
20000
,
15000
,
25000
,
20000
,
30000
,
25000
,
40000
],
}],
},
options
:
{
maintainAspectRatio
:
false
,
layout
:
{
padding
:
{
left
:
10
,
right
:
25
,
top
:
25
,
bottom
:
0
}
},
scales
:
{
xAxes
:
[{
time
:
{
unit
:
'
date
'
},
gridLines
:
{
display
:
false
,
drawBorder
:
false
},
ticks
:
{
maxTicksLimit
:
7
}
}],
yAxes
:
[{
ticks
:
{
maxTicksLimit
:
5
,
padding
:
10
,
// Include a dollar sign in the ticks
callback
:
function
(
value
,
index
,
values
)
{
return
'
$
'
+
number_format
(
value
);
}
},
gridLines
:
{
color
:
"
rgb(234, 236, 244)
"
,
zeroLineColor
:
"
rgb(234, 236, 244)
"
,
drawBorder
:
false
,
borderDash
:
[
2
],
zeroLineBorderDash
:
[
2
]
}
}],
},
legend
:
{
display
:
false
},
tooltips
:
{
backgroundColor
:
"
rgb(255,255,255)
"
,
bodyFontColor
:
"
#858796
"
,
titleMarginBottom
:
10
,
titleFontColor
:
'
#6e707e
'
,
titleFontSize
:
14
,
borderColor
:
'
#dddfeb
'
,
borderWidth
:
1
,
xPadding
:
15
,
yPadding
:
15
,
displayColors
:
false
,
intersect
:
false
,
mode
:
'
index
'
,
caretPadding
:
10
,
callbacks
:
{
label
:
function
(
tooltipItem
,
chart
)
{
var
datasetLabel
=
chart
.
datasets
[
tooltipItem
.
datasetIndex
].
label
||
''
;
return
datasetLabel
+
'
: $
'
+
number_format
(
tooltipItem
.
yLabel
);
}
}
}
}
});
LecturerAssets/LecturerApp/js/demo/chart-bar-demo.js
0 → 100644
View file @
3e50595d
// Set new default font family and font color to mimic Bootstrap's default styling
Chart
.
defaults
.
global
.
defaultFontFamily
=
'
Nunito
'
,
'
-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif
'
;
Chart
.
defaults
.
global
.
defaultFontColor
=
'
#858796
'
;
function
number_format
(
number
,
decimals
,
dec_point
,
thousands_sep
)
{
// * example: number_format(1234.56, 2, ',', ' ');
// * return: '1 234,56'
number
=
(
number
+
''
).
replace
(
'
,
'
,
''
).
replace
(
'
'
,
''
);
var
n
=
!
isFinite
(
+
number
)
?
0
:
+
number
,
prec
=
!
isFinite
(
+
decimals
)
?
0
:
Math
.
abs
(
decimals
),
sep
=
(
typeof
thousands_sep
===
'
undefined
'
)
?
'
,
'
:
thousands_sep
,
dec
=
(
typeof
dec_point
===
'
undefined
'
)
?
'
.
'
:
dec_point
,
s
=
''
,
toFixedFix
=
function
(
n
,
prec
)
{
var
k
=
Math
.
pow
(
10
,
prec
);
return
''
+
Math
.
round
(
n
*
k
)
/
k
;
};
// Fix for IE parseFloat(0.55).toFixed(0) = 0;
s
=
(
prec
?
toFixedFix
(
n
,
prec
)
:
''
+
Math
.
round
(
n
)).
split
(
'
.
'
);
if
(
s
[
0
].
length
>
3
)
{
s
[
0
]
=
s
[
0
].
replace
(
/
\B(?=(?:\d{3})
+
(?!\d))
/g
,
sep
);
}
if
((
s
[
1
]
||
''
).
length
<
prec
)
{
s
[
1
]
=
s
[
1
]
||
''
;
s
[
1
]
+=
new
Array
(
prec
-
s
[
1
].
length
+
1
).
join
(
'
0
'
);
}
return
s
.
join
(
dec
);
}
// Bar Chart Example
var
ctx
=
document
.
getElementById
(
"
myBarChart
"
);
var
myBarChart
=
new
Chart
(
ctx
,
{
type
:
'
bar
'
,
data
:
{
labels
:
[
"
January
"
,
"
February
"
,
"
March
"
,
"
April
"
,
"
May
"
,
"
June
"
],
datasets
:
[{
label
:
"
Revenue
"
,
backgroundColor
:
"
#4e73df
"
,
hoverBackgroundColor
:
"
#2e59d9
"
,
borderColor
:
"
#4e73df
"
,
data
:
[
4215
,
5312
,
6251
,
7841
,
9821
,
14984
],
}],
},
options
:
{
maintainAspectRatio
:
false
,
layout
:
{
padding
:
{
left
:
10
,
right
:
25
,
top
:
25
,
bottom
:
0
}
},
scales
:
{
xAxes
:
[{
time
:
{
unit
:
'
month
'
},
gridLines
:
{
display
:
false
,
drawBorder
:
false
},
ticks
:
{
maxTicksLimit
:
6
},
maxBarThickness
:
25
,
}],
yAxes
:
[{
ticks
:
{
min
:
0
,
max
:
15000
,
maxTicksLimit
:
5
,
padding
:
10
,
// Include a dollar sign in the ticks
callback
:
function
(
value
,
index
,
values
)
{
return
'
$
'
+
number_format
(
value
);
}
},
gridLines
:
{
color
:
"
rgb(234, 236, 244)
"
,
zeroLineColor
:
"
rgb(234, 236, 244)
"
,
drawBorder
:
false
,
borderDash
:
[
2
],
zeroLineBorderDash
:
[
2
]
}
}],
},
legend
:
{
display
:
false
},
tooltips
:
{
titleMarginBottom
:
10
,
titleFontColor
:
'
#6e707e
'
,
titleFontSize
:
14
,
backgroundColor
:
"
rgb(255,255,255)
"
,
bodyFontColor
:
"
#858796
"
,
borderColor
:
'
#dddfeb
'
,
borderWidth
:
1
,
xPadding
:
15
,
yPadding
:
15
,
displayColors
:
false
,
caretPadding
:
10
,
callbacks
:
{
label
:
function
(
tooltipItem
,
chart
)
{
var
datasetLabel
=
chart
.
datasets
[
tooltipItem
.
datasetIndex
].
label
||
''
;
return
datasetLabel
+
'
: $
'
+
number_format
(
tooltipItem
.
yLabel
);
}
}
},
}
});
LecturerAssets/LecturerApp/js/demo/chart-pie-demo.js
0 → 100644
View file @
3e50595d
// Set new default font family and font color to mimic Bootstrap's default styling
Chart
.
defaults
.
global
.
defaultFontFamily
=
'
Nunito
'
,
'
-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif
'
;
Chart
.
defaults
.
global
.
defaultFontColor
=
'
#858796
'
;
// Pie Chart Example
var
ctx
=
document
.
getElementById
(
"
myPieChart
"
);
var
myPieChart
=
new
Chart
(
ctx
,
{
type
:
'
doughnut
'
,
data
:
{
labels
:
[
"
Direct
"
,
"
Referral
"
,
"
Social
"
],
datasets
:
[{
data
:
[
55
,
30
,
15
],
backgroundColor
:
[
'
#4e73df
'
,
'
#1cc88a
'
,
'
#36b9cc
'
],
hoverBackgroundColor
:
[
'
#2e59d9
'
,
'
#17a673
'
,
'
#2c9faf
'
],
hoverBorderColor
:
"
rgba(234, 236, 244, 1)
"
,
}],
},
options
:
{
maintainAspectRatio
:
false
,
tooltips
:
{
backgroundColor
:
"
rgb(255,255,255)
"
,
bodyFontColor
:
"
#858796
"
,
borderColor
:
'
#dddfeb
'
,
borderWidth
:
1
,
xPadding
:
15
,
yPadding
:
15
,
displayColors
:
false
,
caretPadding
:
10
,
},
legend
:
{
display
:
false
},
cutoutPercentage
:
80
,
},
});
LecturerAssets/LecturerApp/js/demo/datatables-demo.js
0 → 100644
View file @
3e50595d
// Call the dataTables jQuery plugin
$
(
document
).
ready
(
function
()
{
$
(
'
#dataTable
'
).
DataTable
();
});
LecturerAssets/LecturerApp/js/sb-admin-2.js
0 → 100644
View file @
3e50595d
(
function
(
$
)
{
"
use strict
"
;
// Start of use strict
// Toggle the side navigation
$
(
"
#sidebarToggle, #sidebarToggleTop
"
).
on
(
'
click
'
,
function
(
e
)
{
$
(
"
body
"
).
toggleClass
(
"
sidebar-toggled
"
);
$
(
"
.sidebar
"
).
toggleClass
(
"
toggled
"
);
if
(
$
(
"
.sidebar
"
).
hasClass
(
"
toggled
"
))
{
$
(
'
.sidebar .collapse
'
).
collapse
(
'
hide
'
);
};
});
// Close any open menu accordions when window is resized below 768px
$
(
window
).
resize
(
function
()
{
if
(
$
(
window
).
width
()
<
768
)
{
$
(
'
.sidebar .collapse
'
).
collapse
(
'
hide
'
);
};
});
// Prevent the content wrapper from scrolling when the fixed side navigation hovered over
$
(
'
body.fixed-nav .sidebar
'
).
on
(
'
mousewheel DOMMouseScroll wheel
'
,
function
(
e
)
{
if
(
$
(
window
).
width
()
>
768
)
{
var
e0
=
e
.
originalEvent
,
delta
=
e0
.
wheelDelta
||
-
e0
.
detail
;
this
.
scrollTop
+=
(
delta
<
0
?
1
:
-
1
)
*
30
;
e
.
preventDefault
();
}
});
// Scroll to top button appear
$
(
document
).
on
(
'
scroll
'
,
function
()
{
var
scrollDistance
=
$
(
this
).
scrollTop
();
if
(
scrollDistance
>
100
)
{
$
(
'
.scroll-to-top
'
).
fadeIn
();
}
else
{
$
(
'
.scroll-to-top
'
).
fadeOut
();
}
});
// Smooth scrolling using jQuery easing
$
(
document
).
on
(
'
click
'
,
'
a.scroll-to-top
'
,
function
(
e
)
{
var
$anchor
=
$
(
this
);
$
(
'
html, body
'
).
stop
().
animate
({
scrollTop
:
(
$
(
$anchor
.
attr
(
'
href
'
)).
offset
().
top
)
},
1000
,
'
easeInOutExpo
'
);
e
.
preventDefault
();
});
})(
jQuery
);
// End of use strict
LecturerAssets/LecturerApp/js/sb-admin-2.min.js
0 → 100644
View file @
3e50595d
/*!
* Start Bootstrap - SB Admin 2 v4.0.7 (https://startbootstrap.com/template-overviews/sb-admin-2)
* Copyright 2013-2019 Start Bootstrap
* Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-sb-admin-2/blob/master/LICENSE)
*/
!
function
(
t
){
"
use strict
"
;
t
(
"
#sidebarToggle, #sidebarToggleTop
"
).
on
(
"
click
"
,
function
(
o
){
t
(
"
body
"
).
toggleClass
(
"
sidebar-toggled
"
),
t
(
"
.sidebar
"
).
toggleClass
(
"
toggled
"
),
t
(
"
.sidebar
"
).
hasClass
(
"
toggled
"
)
&&
t
(
"
.sidebar .collapse
"
).
collapse
(
"
hide
"
)}),
t
(
window
).
resize
(
function
(){
t
(
window
).
width
()
<
768
&&
t
(
"
.sidebar .collapse
"
).
collapse
(
"
hide
"
)}),
t
(
"
body.fixed-nav .sidebar
"
).
on
(
"
mousewheel DOMMouseScroll wheel
"
,
function
(
o
){
if
(
768
<
t
(
window
).
width
()){
var
e
=
o
.
originalEvent
,
l
=
e
.
wheelDelta
||-
e
.
detail
;
this
.
scrollTop
+=
30
*
(
l
<
0
?
1
:
-
1
),
o
.
preventDefault
()}}),
t
(
document
).
on
(
"
scroll
"
,
function
(){
100
<
t
(
this
).
scrollTop
()?
t
(
"
.scroll-to-top
"
).
fadeIn
():
t
(
"
.scroll-to-top
"
).
fadeOut
()}),
t
(
document
).
on
(
"
click
"
,
"
a.scroll-to-top
"
,
function
(
o
){
var
e
=
t
(
this
);
t
(
"
html, body
"
).
stop
().
animate
({
scrollTop
:
t
(
e
.
attr
(
"
href
"
)).
offset
().
top
},
1
e3
,
"
easeInOutExpo
"
),
o
.
preventDefault
()})}(
jQuery
);
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment