aboutsummaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2012-11-11 21:57:11 -0800
committerAdam Soltys <[email protected]>2012-11-11 21:57:11 -0800
commit81b30afabd1736e3dec4bb05c377b2d28317c2fe (patch)
treedd71cb80284d29be0e635f95025e46f24b1fb94b /views
parent3e900e0bba211c2bbf2bb10c85a82dd9ce6943f0 (diff)
downloadcoinos-server-81b30afabd1736e3dec4bb05c377b2d28317c2fe.tar.gz
coinos-server-81b30afabd1736e3dec4bb05c377b2d28317c2fe.zip
Save calculator params to database
Diffstat (limited to 'views')
-rw-r--r--views/calculator.html5
-rw-r--r--views/index.html9
2 files changed, 8 insertions, 6 deletions
diff --git a/views/calculator.html b/views/calculator.html
index 38d9cdae..792b5b02 100644
--- a/views/calculator.html
+++ b/views/calculator.html
@@ -12,9 +12,8 @@
<div class="container-fluid">
<div id="calculator" style="display: none">
<input id="client" type="hidden" value="{{client}}" />
- <h1 id="title">Bitcoin Payment Calculator</h1>
-
- <img id="logo" src="img/logo.jpg" alt="Logo" style="display: none" />
+ <h1 id="title"></h1>
+ <img id="logo" src="img/logo.jpg" alt="Logo" />
<label for="exchange">Exchange Rate:</label>
<input type="text" id="exchange" value="0" disabled="disabled" />
diff --git a/views/index.html b/views/index.html
index eaf27c69..4080f66c 100644
--- a/views/index.html
+++ b/views/index.html
@@ -9,11 +9,14 @@
</head>
<body>
<div class="container-fluid">
- <form action="calculator">
+ <form action="create" method="post">
<h1>Calculator Setup</h1>
- <label for="title">Name:</label>
- <input type="text" id="title" name="title" />
+ <label for="login">Alias:</label>
+ <input type="text" id="login" name="login" />
+
+ <label for="name">Title:</label>
+ <input type="text" id="name" name="name" />
<label for="address">Bitcoin Address:</label>
<input type="text" id="address" name="address" />