Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Master Project Assignment Software
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Odin Johan Vatne
Master Project Assignment Software
Commits
57607729
Commit
57607729
authored
3 years ago
by
Odin Johan Vatne
Browse files
Options
Downloads
Patches
Plain Diff
Add buffer to project priority
parent
50d62603
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
pasapp/static/pasapp/css/applications.css
+4
-0
4 additions, 0 deletions
pasapp/static/pasapp/css/applications.css
pasapp/templates/pasapp/pages/student_applications.html
+8
-4
8 additions, 4 deletions
pasapp/templates/pasapp/pages/student_applications.html
with
12 additions
and
4 deletions
pasapp/static/pasapp/css/applications.css
+
4
−
0
View file @
57607729
...
@@ -2,6 +2,10 @@
...
@@ -2,6 +2,10 @@
padding-inline-start
:
1em
;
padding-inline-start
:
1em
;
}
}
.priorityLi.overflow
{
list-style-type
:
none
;
}
#student-applications-list
{
#student-applications-list
{
padding-inline-start
:
0
;
padding-inline-start
:
0
;
}
}
...
...
This diff is collapsed.
Click to expand it.
pasapp/templates/pasapp/pages/student_applications.html
+
8
−
4
View file @
57607729
...
@@ -10,12 +10,16 @@
...
@@ -10,12 +10,16 @@
{% block content %}
{% block content %}
{% load html_components %}
{% load html_components %}
{% load custom_filters %}
{% load custom_filters %}
{% if applications %}
{% if applications
or closedApplications
%}
<form
action=
"/applications/update_priorities/"
method=
"post"
>
<form
action=
"/applications/update_priorities/"
method=
"post"
>
{% csrf_token %}
{% csrf_token %}
<ol
id=
"student-priority-list"
>
<ol
id=
"student-priority-list"
>
{% for i in 5|times %}
{% for i in 8|times %}
<li>
{% if i
<
=
5
%}
<
li
class=
"priorityLi"
>
{% else %}
<li
class=
"priorityLi overflow"
>
{% endif %}
<select
class=
"prioritySelect"
name=
"priority{{i}}"
oninput=
"checkForConflicts(this)"
>
<select
class=
"prioritySelect"
name=
"priority{{i}}"
oninput=
"checkForConflicts(this)"
>
<option
value=
""
>
--
</option>
<option
value=
""
>
--
</option>
{% for application in applications %}
{% for application in applications %}
...
@@ -50,7 +54,7 @@
...
@@ -50,7 +54,7 @@
{% endfor %}
{% endfor %}
{% endif %}
{% endif %}
{% if closedApplications %}
{% if closedApplications %}
<h2>
Declin
ed Applications
</h2>
<h2>
Clos
ed Applications
</h2>
{% for application in closedApplications %}
{% for application in closedApplications %}
{% application_student application comments|for_application:application False %}
{% application_student application comments|for_application:application False %}
{% endfor %}
{% endfor %}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment