-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from Lemmah/develop
Final Changes - First Iteration
- Loading branch information
Showing
7 changed files
with
67 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[report] | ||
omit= | ||
*/python?.?/* | ||
*site-packages/* | ||
*site-packages/nose/* | ||
*__init__* | ||
*tests/* | ||
*views* |
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
appEnv | ||
*.pyc | ||
*cache* | ||
.coverage | ||
coverage.xml |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{% extends "base_layout.html" %} | ||
{% block title %}Dream Buckets | Home {% endblock %} | ||
{% block nav_menu_items %} | ||
<ul id="nav-mobile" class="left hide-on-med-and-down"> | ||
</ul> | ||
<ul id="nav-mobile" class="right hide-on-med-and-down"> | ||
</ul> | ||
<ul class="side-nav" id="mobile-demo"> | ||
</ul> | ||
{% endblock %} | ||
{% block body %} | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col s12"> | ||
<div class="card grey lighten-4"> | ||
<div class="card-content"> | ||
<span class="card-title center">Error! Something's not right.</span> | ||
<p>Here are some house keeping rules that can help you enjoy your stay:</p> | ||
<ul class="collection"> | ||
<li class="collection-item avatar"> | ||
<span class="title">Empty fields</span> | ||
<p>Do not submit empty fields on any form<br> | ||
This means: | ||
<ul class="collection"> | ||
<li class="collection-item">Don't register without a name.</li> | ||
<li class="collection-item">Don't create nameless bucketlists.</li> | ||
<li class="collection-item">Don't attempt to register without a password.</li> | ||
</ul> | ||
</p> | ||
</li> | ||
</ul> | ||
<p> We sincerely appologize for the inconvenince caused. We'll get around with some JS soon and make sure we remind you when you forget. Meanwhile, you can login again don't submit empty forms. </p> | ||
</div> | ||
<div class="card-action"> | ||
<a href="/">Login</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock %} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
# configurations for my app | ||
|
||
import uuid | ||
|
||
# Enable Flask's debugging features. Should be False in production | ||
DEBUG = True | ||
SESSION_TYPE = 'filesystem' | ||
SECRET_KEY = 'super secret key' | ||
SECRET_KEY = str(uuid.uuid4()) |