diff options
author | Filipp Lepalaan <filipp@mac.com> | 2014-12-17 10:01:38 +0200 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2014-12-17 10:01:38 +0200 |
commit | 1120db35709c68aac6802652d9f0b36d41b5f08e (patch) | |
tree | 2ea35ab7d30b9e876416241162fce68983cfa418 /templates | |
download | medlab-1120db35709c68aac6802652d9f0b36d41b5f08e.tar.gz medlab-1120db35709c68aac6802652d9f0b36d41b5f08e.tar.bz2 medlab-1120db35709c68aac6802652d9f0b36d41b5f08e.zip |
Diffstat (limited to 'templates')
-rw-r--r-- | templates/gallery-index.html | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/templates/gallery-index.html b/templates/gallery-index.html new file mode 100644 index 0000000..4ef462b --- /dev/null +++ b/templates/gallery-index.html @@ -0,0 +1,46 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <title>Gallery | Medlab</title> + <!-- Latest compiled and minified CSS --> + <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"> + <style type="text/css"> + #gallery { + position: absolute; + width: 100%; + bottom: 100px; + top: 0; + background-color: #aaa; + } + #dock { + position: absolute; + width: 100%; + bottom: 0; + height: 100px; + background-color: #ccc; + } + </style> + </head> + <body> + <div id="gallery"> + {% for p in album.get_photos() %} + <img src="" alt=""/> + {% end %} + </div> + <div id="dock"> + {% for a in albums %} + <a href="/albums/{{ a.id }}/">{{ a.name }}</a> + {% end %} + <button type="button" class="btn btn-default" id="new-album">New Album</button> + </div> + <script src="/static/js/jquery-2.1.1.min.js"></script> + <script src="/static/bs3/js/bootstrap.min.js"></script> + <script src="/static/js/underscore.js"></script> + <script src="/static/js/backbone.js"></script> + <script src="/static/js/dropzone.js"></script> + <script src="/static/js/app.js"></script> + </body> +</html> |