SciPost Code Repository
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SciPost
Manage
Activity
Members
Labels
Plan
Issues
118
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
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
SciPost
SciPost
Commits
c9242562
Commit
c9242562
authored
7 years ago
by
Jorran de Wit
Browse files
Options
Downloads
Patches
Plain Diff
Why is webpack so inconsistent?!?!
parent
91210cca
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
virtualmeetings/templates/virtualmeetings/VGM_detail.html
+58
-58
58 additions, 58 deletions
virtualmeetings/templates/virtualmeetings/VGM_detail.html
with
58 additions
and
58 deletions
virtualmeetings/templates/virtualmeetings/VGM_detail.html
+
58
−
58
View file @
c9242562
...
...
@@ -167,7 +167,7 @@
<div
class=
"card-body collapse bg-white"
id=
"collapse{{ domain }}"
aria-labelledby=
"heading{{ domain }}"
data-parent=
"#accordion"
>
{% for sp, val in spec %}
<div
class=
"card"
>
<div
class=
"card-body"
>
<div
class=
"card-body
bg-white
"
>
<a
href=
"#"
class=
"card-link"
id=
"heading{{ forloop.counter }}"
data-toggle=
"collapse"
data-target=
"#collapse{{ forloop.counter }}"
aria-expanded=
"false"
aria-controls=
"collapse{{ forloop.counter }}"
>
{{ sp }}
</a>
<br>
{{ val }}
</div>
...
...
@@ -175,10 +175,10 @@
{% for nomination in nominations %}
{% if sp in nomination.expertises %}
<li
class=
"list-group-item"
>
<div
class=
"card-body"
>
<div
class=
"card-body
bg-white
"
>
{% include 'virtualmeetings/nomination_content.html' with nomination=nomination %}
</div>
<div
class=
"card-body"
>
<div
class=
"card-body
bg-white
"
>
<div
class=
"opinionsDisplay mx-0 px-3 py-2"
>
<h4>
Your opinion on this Nomination (voting deadline: {{ nomination.voting_deadline|date:'y-m-d' }}):
</h4>
<form
action=
"{% url 'virtualmeetings:vote_on_nomination' nomination_id=nomination.id vote='A' %}"
method=
"post"
>
...
...
@@ -202,7 +202,7 @@
{% endif %}
</div>
</div>
<div
class=
"card-body"
>
<div
class=
"card-body
bg-white
"
>
<a
href=
"javascript:;"
class=
"card-link btn btn-secondary"
data-toggle=
"toggle"
data-target=
"#remarkForm{{ nomination.id }}"
>
Add a remark on this Nomination
</a>
<div
class=
"submitRemarkForm my-3"
id=
"remarkForm{{ nomination.id }}"
style=
"display: none;"
>
<form
action=
"{% url 'virtualmeetings:add_remark_on_nomination' VGM_id=VGM.id nomination_id=nomination.id %}"
method=
"post"
>
...
...
@@ -212,7 +212,7 @@
</form>
</div>
</div>
<div
class=
"card-body"
>
<div
class=
"card-body
bg-white
"
>
<h3>
Remarks on this nomination
</h3>
<ul>
{% for rem in nomination.remarks.all %}
...
...
@@ -260,60 +260,60 @@
</div>
</div>
{% for key, val in motion_categories_dict.items %}
<div
class=
"row"
>
<div
class=
"col-12"
><h2>
{{ val }}:
</h2></div>
<div
class=
"col-md-11 ml-auto"
>
<ul>
{% for motion in VGM.motion_set.all %}
{% if motion.category == key %}
<li>
{% include 'virtualmeetings/motion_content.html' with motion=motion %}
<div
class=
"d-block mb-3 opinionsDisplay"
>
<h4>
Your opinion on this Motion (voting deadline: {{ motion.voting_deadline|date:'y-m-d' }}):
</h4>
<form
action=
"{% url 'virtualmeetings:vote_on_motion' motion_id=motion.id vote='A' %}"
method=
"post"
>
{% csrf_token %}
<input
type=
"submit"
class=
"agree"
value=
"Agree {{ motion.nr_A }} "
/>
</form>
<form
action=
"{% url 'virtualmeetings:vote_on_motion' motion_id=motion.id vote='N' %}"
method=
"post"
>
{% csrf_token %}
<input
type=
"submit"
class=
"notsure"
value=
"Not sure {{ motion.nr_N }}"
/>
</form>
<form
action=
"{% url 'virtualmeetings:vote_on_motion' motion_id=motion.id vote='D'%}"
method=
"post"
>
{% csrf_token %}
<input
type=
"submit"
class=
"disagree"
value=
"Disagree {{ motion.nr_D }}"
/>
</form>
{% if request.user.contributor in motion.in_agreement.all %}
<strong>
(you have voted: Agreed)
</strong>
{% elif request.user.contributor in motion.in_notsure.all %}
<strong>
(you have voted: Not sure)
</strong>
{% elif request.user.contributor in motion.in_disagreement.all %}
<strong>
(you have voted: Disagree)
</strong>
{% for key, val in motion_categories_dict.items %}
<div
class=
"row"
>
<div
class=
"col-12"
><h2>
{{ val }}:
</h2></div>
<div
class=
"col-md-11 ml-auto"
>
<ul>
{% for motion in VGM.motion_set.all %}
{% if motion.category == key %}
<li>
{% include 'virtualmeetings/motion_content.html' with motion=motion %}
<div
class=
"d-block mb-3 opinionsDisplay"
>
<h4>
Your opinion on this Motion (voting deadline: {{ motion.voting_deadline|date:'y-m-d' }}):
</h4>
<form
action=
"{% url 'virtualmeetings:vote_on_motion' motion_id=motion.id vote='A' %}"
method=
"post"
>
{% csrf_token %}
<input
type=
"submit"
class=
"agree"
value=
"Agree {{ motion.nr_A }} "
/>
</form>
<form
action=
"{% url 'virtualmeetings:vote_on_motion' motion_id=motion.id vote='N' %}"
method=
"post"
>
{% csrf_token %}
<input
type=
"submit"
class=
"notsure"
value=
"Not sure {{ motion.nr_N }}"
/>
</form>
<form
action=
"{% url 'virtualmeetings:vote_on_motion' motion_id=motion.id vote='D'%}"
method=
"post"
>
{% csrf_token %}
<input
type=
"submit"
class=
"disagree"
value=
"Disagree {{ motion.nr_D }}"
/>
</form>
{% if request.user.contributor in motion.in_agreement.all %}
<strong>
(you have voted: Agreed)
</strong>
{% elif request.user.contributor in motion.in_notsure.all %}
<strong>
(you have voted: Not sure)
</strong>
{% elif request.user.contributor in motion.in_disagreement.all %}
<strong>
(you have voted: Disagree)
</strong>
{% endif %}
</div>
<a
class=
"btn btn-secondary"
href=
"javascript:;"
data-toggle=
"toggle"
data-target=
"#remarkForm{{ motion.id }}"
>
Add a remark on this Motion
</a>
<div
class=
"submitRemarkForm mt-3"
id=
"remarkForm{{ motion.id }}"
style=
"display: none;"
>
<form
action=
"{% url 'virtualmeetings:add_remark_on_motion' motion_id=motion.id %}"
method=
"post"
>
{% csrf_token %}
{{ remark_form|bootstrap:"0,12" }}
<input
type=
"submit"
class=
"btn btn-secondary"
value=
"Submit"
/>
</form>
</div>
{% if motion.remarks.all %}
<h3>
Remarks on this motion:
</h3>
<ul>
{% for rem in motion.remarks.all %}
{% include 'scipost/_remark_li.html' with remark=rem %}
{% endfor %}
</ul>
{% endif %}
</div>
<a
class=
"btn btn-secondary"
href=
"javascript:;"
data-toggle=
"toggle"
data-target=
"#remarkForm{{ motion.id }}"
>
Add a remark on this Motion
</a>
<div
class=
"submitRemarkForm mt-3"
id=
"remarkForm{{ motion.id }}"
style=
"display: none;"
>
<form
action=
"{% url 'virtualmeetings:add_remark_on_motion' motion_id=motion.id %}"
method=
"post"
>
{% csrf_token %}
{{ remark_form|bootstrap:"0,12" }}
<input
type=
"submit"
class=
"btn btn-secondary"
value=
"Submit"
/>
</form>
</div>
{% if motion.remarks.all %}
<h3>
Remarks on this motion:
</h3>
<ul>
{% for rem in motion.remarks.all %}
{% include 'scipost/_remark_li.html' with remark=rem %}
{% endfor %}
</ul>
{% endif %}
<hr>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
<hr>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
{% endfor %}
{% endblock %}
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