Clean up styles woo

This commit is contained in:
2018-10-21 10:10:27 -07:00
parent 0eba3c29a3
commit 695a4b9af6
20 changed files with 548 additions and 424 deletions

4
sass/Makefile Normal file
View File

@@ -0,0 +1,4 @@
SRC=$(wildcard *.scss)
all: $(SRC)
sass include.scss ../static/css/site.css

View File

@@ -13,28 +13,30 @@
img {
border: 1px solid $midgray;
max-width: 100%;
width: 100%;
}
}
.actions {
display: flex;
flex-direction: row;
flex-wrap: wrap;
margin: $pad-m 0;
a {
flex: 0 0 auto;
margin-bottom: $pad-m;
margin-right: $pad-m;
text-decoration: none;
font-size: 12px;
font-weight: normal;
}
}
.details {
color: $text;
border: 1px solid $midgray;
border-radius: $pad-s;
font-size: 12px;
font-weight: normal;
margin: $pad-m 0;
padding: $pad-l;
border-radius: $pad-s;
border: 1px solid $midgray;
span {
color: $midgray;

105
sass/globals.scss Normal file
View File

@@ -0,0 +1,105 @@
$purple: #563d7c;
$gold: #fdd017;
$lightgray: #f8f8f8;
$midgray: #969499;
$darkgray: #4b4a4d;
$text: #252526;
$shadowgray: rgba(0, 0, 0, .8);
$lightshadowgray: rgba(0, 0, 0, 0.2);
// size constants
$pad-s: 2px;
$pad-m: 8px;
$pad-l: 16px;
$pad-xl: 36px;
html,
body {
background-color: $lightgray;
color: $text;
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Helvetica,Arial,sans-serif;
height: 100vh;
margin: 0;
padding: 0;
width: 100vw;
}
body {
box-sizing: border-box;
display: flex;
flex-direction: column;
}
.nav {
align-items: center;
box-shadow: 0px 3px 12px $shadowgray;
box-sizing: border-box;
display: flex;
flex-direction: row;
justify-content: space-between;
flex: 0 0 auto;
height: 50px;
padding: $pad-l;
background-color: $purple;
color: $gold;
z-index: 10;
h3 {
font-weight: normal;
font-size: 16px;
margin: 0;
}
a {
color: $gold;
text-decoration: none;
font-size: 16px;
margin-left: $pad-m;
&:hover {
color: darken($gold, 20%);
text-decoration: initial;
}
}
}
.content {
align-items: center;
display: flex;
flex: 1 1 auto;
flex-direction: column;
position: relative;
overflow-y: auto;
min-height: 1;
}
.container {
background-color: #fff;
box-shadow: 0px 3px 12px $lightshadowgray;
display: flex;
flex: 0 0 auto;
flex-direction: column;
min-height: 1;
}
.btn {
background-color: #fff;
border-radius: $pad-s;
border: 1px solid $midgray;
box-sizing: border-box;
color: $purple;
cursor: pointer;
display: inline-block;
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Helvetica,Arial,sans-serif;
font-size: 12px;
font-weight: normal;
padding: $pad-m $pad-l;
text-decoration: none;
vertical-align: middle;
white-space: nowrap;
&:hover {
background-color: lighten($purple, 35%);
}
}

View File

@@ -1,15 +1,17 @@
section {
color: $midgray;
flex: 0 0 auto;
font-weight: lighter;
font-size: 16px;
margin-top: 2*$pad-xl;
margin-bottom: -2*$pad-xl + $pad-l;
max-width: 960px;
margin-right: auto;
margin-left: auto;
margin-top: $pad-xl;
text-align: center;
}
.items {
display: flex;
flex-direction: column;
flex: 1 0 auto;
a.page {
display: inline-block;
margin: $pad-m;
@@ -30,13 +32,33 @@ section {
}
}
.pagination {
box-sizing: border-box;
display: flex;
flex-direction: row;
justify-content: space-between;
margin-bottom: $pad-l;
padding: 0 $pad-xl;
width: 100%;
}
.item {
display: flex;
flex-direction: column;
padding: $pad-m $pad-xl;
margin: 0px;
border-bottom: 1px solid $midgray;
box-sizing: border-box;
width: 100%;
.committeeAndCost {
align-items: center;
display: flex;
flex-direction: row;
justify-content: space-between;
}
.committee {
color: $midgray;
font-size: 12px;
@@ -49,10 +71,11 @@ section {
}
.details-row {
margin: $pad-m 0;
color: $text;
font-size: 16px;
font-weight: lighter;
color: $text;
line-height: 24px;
margin: $pad-m 0;
padding: 0px;
b {
@@ -103,12 +126,6 @@ section {
}
}
@media (min-width: 800px) {
.item .cost {
float: right;
}
}
.empty {
margin: $pad-l;
color: $midgray;
@@ -141,4 +158,9 @@ $button-size: 24px;
height: 36;
font-size: 28;
}
&:hover {
background-color: darken($purple, 10%);
box-shadow: 0 0 12px rgba(0,0,0,.16),0 12px 12px rgba(0,0,0,.32);
}
}

View File

@@ -14,17 +14,18 @@ body.login {
h3 {
font-size: 24px;
margin-bottom: $pad-m;
margin-bottom: 0;
}
h2 {
font-size: 28px;
margin-top: -$pad-l;
margin: 0 auto;
}
.btn {
background-color: $gold;
color: $purple;
font-size: 16px;
&:hover {
background-color: darken($gold, 15%);

54
sass/new.scss Normal file
View File

@@ -0,0 +1,54 @@
h1 {
font-size: 18px;
font-weight: lighter;
color: $purple;
margin: $pad-l;
}
hr {
margin: $pad-l;
color: $midgray;
}
.inputRow {
box-sizing: border-box;
margin-bottom: $pad-l;
padding: 0 $pad-xl;
label {
color: $midgray;
font-weight: bold;
font-size: 12px;
margin-left: $pad-s;
}
input,
select,
textarea {
box-sizing: border-box;
border: 1px solid $midgray;
font-size: 16px;
line-height: 24px;
padding: $pad-s;
width: 100%;
}
textarea {
resize: vertical;
}
}
.editActions {
box-sizing: border-box;
display: flex;
flex-direction: row;
justify-content: space-between;
padding: 0 $pad-xl;
width: 100%;
}
.notes {
color: $midgray;
font-size: 12px;
margin: $pad-l $pad-xl;
}

View File

@@ -1,178 +1,254 @@
html,
body {
color: #252526;
font-family: sans-serif;
background-color: #f8f8f8;
padding-bottom: 0px;
margin: 0px 16px; }
color: #252526;
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Helvetica, Arial, sans-serif;
height: 100vh;
margin: 0;
padding: 0;
width: 100vw;
}
body {
box-sizing: border-box;
display: flex;
flex-direction: column;
}
.nav {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 50px;
align-items: center;
box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.8);
box-sizing: border-box;
display: flex;
flex-direction: row;
justify-content: space-between;
flex: 0 0 auto;
height: 50px;
padding: 16px;
background-color: #563d7c;
color: #fdd017;
box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.8);
z-index: 10; }
.nav h3 {
font-weight: lighter;
font-size: 16px;
margin: 0; }
.nav a {
float: right;
color: #fdd017;
text-decoration: none;
font-size: 16px;
margin-left: 8px; }
z-index: 10;
}
.nav h3 {
font-weight: normal;
font-size: 16px;
margin: 0;
}
.nav a {
color: #fdd017;
text-decoration: none;
font-size: 16px;
margin-left: 8px;
}
.nav a:hover {
color: #ad8b01;
text-decoration: initial;
}
.pull-right {
float: right;
margin: 16px; }
.content {
align-items: center;
display: flex;
flex: 1 1 auto;
flex-direction: column;
position: relative;
overflow-y: auto;
min-height: 1;
}
.container {
margin-bottom: 36; }
.container > div {
margin-left: auto;
margin-right: auto;
margin-top: 64px;
max-width: 960;
background-color: #fff;
border: solid 1px #969499;
box-shadow: 0px 3px 9px rgba(51, 51, 51, 0.8); }
background-color: #fff;
box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.2);
display: flex;
flex: 0 0 auto;
flex-direction: column;
min-height: 1;
}
.btn {
background-color: #fff;
border-radius: 2px;
border: 1px solid #969499;
box-sizing: border-box;
color: #563d7c;
cursor: pointer;
display: inline-block;
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Helvetica, Arial, sans-serif;
font-size: 12px;
font-weight: normal;
padding: 8px 16px;
text-decoration: none;
vertical-align: middle;
white-space: nowrap; }
.btn:hover {
background-color: #b19dcf; }
white-space: nowrap;
}
.btn:hover {
background-color: #b19dcf;
}
.approve {
padding: 36; }
.approve .status {
font-size: 16px;
color: #969499;
font-weight: lighter; }
.approve .status span {
color: #252526; }
.approve img {
border: 1px solid #969499;
max-width: 100%; }
padding: 36px;
}
.approve .status {
font-size: 16px;
color: #969499;
font-weight: lighter;
}
.approve .status span {
color: #252526;
}
.approve img {
border: 1px solid #969499;
width: 100%;
}
.actions {
margin: 8px 0; }
.actions a {
text-decoration: none;
font-size: 12px;
font-weight: normal; }
display: flex;
flex-direction: row;
flex-wrap: wrap;
margin: 8px 0;
}
.actions a {
flex: 0 0 auto;
margin-bottom: 8px;
margin-right: 8px;
text-decoration: none;
}
.details {
color: #252526;
border: 1px solid #969499;
border-radius: 2px;
font-size: 12px;
font-weight: normal;
margin: 8px 0;
padding: 16px;
border-radius: 2px;
border: 1px solid #969499; }
.details span {
color: #969499; }
}
.details span {
color: #969499;
}
form.committee {
border-bottom: 1px solid #969499;
padding: 16px;
margin-bottom: 0; }
margin-bottom: 0;
}
section {
color: #969499;
flex: 0 0 auto;
font-weight: lighter;
font-size: 16px;
margin-top: 72;
margin-bottom: -56px;
max-width: 960px;
margin-right: auto;
margin-left: auto; }
margin-top: 36px;
text-align: center;
}
.items {
display: flex;
flex-direction: column;
flex: 1 0 auto;
}
.items a.page {
display: inline-block;
margin: 8px;
text-decoration: none;
color: #563d7c;
font-size: 12px;
float: right; }
float: right;
}
.items a.page:hover {
text-decoration: underline; }
text-decoration: underline;
}
.items a.page.empty {
color: #969499;
text-decoration: none;
cursor: default; }
cursor: default;
}
.pagination {
box-sizing: border-box;
display: flex;
flex-direction: row;
justify-content: space-between;
margin-bottom: 16px;
padding: 0 36px;
width: 100%;
}
.item {
padding: 8px 36;
display: flex;
flex-direction: column;
padding: 8px 36px;
margin: 0px;
border-bottom: 1px solid #969499;
box-sizing: border-box;
width: 100%; }
.item .committee {
color: #969499;
font-size: 12px;
font-weight: bold;
margin: 0px; }
.item a {
text-decoration: none; }
.item .details-row {
margin: 8px 0;
font-size: 16px;
font-weight: lighter;
color: #252526;
padding: 0px; }
.item .details-row b {
color: #4b4a4d; }
.item .details-row em {
color: #969499;
margin: 0 2px; }
.item .status {
color: #969499;
font-size: 12px;
margin: 0px; }
.item .cost {
display: inline-block;
text-align: center;
width: 120px;
height: 24px;
font-size: 12px;
color: #969499;
border-radius: 2px;
border: 1px solid #969499;
box-sizing: border-box;
padding: 4px;
margin: 4px 0; }
.item .approved {
background-color: #ffd9d9; }
.item .processed {
background-color: #d9ffd9; }
.item .rejected {
background-color: #969499;
color: #f8f8f8; }
.item .newItem {
background-color: #fff7d9; }
width: 100%;
}
.item .committeeAndCost {
align-items: center;
display: flex;
flex-direction: row;
justify-content: space-between;
}
.item .committee {
color: #969499;
font-size: 12px;
font-weight: bold;
margin: 0px;
}
.item a {
text-decoration: none;
}
.item .details-row {
color: #252526;
font-size: 16px;
font-weight: lighter;
line-height: 24px;
margin: 8px 0;
padding: 0px;
}
.item .details-row b {
color: #4b4a4d;
}
.item .details-row em {
color: #969499;
margin: 0 2px;
}
.item .status {
color: #969499;
font-size: 12px;
margin: 0px;
}
.item .cost {
display: inline-block;
text-align: center;
width: 120px;
height: 24px;
font-size: 12px;
color: #969499;
border-radius: 2px;
border: 1px solid #969499;
box-sizing: border-box;
padding: 4px;
margin: 4px 0;
}
.item .approved {
background-color: #ffd9d9;
}
.item .processed {
background-color: #d9ffd9;
}
.item .rejected {
background-color: #969499;
color: #f8f8f8;
}
.item .newItem {
background-color: #fff7d9;
}
@media (min-width: 800px) {
.item .cost {
float: right; } }
.empty {
margin: 16px;
color: #969499;
font-weight: lighter;
font-size: 16px;
text-align: center; }
text-align: center;
}
.btn-floating {
position: fixed;
@@ -186,78 +262,98 @@ section {
z-index: 1000;
border-radius: 50%;
text-align: center;
box-shadow: 0 0 6px rgba(0, 0, 0, 0.16), 0 6px 12px rgba(0, 0, 0, 0.32); }
.btn-floating span {
display: block;
width: 36;
height: 36;
font-size: 28; }
box-shadow: 0 0 6px rgba(0, 0, 0, 0.16), 0 6px 12px rgba(0, 0, 0, 0.32);
}
.btn-floating span {
display: block;
width: 36;
height: 36;
font-size: 28;
}
.btn-floating:hover {
background-color: #3e2c5a;
box-shadow: 0 0 12px rgba(0, 0, 0, 0.16), 0 12px 12px rgba(0, 0, 0, 0.32);
}
body.login {
background-color: #563d7c;
color: #fdd017; }
color: #fdd017;
}
.login {
text-align: center;
color: #fdd017; }
.login div {
margin-top: 30%; }
.login h3 {
font-size: 24px;
margin-bottom: 8px; }
.login h2 {
font-size: 28px;
margin-top: -16px; }
.login .btn {
background-color: #fdd017;
color: #563d7c; }
.login .btn:hover {
background-color: #c69f02; }
color: #fdd017;
}
.login div {
margin-top: 30%;
}
.login h3 {
font-size: 24px;
margin-bottom: 0;
}
.login h2 {
font-size: 28px;
margin: 0 auto;
}
.login .btn {
background-color: #fdd017;
color: #563d7c;
font-size: 16px;
}
.login .btn:hover {
background-color: #c69f02;
}
h1 {
font-size: 18px;
font-weight: lighter;
color: #563d7c;
margin: 16px; }
margin: 16px;
}
hr {
margin: 16px;
color: #969499; }
form div {
margin: 16px; }
form div * {
display: inline-block; }
form div label {
width: 180px;
color: #252526;
vertical-align: top; }
form div input, form div select, form div textarea {
width: 180px; }
form div.clear {
margin: -16px 0;
width: 180px; }
form div.clear:after {
content: "";
display: table;
clear: both; }
.rcol {
margin: 16px;
color: #969499;
font-weight: lighter; }
}
@media (min-width: 430px) {
form div {
width: 376px; }
form div label {
text-align: right; }
form div input, form div select, form div textarea {
width: 180px;
float: right; } }
@media (min-width: 800px) {
.rcol {
float: right;
width: 40%; } }
.inputRow {
box-sizing: border-box;
margin-bottom: 16px;
padding: 0 36px;
}
.inputRow label {
color: #969499;
font-weight: bold;
font-size: 12px;
margin-left: 2px;
}
.inputRow input,
.inputRow select,
.inputRow textarea {
box-sizing: border-box;
border: 1px solid #969499;
font-size: 16px;
line-height: 24px;
padding: 2px;
width: 100%;
}
.inputRow textarea {
resize: vertical;
}
.editActions {
box-sizing: border-box;
display: flex;
flex-direction: row;
justify-content: space-between;
padding: 0 36px;
width: 100%;
}
.notes {
color: #969499;
font-size: 12px;
margin: 16px 36px;
}
/*# sourceMappingURL=site.css.map */

View File

@@ -1,4 +0,0 @@
SRC=$(wildcard *.scss)
all: $(SRC)
sass include.scss ../css/site.css

View File

@@ -1,86 +0,0 @@
$purple: #563d7c;
$gold: #fdd017;
$lightgray: #f8f8f8;
$midgray: #969499;
$darkgray: #4b4a4d;
$text: #252526;
$shadowgray: rgba(0, 0, 0, .8);
// size constants
$pad-s: 2px;
$pad-m: 8px;
$pad-l: 16px;
$pad-xl: 36;
body {
color: $text;
font-family: sans-serif;
background-color: $lightgray;
padding-bottom: 0px;
margin: 0px $pad-l;
}
.nav {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 50px;;
box-sizing: border-box;
padding: 16px;
background-color: $purple;
color: $gold;
box-shadow: 0px 3px 12px $shadowgray;
z-index: 10;
h3 {
font-weight: lighter;
font-size: 16px;
margin: 0;
}
a {
float: right;
color: $gold;
text-decoration: none;
font-size: 16px;
margin-left: $pad-m;
}
}
.pull-right {
float: right;
margin: $pad-l;
}
.container {
margin-bottom: $pad-xl;
& > div {
margin-left: auto;
margin-right: auto;
margin-top: 64px;
max-width: 960;
background-color: #fff;
border: solid 1px $midgray;
box-shadow: 0px 3px 9px lighten($shadowgray, 20%);
}
}
.btn {
border-radius: $pad-s;
border: 1px solid $midgray;
color: $purple;
display: inline-block;
padding: $pad-m $pad-l;
text-decoration: none;
vertical-align: middle;
white-space: nowrap;
&:hover {
background-color: lighten($purple, 35%);
}
}

View File

@@ -1,74 +0,0 @@
h1 {
font-size: 18px;
font-weight: lighter;
color: $purple;
margin: $pad-l;
}
hr {
margin: $pad-l;
color: $midgray;
}
form {
div {
margin: $pad-l;
* {
display: inline-block;
}
label {
width: 180px;
color: $text;
vertical-align: top;
}
input, select, textarea {
width: 180px;
}
&.clear {
margin: -$pad-l 0;
width: 180px;
}
&.clear:after {
content: "";
display: table;
clear: both;
}
}
}
.rcol {
margin: $pad-l;
color: $midgray;
font-weight: lighter;
}
@media (min-width: 430px) {
form {
div {
width: 376px;
label {
text-align: right;
}
input, select, textarea {
width: 180px;
float: right;
}
}
}
}
@media (min-width: 800px) {
.rcol {
float: right;
width: 40%;
}
}

View File

@@ -9,15 +9,19 @@
</head>
<body>
<div class="nav">
<a href="/logout">logout</a>
{% if fincom %}
<a href="/committees">manage</a>
{% endif %}
<h3>The Aaron Gutierrez, '17, Fincom Web App</h3>
<div>
{% if fincom %}
<a href="/committees">manage</a>
{% endif %}
<a href="/logout">logout</a>
</div>
</div>
<div class="container">
{% block main %}
{% endblock %}
<div class="content">
<div class="container">
{% block main %}
{% endblock %}
</div>
</div>
{% block bottom %}
{% endblock %}

View File

@@ -11,13 +11,13 @@
<div>
<h3>Delta Beta Chapter</h3>
<h2>Fincom Webapp</h2>
{% if error %}
<p>{{ error }}</p>
{% endif %}
<a class="btn btn-info btn-lg"
<a class="btn btn-info"
href="/login/google-oauth2/?next={{ next }}">
Login with your AndrewID
</a>
{% if error %}
<p>{{ error }}</p>
{% endif %}
</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<div class="approve">
{% if I.details %}
<div class="details">
<span>Details:</span><br>
<span>Details</span><br>
{{ I.details }}</div>
{% endif %}
<div class="status">Status: <span>{{ I.statusText }}</span></div>
@@ -23,7 +23,9 @@
<a href="/items" class="btn">Back</a>
</div>
<a href="{{ I.image.url }}"><img src="{{ I.image.thumbnail.url }}"></a>
<a href="{{ I.image.url }}">
<img src="{{ I.image.thumbnail.url }}" alt="Click to view">
</a>
</div>
</div>

View File

@@ -5,25 +5,24 @@
{% block main %}
<div>
<a href="/items" class="btn pull-right">Back</a>
<h1>Edit Reimbursements</h1>
<hr>
<form action="/items/{{ I.pk }}/edit" method="post">
{% csrf_token %}
<div>
<div class="inputRow">
<label for="desc">Item</label>
<input id="desc" type="text" name="desc" placeholder="What you bought"
value="{{ I.desc }}">
</div>
<div>
<div class="inputRow">
<label for="event">Event</label>
<input id="event" type="text" name="event" placeholder="When we need it"
value="{{ I.event }}">
</div>
<div>
<div class="inputRow">
<label for="committee">Committee or Budget</label>
<select name="committee" id="committee">
{% for C in committees %}
@@ -36,29 +35,26 @@
</select>
</div>
<div>
<div class="inputRow">
<label for="cost">Cost</label>
<input id="cost" type="text" name="cost" placeholder="15.00"
value="{{ I.cost }}">
</div>
<div>
<div class="inputRow">
<label for="date">Date Purchased</label>
<input id="date" type="date" name="date" placeholder="mm/dd/yyyy"
value="{{ I.date_purchased }}">
</div>
<div class="clear">
<div>
<div class="inputRow">
<label for="details">Details</label>
<textarea id="details" name="details" rows="4" class="clear">{{ I.details }}</textarea>
</div>
<textarea id="details" name="details" rows="4">{{ I.details }}</textarea>
</div>
<div class="clear">
<div>
<input type="submit">
</div>
<div class="editActions">
<a href="/items" class="btn">Back</a>
<input type="submit" class="btn">
</div>
</form>
</div>

View File

@@ -1,18 +1,20 @@
<div class="item">
<div class="committee">
{{ I.comName }}
</div>
{% if I.approved %}
<div class="cost approved">
{% elif I.processed %}
<div class="cost processed">
{% elif I.rejected %}
<div class="cost rejected">
{% else %}
<div class="cost newItem">
{% endif %}
${{ I.cost|floatformat:"2" }}
<div class="committeeAndCost">
<div class="committee">
{{ I.comName }}
</div>
{% if I.approved %}
<div class="cost approved">
{% elif I.processed %}
<div class="cost processed">
{% elif I.rejected %}
<div class="cost rejected">
{% else %}
<div class="cost newItem">
{% endif %}
${{ I.cost|floatformat:"2" }}
</div>
</div>
<a href="/items/{{ I.pk }}">
<div class="details-row">
<b>{{ I.event }}:</b>

View File

@@ -5,27 +5,23 @@
{% block main %}
<div>
<h1>Add New Reimbursements</h1>
<h1>New Reimbursement</h1>
<hr>
<div class="rcol">
Make sure all information is accurate, you submit an itemized receipt, and
you select the correct committee.
</div>
<form action="/items/new" method="post" enctype="multipart/form-data">
{% csrf_token %}
<div>
<div class="inputRow">
<label for="desc">Item</label>
<input id="desc" type="text" name="desc" placeholder="What you bought">
</div>
<div>
<div class="inputRow">
<label for="event">Event</label>
<input id="event" type="text" name="event" placeholder="When we need it">
</div>
<div>
<div class="inputRow">
<label for="committee">Committee or Budget</label>
<select name="committee" id="committee">
<option disabled selected>Select a committee</option>
@@ -35,32 +31,34 @@
</select>
</div>
<div>
<div class="inputRow">
<label for="cost">Cost</label>
<input id="cost" type="text" name="cost" placeholder="15.00">
</div>
<div>
<div class="inputRow">
<label for="date">Date Purchased</label>
<input id="date" type="date" name="date" placeholder="mm/dd/yyyy">
</div>
<div class="clear">
<div>
<div class="inputRow">
<label for="details">Details</label>
<textarea id="details" name="details" rows="4" class="clear"></textarea>
</div>
<textarea id="details" name="details" rows="4"></textarea>
</div>
<div>
<div class="inputRow">
<label for="image">Receipt</label>
<input type="file" name="image" id="image" accept="image/*">
</div>
<div class="clear">
<div>
<input type="submit">
<div class="notes">
Make sure all information is accurate, you submit an itemized receipt, and
you select the correct committee.
</div>
<div class="editActions">
<a href="/items" class="btn">Back</a>
<input type="submit" class="btn">
</div>
</form>
</div>

View File

@@ -5,13 +5,7 @@
{% empty %}
<div class="empty">No Reimbursements</div>
{% endfor %}
{% if items.has_next %}
<a class="page" href="?{{ pagination_key }}={{ items.next_page_number }}">
Older &rarr;
</a>
{% else %}
<a class="page empty">Older &rarr;</a>
{% endif %}
<div class="pagination">
{% if items.has_previous %}
<a class="page" href="?{{ pagination_key }}={{ items.previous_page_number }}">
&larr; Newer
@@ -19,4 +13,12 @@
{% else %}
<a class="page empty">&larr; Newer</a>
{% endif %}
{% if items.has_next %}
<a class="page" href="?{{ pagination_key }}={{ items.next_page_number }}">
Older &rarr;
</a>
{% else %}
<a class="page empty">Older &rarr;</a>
{% endif %}
</div>
</div>