summaryrefslogtreecommitdiffstats
path: root/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html48
1 files changed, 48 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html
new file mode 100644
index 0000000..3258d08
--- /dev/null
+++ b/templates/index.html
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>bitvend - The Bitcoin Vending Machine</title>
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
+ <link rel="stylesheet" href="/static/css/bootstrap.css" media="screen">
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="../bower_components/html5shiv/dist/html5shiv.js"></script>
+ <script src="../bower_components/respond/dest/respond.min.js"></script>
+ <![endif]-->
+
+ <style>
+ body {
+ margin-top: 80px;
+ }
+ </style>
+ </head>
+ <body>
+ <div class="navbar navbar-default navbar-fixed-top">
+ <div class="container">
+ <div class="navbar-header">
+ <a href="../" class="navbar-brand">bitvend - bitcoin vending machine</a>
+ <button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#navbar-main">
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ </div>
+ </div>
+ </div>
+
+ <div class="container">
+ {% for item in items %}
+ <div class="col-md-3">
+ <div class="well vend-item">
+ <img src="{{ item.image }}" class="img-responsive" />
+ <span class="label label-default pull-right">{{ '%1.2fzł'|format(item.value/100) }} / {{ format_btc(from_local_currency(item.value)) }}</span>
+ <big>{{ item.name }}</big>
+ <img src="https://blockchain.info/qr?data=bitcoin:12ihVyoAGRci1K5hGQaQveEy7ThfwXfNSS&amount={{ from_local_currency(item.value) }}&size=288" class="img-responsive" />
+ </div>
+ </div>
+ {% endfor %}
+ </div>
+ </body>
+</html>