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
e7f61c54
Commit
e7f61c54
authored
May 14, 2023
by
Ysabella Panghulan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'assignmentsv2'
parents
1b11bdbd
21eac579
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
60 additions
and
21 deletions
+60
-21
assignment.css
...rincessgabi/assignments/static/assignments/assignment.css
+0
-0
assignments.css
...incessgabi/assignments/static/assignments/assignments.css
+14
-0
assignment-add.html
...abi/assignments/templates/assignments/assignment-add.html
+15
-7
assignment-details.html
...assignments/templates/assignments/assignment-details.html
+16
-7
assignment-edit.html
...bi/assignments/templates/assignments/assignment-edit.html
+15
-7
No files found.
widget_princessgabi/assignments/static/assignments/assignment.css
deleted
100644 → 0
View file @
1b11bdbd
widget_princessgabi/assignments/static/assignments/assignments.css
View file @
e7f61c54
body
{
height
:
100vh
;
background-color
:
#E9E3FE
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
.event-content
{
margin-top
:
auto
;
padding
:
2rem
;
border-radius
:
0.5rem
;
background-color
:
white
}
widget_princessgabi/assignments/templates/assignments/assignment-add.html
View file @
e7f61c54
{% extends 'base.html' %}
{% load static %}
{% block stylesheets %}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static 'stylesheets/forms.css' %}"
>
{% endblock %}
{% block title %}Add Assignment{% endblock %}
{% block header %}Add a new assignment:{% endblock %}
{% block content %}
<form
method=
"POST"
>
{% csrf_token %}
{{ form.as_p }}
<input
type=
"SUBMIT"
value=
"Save New Assignment"
>
</form>
{% block header %}
<h1>
Add a new assignment:
</h1>
{% endblock %}
{% block body %}
{% block content %}
<div
class=
"form"
>
<form
method=
"POST"
>
{% csrf_token %}
{{ form }}
<input
type=
"SUBMIT"
value=
"Save New Assignment"
>
</form>
</div>
{% endblock %}
{% endblock %}
\ No newline at end of file
widget_princessgabi/assignments/templates/assignments/assignment-details.html
View file @
e7f61c54
{% extends 'base.html' %}
{% load static %}
{% block stylesheets %}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static 'assignments/assignments.css' %}"
>
<link
rel=
"stylesheet"
href=
"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
>
{% endblock %}
{% block title %}{{ assignment.name }}{% endblock %}
{% block heading %}{{ assignment.name }}{% endblock %}
{% block content %}
<p>
{% block heading %}
<h1>
{{ assignment.name }}
</h1>
{% endblock %}
{% block body %}
<div
class=
"assignments-content"
>
{% block content %}
<div
class=
"details"
>
<h4>
{{ assignment.course.code }} {{ assignment.course.title }} - {{ assignment.course.section }}
<br>
Description: {{ assignment.description }}
<br>
Perfert Score: {{ assignment.perfect_score }}
<br>
Passing Score: {{ assignment.passing_score }}
</p>
<a
href=
"{% url 'assignments:assignment-edit' assignment.id %}"
>
<button>
Edit Assignment
</button>
</a><br>
</h4>
<a
href=
"{% url 'assignments:assignment-edit' assignment.id %}"
class=
"edit-btn"
><i
class=
"fa fa-edit"
></i>
Edit Assignment
</a>
</div>
{% endblock %}
</div>
{% endblock %}
\ No newline at end of file
widget_princessgabi/assignments/templates/assignments/assignment-edit.html
View file @
e7f61c54
{% extends 'base.html' %}
{% load static %}
{% block stylesheets %}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static 'stylesheets/forms.css' %}"
>
{% endblock %}
{% block title %}Edit Assignment{% endblock %}
{% block header %}Edit Assignment:{% endblock %}
{% block content %}
<form
method=
"POST"
>
{% csrf_token %}
{{ form.as_p }}
<input
type=
"SUBMIT"
value=
"Save Changes to Assignment"
>
</form>
{% block header %}
<h1>
Edit Assignment:
</h1>
{% endblock %}
{% block body %}
{% block content %}
<div
class=
"form"
>
<form
method=
"POST"
action=
""
>
{% csrf_token %}
{{ form }}
<input
type=
"SUBMIT"
value=
"Save Changes to Assignment"
>
</form>
</div>
{% endblock %}
{% 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