Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Commit

Permalink
Adding warning panel to upload.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gareth committed Jul 19, 2013
1 parent 2fc914e commit 4922268
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
17 changes: 15 additions & 2 deletions backdrop/write/static/backdrop.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,25 @@ form label {
}

form div {
padding: 1em;
padding: 16px;
}

.form-panel {
background-color: #d5e8f3;
width: 50%;
width: 60%;
}

.warning-panel {
margin-top: 16px;
width: 60%;
background: rgb(223, 233, 235) url("images/warning.png") no-repeat 98% 1em;
font-size: 1.15em;
line-height: 1.5em;
}

.list {
margin-left: 20px;
list-style-type: disc;
}

#bucket-list {
Expand Down
Binary file added backdrop/write/static/images/warning.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions backdrop/write/templates/upload_csv.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ <h2>Bucket: {{ bucket_name }}</h2>
<label for="csv-file">CSV file to upload</label>
<input id="csv-file" type="file" name="file"/>
</div>

<div class="warning-panel">
<strong>Make sure that the data you are providing:</strong>
<ul class="list">
<li>contains no personal data of any kind</li>
<li>has been signed off by your Senior Information Risk Officer</li>
<li>does not exceed IL0 confidentiality</li>
</ul>
</div>

<div>
<input class="btn btn-primary btn-large" type="submit" value="Upload" />
</div>
Expand Down

0 comments on commit 4922268

Please sign in to comment.