Permalink
Browse files

Basic book generation.

  • Loading branch information...
batisteo committed Mar 6, 2015
0 parents commit 57683de94d831fa7f7e109d3a6220a53947e12ee
Showing with 29,337 additions and 0 deletions.
  1. +18 −0 .hgignore
  2. +118 −0 Mockups/accomodation-login.html
  3. +98 −0 Mockups/accomodation-logout.html
  4. +442 −0 Mockups/css/bootstrap-theme.css
  5. +1 −0 Mockups/css/bootstrap-theme.css.map
  6. +5 −0 Mockups/css/bootstrap-theme.min.css
  7. +6,203 −0 Mockups/css/bootstrap.css
  8. +1 −0 Mockups/css/bootstrap.css.map
  9. +5 −0 Mockups/css/bootstrap.min.css
  10. +138 −0 Mockups/css/pasportaservo.css
  11. BIN Mockups/fonts/glyphicons-halflings-regular.eot
  12. +229 −0 Mockups/fonts/glyphicons-halflings-regular.svg
  13. BIN Mockups/fonts/glyphicons-halflings-regular.ttf
  14. BIN Mockups/fonts/glyphicons-halflings-regular.woff
  15. BIN Mockups/img/avatar.png
  16. BIN Mockups/img/avatar2.png
  17. +55 −0 Mockups/index.html
  18. +2,114 −0 Mockups/js/bootstrap.js
  19. +6 −0 Mockups/js/bootstrap.min.js
  20. +4 −0 Mockups/js/jquery.min.js
  21. +87 −0 Mockups/search.html
  22. +61 −0 README.md
  23. 0 book/__init__.py
  24. +3 −0 book/admin.py
  25. 0 book/migrations/__init__.py
  26. +3 −0 book/models.py
  27. BIN book/templates/book/template.odt
  28. +3 −0 book/tests.py
  29. +5 −0 book/urls.py
  30. +21 −0 book/views.py
  31. 0 hosting/__init__.py
  32. +134 −0 hosting/admin.py
  33. +6 −0 hosting/apps.py
  34. +503 −0 hosting/countries.py
  35. +220 −0 hosting/forms.py
  36. +12 −0 hosting/gravatar.py
  37. BIN hosting/locale/eo/LC_MESSAGES/django.mo
  38. +932 −0 hosting/locale/eo/LC_MESSAGES/django.po
  39. +94 −0 hosting/migrations/0001_initial.py
  40. +123 −0 hosting/migrations/0002_auto_20140924_0745.py
  41. +45 −0 hosting/migrations/0003_auto_20141010_1056.py
  42. +27 −0 hosting/migrations/0004_auto_20141011_1737.py
  43. +42 −0 hosting/migrations/0005_auto_20141011_2246.py
  44. +50 −0 hosting/migrations/0006_auto_20141012_1022.py
  45. +20 −0 hosting/migrations/0007_profile_website2.py
  46. +51 −0 hosting/migrations/0008_auto_20141012_1735.py
  47. +45 −0 hosting/migrations/0009_auto_20141013_1704.py
  48. +60 −0 hosting/migrations/0010_auto_20141018_2237.py
  49. +34 −0 hosting/migrations/0011_auto_20141030_1201.py
  50. +28 −0 hosting/migrations/0012_auto_20141110_1646.py
  51. +20 −0 hosting/migrations/0013_place_family_members.py
  52. +18 −0 hosting/migrations/0014_remove_profile_places.py
  53. +49 −0 hosting/migrations/0015_remove_booked_place.py
  54. +18 −0 hosting/migrations/0016_auto_20141123_2151.py
  55. 0 hosting/migrations/__init__.py
  56. +252 −0 hosting/models.py
  57. +6 −0 hosting/querysets.py
  58. +48 −0 hosting/static/hosting/js/maps.js
  59. +35 −0 hosting/static/hosting/js/search.js
  60. BIN hosting/static/img/about/house.png
  61. BIN hosting/static/img/about/internet-mail.png
  62. BIN hosting/static/img/about/map-marker.png
  63. BIN hosting/static/img/avatar.png
  64. BIN hosting/static/img/gps_spinner.gif
  65. BIN hosting/static/img/home/bed.png
  66. BIN hosting/static/img/home/search_pic.png
  67. BIN hosting/static/img/home/woman-on-couch.jpg
  68. +21 −0 hosting/templates/base.html
  69. +67 −0 hosting/templates/hosting/base.html
  70. +49 −0 hosting/templates/hosting/base_form.html
  71. +17 −0 hosting/templates/hosting/emails/new_authorization.txt
  72. +29 −0 hosting/templates/hosting/family_member_confirm_delete.html
  73. +98 −0 hosting/templates/hosting/home.html
  74. +23 −0 hosting/templates/hosting/phone_confirm_delete.html
  75. +1 −0 hosting/templates/hosting/phone_form.html
  76. +41 −0 hosting/templates/hosting/place_authorized_users.html
  77. +22 −0 hosting/templates/hosting/place_confirm_delete.html
  78. +135 −0 hosting/templates/hosting/place_detail.html
  79. +40 −0 hosting/templates/hosting/place_form.html
  80. +73 −0 hosting/templates/hosting/place_list.html
  81. +22 −0 hosting/templates/hosting/profile_confirm_delete.html
  82. +169 −0 hosting/templates/hosting/profile_detail.html
  83. +3 −0 hosting/templates/hosting/profile_form.html
  84. +31 −0 hosting/templates/hosting/snippets/place_description.html
  85. +18 −0 hosting/templates/hosting/snippets/registration.html
  86. +8 −0 hosting/templates/registration/login.html
  87. +6 −0 hosting/templates/registration/password_change_done.html
  88. +8 −0 hosting/templates/registration/password_change_form.html
  89. +8 −0 hosting/templates/registration/password_reset_complete.html
  90. +43 −0 hosting/templates/registration/password_reset_confirm.html
  91. +8 −0 hosting/templates/registration/password_reset_done.html
  92. +14 −0 hosting/templates/registration/password_reset_email.html
  93. +8 −0 hosting/templates/registration/password_reset_form.html
  94. +7 −0 hosting/templates/registration/register.html
  95. +25 −0 hosting/test_validators.py
  96. +37 −0 hosting/urls.py
  97. +30 −0 hosting/utils.py
  98. +68 −0 hosting/validators.py
  99. +421 −0 hosting/views.py
  100. +10 −0 manage.py
  101. 0 pages/__init__.py
  102. +3 −0 pages/admin.py
  103. BIN pages/locale/eo/LC_MESSAGES/django.mo
  104. +36 −0 pages/locale/eo/LC_MESSAGES/django.po
  105. 0 pages/migrations/__init__.py
  106. +3 −0 pages/models.py
  107. +56 −0 pages/templates/pages/about.html
  108. +486 −0 pages/templates/pages/supervisors.html
  109. +30 −0 pages/templates/pages/terms_conditions.html
  110. +3 −0 pages/tests.py
  111. +10 −0 pages/urls.py
  112. +22 −0 pages/views.py
  113. 0 pasportaservo/__init__.py
  114. BIN pasportaservo/locale/eo/LC_MESSAGES/django.mo
  115. +345 −0 pasportaservo/locale/eo/LC_MESSAGES/django.po
  116. +172 −0 pasportaservo/settings/__init__.py
  117. +24 −0 pasportaservo/settings/dev_batisteo.py
  118. +35 −0 pasportaservo/settings/dev_etenil.py
  119. +42 −0 pasportaservo/settings/prod.py
  120. +17 −0 pasportaservo/settings/secrets_tpl.py
  121. +40 −0 pasportaservo/settings/staging.py
  122. +442 −0 pasportaservo/static/bootstrap/css/bootstrap-theme.css
  123. +1 −0 pasportaservo/static/bootstrap/css/bootstrap-theme.css.map
  124. +5 −0 pasportaservo/static/bootstrap/css/bootstrap-theme.min.css
  125. +6,203 −0 pasportaservo/static/bootstrap/css/bootstrap.css
  126. +1 −0 pasportaservo/static/bootstrap/css/bootstrap.css.map
  127. +5 −0 pasportaservo/static/bootstrap/css/bootstrap.min.css
  128. BIN pasportaservo/static/bootstrap/fonts/glyphicons-halflings-regular.eot
  129. +229 −0 pasportaservo/static/bootstrap/fonts/glyphicons-halflings-regular.svg
  130. BIN pasportaservo/static/bootstrap/fonts/glyphicons-halflings-regular.ttf
  131. BIN pasportaservo/static/bootstrap/fonts/glyphicons-halflings-regular.woff
  132. +2,114 −0 pasportaservo/static/bootstrap/js/bootstrap.js
  133. +6 −0 pasportaservo/static/bootstrap/js/bootstrap.min.js
  134. +307 −0 pasportaservo/static/css/pasportaservo.css
  135. +514 −0 pasportaservo/static/datepicker/css/datepicker.css
  136. +792 −0 pasportaservo/static/datepicker/css/datepicker3.css
  137. +1,671 −0 pasportaservo/static/datepicker/js/bootstrap-datepicker.js
  138. +14 −0 pasportaservo/static/datepicker/js/locales/bootstrap-datepicker.eo.js
  139. BIN pasportaservo/static/fonts/Geotica_Three-webfont.eot
  140. +164 −0 pasportaservo/static/fonts/Geotica_Three-webfont.svg
  141. BIN pasportaservo/static/fonts/Geotica_Three-webfont.ttf
  142. BIN pasportaservo/static/fonts/Geotica_Three-webfont.woff
  143. BIN pasportaservo/static/fonts/ptsans-bold.woff
  144. BIN pasportaservo/static/fonts/ptsans-regular.woff
  145. BIN pasportaservo/static/img/PS_favicon.png
  146. +13 −0 pasportaservo/static/js/forms.js
  147. +4 −0 pasportaservo/static/js/jquery.min.js
  148. +12 −0 pasportaservo/static/js/news.js
  149. +14 −0 pasportaservo/static/js/scripts.js
  150. +61 −0 pasportaservo/static/postman/css/postman.css
  151. +5 −0 pasportaservo/templates/404.html
  152. +8 −0 pasportaservo/templates/500.html
  153. +8 −0 pasportaservo/templates/postman/archives.html
  154. +37 −0 pasportaservo/templates/postman/base.html
  155. +110 −0 pasportaservo/templates/postman/base_folder.html
  156. +29 −0 pasportaservo/templates/postman/base_write.html
  157. +29 −0 pasportaservo/templates/postman/email_user.txt
  158. +3 −0 pasportaservo/templates/postman/email_user_subject.txt
  159. +22 −0 pasportaservo/templates/postman/email_visitor.txt
  160. +1 −0 pasportaservo/templates/postman/email_visitor_subject.txt
  161. +7 −0 pasportaservo/templates/postman/inbox.html
  162. +22 −0 pasportaservo/templates/postman/inc_subject_ex.html
  163. +4 −0 pasportaservo/templates/postman/reply.html
  164. +7 −0 pasportaservo/templates/postman/sent.html
  165. +11 −0 pasportaservo/templates/postman/trash.html
  166. +77 −0 pasportaservo/templates/postman/view.html
  167. +3 −0 pasportaservo/templates/postman/write.html
  168. +60 −0 pasportaservo/urls.py
  169. +32 −0 pasportaservo/wsgi.py
  170. +1 −0 requirements.txt
  171. +16 −0 requirements/base.txt
  172. +6 −0 requirements/dev.txt
  173. +330 −0 tools/countries.py
  174. +168 −0 tools/getters.py
  175. +258 −0 tools/migration.py
  176. +129 −0 tools/migration_family_members.py
  177. +6 −0 tools/migration_profileset_to_familymembers.py
