Fix up review nav
This commit is contained in:
parent
6789b25e69
commit
430d3dad99
7 changed files with 34 additions and 22 deletions
|
@ -1 +1 @@
|
|||
<link href='/site_media/static/css/site-1ea4a7c4e1.css' rel='stylesheet' />
|
||||
<link href='/site_media/static/css/site-eb9a4a34f0.css' rel='stylesheet' />
|
||||
|
|
|
@ -54,16 +54,15 @@
|
|||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
{% block sidebar %}
|
||||
<ul class="nav nav-list well">
|
||||
{% for section in review_sections %}
|
||||
<li class="nav-header">
|
||||
{{ section }}
|
||||
</li>
|
||||
<li>
|
||||
<a href="{% url "review_section" section.section.slug %}">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">{{ section }}</h3>
|
||||
</div>
|
||||
<div class="list-group">
|
||||
<a class="list-group-item review-list" href="{% url "review_section" section.section.slug %}">
|
||||
{% trans "All Reviews" %}
|
||||
</a>
|
||||
</li>
|
||||
{% comment %}
|
||||
<li>
|
||||
<a href="{% url "review_section_assignments" section.section.slug %}">
|
||||
|
@ -71,18 +70,14 @@
|
|||
</a>
|
||||
</li>
|
||||
{% endcomment %}
|
||||
<li>
|
||||
<a href="{% url "review_status" section.section.slug %}">
|
||||
<a class="list-group-item voting-status" href="{% url "review_status" section.section.slug %}">
|
||||
{% trans "Voting Status" %}
|
||||
</a>
|
||||
</li>
|
||||
{% if request.user.is_staff %}
|
||||
<li>
|
||||
<a href="{% url "result_notification" section.section.slug 'accepted' %}">Result Notification</a>
|
||||
</li>
|
||||
<a class="list-group-item review-results" href="{% url "result_notification" section.section.slug 'accepted' %}">Result Notification</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock %}
|
||||
</div>
|
||||
<div class="col-md-10">
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
|
||||
{% load i18n %}
|
||||
|
||||
|
||||
{% block body_class %}{{ block.super }} review-results{% endblock %}
|
||||
|
||||
{% block extra_style %}
|
||||
<style type="text/css">
|
||||
.table-striped tbody tr.selected td {
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
{% extends "symposion/reviews/base.html" %}
|
||||
|
||||
|
||||
{% block body_class %}{{ block.super }} review-list{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<h3>{{ section }}</h3>
|
||||
{% if reviewed == 'all_reviews' %}
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
{% extends "symposion/reviews/base.html" %}
|
||||
|
||||
{% block body_class %}{{ block.super }} voting-status{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<h1>Voting Status ({{ section_slug }})</h1>
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -27,3 +27,12 @@ p.login-signup {
|
|||
margin: 2em 0;
|
||||
}
|
||||
}
|
||||
|
||||
body.reviews.review-list .review-list,
|
||||
body.reviews.voting-status .voting-status,
|
||||
body.reviews.review-results .review-results {
|
||||
z-index: 2; // Place active items above their siblings for proper border styling
|
||||
color: @list-group-active-color;
|
||||
background-color: @list-group-active-bg;
|
||||
border-color: @list-group-active-border;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue