Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
midterm_princessgabi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ysabella Panghulan
midterm_princessgabi
Commits
afa97d0c
Commit
afa97d0c
authored
May 13, 2023
by
Ysabella Panghulan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edited assignments template
parent
ed010477
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
34 deletions
+28
-34
assignments.html
...ssgabi/assignments/templates/assignments/assignments.html
+28
-15
assingments.html
...ssgabi/assignments/templates/assignments/assingments.html
+0
-19
No files found.
widget_princessgabi/assignments/templates/assignments/assignments.html
View file @
afa97d0c
{% extends 'base.html' %}
{% load static %}
{% block stylesheets %}
<link
rel=
"stylesheet"
href=
"{% static 'calendar.css' %}"
>
<link
rel=
"stylesheet"
href=
"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
>
{% endblock %}
{% block title %}Widget's Assignments{% endblock %}
{% block heading %}Welcome to Widget's Assignments{% endblock %}
{% block header %}Welcome to Widget's Assignments{% endblock %}
{% block body %}
{% block content %}
<ul>
{% for assignment in assignments %}
<li>
<a
href=
"{ assignment.get_absolute_url }"
>
{{assignment}}
</a>
</li>
{% endfor %}
<a
href=
"{% url 'assignments:assignment-add' %}"
>
<button>
New Assignment
</button>
</a><br>
</ul>
<a
href=
"/dashboard/"
>
Dashboard
</a>
<a
href=
"/announcements/"
>
Announcements
</a>
<a
href=
"/forum/"
>
Forum
</a>
<a
href=
"/calendar/"
>
Calendar
</a>
<div
class=
"main"
>
<div
class=
"list"
>
<ul>
{% for assignment in assignments %}
<li>
<a
href=
"{ assignment.get_absolute_url }"
>
{{assignment}}
</a>
</li>
{% endfor %}
</ul>
</div>
<a
href=
"{% url 'assignments:assignment-add' %}"
class=
"add-btn"
><i
class=
"fa fa-plus"
></i>
New Assignment
</a>
</div>
{% endblock %}
<div
class=
"links"
>
<a
href=
"/dashboard/"
>
Dashboard
</a>
<a
href=
"/announcements/"
>
Announcements
</a>
<a
href=
"/forum/"
>
Forum
</a>
<a
href=
"/calendar/"
>
Calendar
</a>
</div>
{% endblock %}
\ No newline at end of file
widget_princessgabi/assignments/templates/assignments/assingments.html
deleted
100644 → 0
View file @
ed010477
{% extends 'base.html' %}
{% block title %}Widget's Assignments{% endblock %}
{% block heading %}Welcome to Widget's Assignments{% endblock %}
{% block content %}
<ul>
{% for assignment in assignments %}
<li>
<a
href=
"{ assignment.get_absolute_url }"
></a>
</li>
{% endfor %}
<a
href=
"{% url 'add-assignment' assignment.id %}"
>
<button>
{{ assignment.title }}
</button>
</a><br>
</ul>
<a
href=
"{% url 'dashboard:dashboard' %}"
>
Dashboard
</a><br>
<a
href=
"{% url 'announcements:announcements' %}"
>
Announcements
</a><br>
<a
href=
"{% url 'forum:forum' %}"
>
Forum
</a><br>
<a
href=
"{% url 'calendar:calendar' %}"
>
Calendar
</a>
{% endblock %}
\ 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