@@ -0,0 +1,18 @@
syntax: glob
*~
*\#
*.pyc
*.db
*.sqlite3
env/
.bash*
*.orig
.DS_Store
*.geany
secrets.py
pasportaservo/settings/local_settings.py
media/
.static/
htmlcov/
.coverage
@@ -0,0 +1,118 @@
<!DOCTYPE html>
<html>
<head>
<title>Pasporta Servo</title>
<meta charset="utf-8">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-theme.min.css">
<link rel="stylesheet" href="css/pasportaservo.css">
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</head>
<body>
<header class="container-fluid">
<div class="row">
<div class="col-xs-6 col-sm-3 col-md-2" id="title">
<a href="index.html">Pasporta Servo</a>
</div>
<div class="hidden-xs col-sm-3 col-md-2" id="subtitle">Blah blah blah</div>
<div class="col-xs-6 col-sm-4 col-md-2 col-sm-offset-2 col-md-offset-6 links">
<a href="#">my account</a>
</div>
</div>
</header>
<div id="page" class="container">
<div class="row">
<div class="owner col-xs-12 col-md-6">
<div class="row">
<div class="col-xs-3">
<img src="img/avatar.png" />
</div>
<div class="col-xs-9">
<div class="row">
<div class="col-xs-5 name">
John D
</div>
<div class="col-xs-4 status">
available
</div>
<div class="col-xs-9 address">
Liverpool street, London
</div>
</div>
<div class="row">
<div class="col-xs-5">Address</div>
<p class="col-xs-7">
22 Liverpool Street<br>
London, EC1 1AP
</p>
<div class="col-xs-5">Phone number</div>
<p class="col-xs-7">
+44 7856 521 055
</p>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12 hidden-xs hidden-sm">
<h4>Description:</h4>
<p>
Located right in the center of London, this accomodation is perfect for
anyone traveling to a conference as it is both close to the Barbican Centre,
and to the Liverpool Street Station.
</p>
<p>
There is local access to the following Underground lines:
</p>
<ul>
<li>Circle</li>
<li>Central</li>
<li>Hammersmith &amp; City</li>
<li>Metropolitan</li>
</ul>
<p>
If you want to book this accomodation, please contact me at least one week
in advance.
</p>
</div>
</div>
</div>
<div class="map col-xs-12 col-md-6">
<iframe width="100%" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" style="border: none"
src="http://www.openstreetmap.org/export/embed.html?bbox=-0.08474,51.52037,-0.07589,51.51643&amp;layer=mapnik"></iframe>
</div>
<div class="col-xs-12 hidden-md hidden-lg description-small">
<p>
Located right in the center of London, this accomodation is perfect for
anyone traveling to a conference as it is both close to the Barbican Centre,
and to the Liverpool Street Station.
</p>
<p>
There is local access to the following Underground lines:
</p>
<ul>
<li>Circle</li>
<li>Central</li>
<li>Hammersmith &amp; City</li>
<li>Metropolitan</li>
</ul>
<p>
If you want to book this accomodation, please contact me at least one week
in advance.
</p>
</div>
</div>
</div>
<footer class="container-fluid">
<div class="row">
<div class="col-md-12">
Footer
</div>
</div>
</footer>
</body>
</html>
@@ -0,0 +1,98 @@
<!DOCTYPE html>
<html>
<head>
<title>Pasporta Servo</title>
<meta charset="utf-8">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-theme.min.css">
<link rel="stylesheet" href="css/pasportaservo.css">
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</head>
<body>
<header class="container-fluid">
<div class="row">
<div class="col-xs-6 col-sm-3 col-md-2" id="title">
<a href="index.html">Pasporta Servo</a>
</div>
<div class="hidden-xs col-sm-3 col-md-2" id="subtitle">Blah blah blah</div>
<div class="col-xs-3 col-sm-2 col-md-1 col-sm-offset-2 col-md-offset-6 links">
<a href="#">log in</a>
</div>
<div class="col-xs-3 col-sm-2 col-md-1 links">
<a href="#">register</a>
</div>
</div>
</header>
<div id="page" class="container">
<div class="row">
<div class="owner col-xs-12 col-md-6">
<div class="row">
<div class="col-xs-3">
<img src="img/avatar.png" />
</div>
<div class="col-xs-9">
<div class="row">
<div class="col-xs-5 name">
John D
</div>
<div class="col-xs-4 status">
available
</div>
<div class="col-xs-9 address">
Liverpool street, London
</div>
</div>
</div>
<div class="col-xs-12 well register">
<h4>Register</h4>
<p class="tip">
You must register to book this accomodation.
</p>
<form class="form" method="GET" action="accomodation-login.html">
<div class="col-xs-12 col-md-12">
<div class="form-group">
<input class="form-control" name="email" type="text" placeholder="Email address">
</div>
</div>
<div class="col-xs-12 col-md-12">
<div class="form-group">
<input class="form-control" name="phone" type="text" placeholder="Phone number">
</div>
</div>
<div class="col-xs-12 col-md-12">
<div class="form-group">
<input class="form-control" name="password" type="text" placeholder="Password">
</div>
</div>
<div class="col-xs-12 col-md-12">
<div class="form-group">
<input class="form-control" name="password2" type="text" placeholder="Confirm password">
</div>
</div>
<p>
<button type="submit" class="btn btn-primary">register</button>
</p>
</form>
</div>
</div>
</div>
<div class="map col-xs-12 col-md-6">
<iframe width="100%" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" style="border: none"
src="http://www.openstreetmap.org/export/embed.html?bbox=-0.08474,51.52037,-0.07589,51.51643&amp;layer=mapnik"></iframe>
</div>
</div>
</div>
<footer class="container-fluid">
<div class="row">
<div class="col-md-12">
Footer
</div>
</div>
</footer>
</body>
</html>
Oops, something went wrong.

0 comments on commit 57683de

Please sign in to comment.