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
f99b928b
Commit
f99b928b
authored
Oct 22, 2020
by
I.K Seneviratne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Committing the minor changes in the template.html.
parent
ca1b4798
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 @
f99b928b
...
@@ -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