This repository has been archived by the owner on Oct 31, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
streamlined shelf creation, responsive layout
- Loading branch information
1 parent
c2cdb06
commit d7a2684
Showing
9 changed files
with
165 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
|
||
<!-- Basic Page Needs | ||
–––––––––––––––––––––––––––––––––––––––––––––––––– --> | ||
<meta charset="utf-8"> | ||
<meta name="description" content="{{shelf.title}}"> | ||
<meta name="author" content="{{organization.name}}"> | ||
|
||
<!-- Mobile Specific Metas | ||
–––––––––––––––––––––––––––––––––––––––––––––––––– --> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
||
<!-- FONT | ||
–––––––––––––––––––––––––––––––––––––––––––––––––– --> | ||
<link href="//fonts.googleapis.com/css?family=Open+Sans:400,300,600" rel="stylesheet" type="text/css"> | ||
{% load static isbn_converter placeholder %} | ||
{% get_static_prefix as STATIC_PREFIX %} | ||
|
||
<title>Scan | Awesome Box at the {{organization.name}}</title> | ||
|
||
<link rel="stylesheet" href="{{ STATIC_PREFIX }}css/normalize.css" type="text/css" /> | ||
<link rel="stylesheet" href="{{ STATIC_PREFIX }}css/skeleton.css" type="text/css" /> | ||
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.css"> | ||
<link rel="stylesheet" href="{{ STATIC_PREFIX }}css/shelf.css" type="text/css" /> | ||
</head> | ||
|
||
<body> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="eight columns"> | ||
<h4>New shelf</h4> | ||
</div> | ||
</div> | ||
<form action="." method="post"> | ||
<div class="row"> | ||
<div class="eight columns"> | ||
{% csrf_token %} | ||
{% if form.errors %} | ||
<ul class="errorlist"> | ||
<li>Please fix the error(s) below.</li> | ||
</ul> | ||
{% endif %} | ||
<p class="build-shelf-title">{{ form.title|placeholder:"Title" }}{{ form.title.errors }}</p> | ||
<p class="build-shelf-permalink">http://{{organization.slug}}.{{awesome_domain}}/{{form.slug}}{{form.slug.errors}}</p> | ||
<p class="build-shelf-description">{{ form.description|placeholder:"Optional description" }}{{ form.description.errors }}</p> | ||
</div> | ||
<div class="four columns"> | ||
<h5>Shelf Details</h5> | ||
<p>Your shelf's title, link and description</p> | ||
<button class="button-primary">Save Shelf</button> | ||
{% if messages %} | ||
{% for message in messages %} | ||
<p id="build-shelf-message">{% if 'safe' in message.tags %}{{ message|safe }}{% else %}{{ message }}{% endif %}</p> | ||
{% endfor %} | ||
{% endif %} | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.