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
Sachith Fernando
2020-101
Commits
096a3719
Commit
096a3719
authored
Oct 25, 2020
by
SohanDanushka
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/QA_RELEASE' into db_and_monitoring_IT17097284
parents
671bde9f
441f9975
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
1 deletion
+28
-1
FirstApp/templates/FirstApp/template.html
FirstApp/templates/FirstApp/template.html
+28
-1
No files found.
FirstApp/templates/FirstApp/template.html
View file @
096a3719
...
@@ -41,11 +41,18 @@
...
@@ -41,11 +41,18 @@
<ul
class=
"navbar-nav bg-gradient-primary sidebar sidebar-dark accordion"
id=
"accordionSidebar"
>
<ul
class=
"navbar-nav bg-gradient-primary sidebar sidebar-dark accordion"
id=
"accordionSidebar"
>
<!-- Sidebar - Brand -->
<!-- Sidebar - Brand -->
<a
class=
"sidebar-brand d-flex align-items-center justify-content-center"
href=
"
index.html
"
>
<a
class=
"sidebar-brand d-flex align-items-center justify-content-center"
href=
"
/
"
>
<div
class=
"sidebar-brand-icon rotate-n-15"
>
<div
class=
"sidebar-brand-icon rotate-n-15"
>
<i
class=
"fas fa-laugh-wink"
></i>
<i
class=
"fas fa-laugh-wink"
></i>
</div>
</div>
{% if request.session.user_type == "Lecturer" %}
<div
class=
"sidebar-brand-text mx-3"
>
SLPES Lecturer
</div>
<div
class=
"sidebar-brand-text mx-3"
>
SLPES Lecturer
</div>
{% endif %}
{% if request.session.user_type == "Admin" %}
<div
class=
"sidebar-brand-text mx-3"
>
SLPES Admin
</div>
{% endif %}
</a>
</a>
<!-- Divider -->
<!-- Divider -->
...
@@ -134,6 +141,26 @@
...
@@ -134,6 +141,26 @@
{% endif %}
{% endif %}
{% if request.session.user_type == "Admin" %}
<!-- Nav Item - Pages Collapse Menu -->
<li
class=
"nav-item"
>
<a
class=
"nav-link collapsed"
href=
"#"
data-toggle=
"collapse"
data-target=
"#collapsePages"
aria-expanded=
"true"
aria-controls=
"collapsePages"
>
<i
class=
"fas fa-fw fa-folder"
></i>
<span>
Pages
</span>
</a>
<div
id=
"collapsePages"
class=
"collapse"
aria-labelledby=
"headingPages"
data-parent=
"#accordionSidebar"
>
<div
class=
"bg-white py-2 collapse-inner rounded"
>
<!-- <h6 class="collapse-header">Login Screens:</h6>-->
<a
class=
"collapse-item"
href=
"/lecturer"
>
Dashboard
</a>
<a
class=
"collapse-item"
href=
"/lecturer/lecture-video"
>
Video Page
</a>
</div>
</div>
</li>
{% endif %}
<!-- Divider -->
<!-- Divider -->
<hr
class=
"sidebar-divider"
>
<hr
class=
"sidebar-divider"
>
...
...
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