Skip to content
Snippets Groups Projects
Commit 49362ddf authored by Chris Lawton's avatar Chris Lawton
Browse files

adding sidebar to individual submission page template

parent 098d7211
No related branches found
No related tags found
No related merge requests found
...@@ -17,22 +17,32 @@ ...@@ -17,22 +17,32 @@
<div>Submission Details</div> <div>Submission Details</div>
<div class="wrapper wrapper--medium wrapper--top-bottom-inner-space"> <div class="wrapper wrapper--medium wrapper--top-bottom-inner-space">
Submitted: {{ object.submit_time.date }} by {{ object.user.get_full_name }} <div class="wrapper wrapper--sidebar">
<h2>Proposal Information</h2> <div>
<div> <h6 class="heading heading--submission-meta">
Requested Funding {{ object.value }} <span>Submitted: </span>{{ object.submit_time.date }} by {{ object.user.get_full_name }}
Project Duration {{ object.value }} </h6>
Legal Name {{ object.full_name }}
Email {{ object.email }} <h3>Proposal Information</h3>
</div> <div>
<div> Requested Funding {{ object.value }}
{{ object.render_answers }} Project Duration {{ object.value }}
Legal Name {{ object.full_name }}
Email {{ object.email }}
</div>
<div>
{{ object.render_answers }}
</div>
</div>
<aside class="sidebar">
<div class="sidebar__inner">
<h3>Other Submissions</h3>
{% for submission in other_submissions %}
<a href="{% url 'funds:submission' submission.id %}">{{ submission.title }}</a>
{% endfor %}
</div>
</aside>
</div> </div>
</div>
<div>
<h3>Other Submissions</h3>
{% for submission in other_submissions %}
<a href="{% url 'funds:submission' submission.id %}">{{ submission.title }}</a>
{% endfor %}
</div> </div>
{% endblock %} {% endblock %}
...@@ -20,4 +20,12 @@ ...@@ -20,4 +20,12 @@
} }
} }
} }
&--submission-meta {
color: transparentize($color--dark-grey, 0.5);
span {
font-weight: $weight--normal;
}
}
} }
.sidebar {
flex-basis: 345px;
margin-top: 20px;
@include media-query(tablet-portrait) {
margin: 0 20px 0 0;
}
&__inner {
padding: 20px;
border: 1px solid $color--mid-grey;
}
}
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
@import 'components/button'; @import 'components/button';
@import 'components/heading'; @import 'components/heading';
@import 'components/icon'; @import 'components/icon';
@import 'components/sidebar';
@import 'components/status-bar'; @import 'components/status-bar';
@import 'components/wrapper'; @import 'components/wrapper';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment