aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app.coffee4
-rw-r--r--views/calculator/setup.html2
-rw-r--r--views/users/new.html2
3 files changed, 5 insertions, 3 deletions
diff --git a/app.coffee b/app.coffee
index e9880a45..d52a5e15 100644
--- a/app.coffee
+++ b/app.coffee
@@ -32,7 +32,9 @@ authorize = (req, res, next) ->
res.redirect('/login')
app.get('/', calculator.show)
-app.get('/setup', calculator.new)
+app.get('/register', users.new)
+app.get('/setup', calculator.setup)
+app.get('/calculator', calculator.show)
app.get('/ticker', calculator.ticker)
app.get('/login', sessions.new)
diff --git a/views/calculator/setup.html b/views/calculator/setup.html
index ca5626db..36aa0ef4 100644
--- a/views/calculator/setup.html
+++ b/views/calculator/setup.html
@@ -11,7 +11,7 @@
<body>
<div class="container-fluid">
<form id="setup" action="/calculator" method="get">
- <h1>Calculator Setup</h1>
+ <h1>Bitcoin Point of Sale Calculator</h1>
<input type="hidden" id="username" name="username" value="{{user}}" />
diff --git a/views/users/new.html b/views/users/new.html
index be50f47c..844b06c4 100644
--- a/views/users/new.html
+++ b/views/users/new.html
@@ -11,7 +11,7 @@
<body>
<div class="container-fluid">
<form action="/users" method="post">
- <h1>New User Account</h1>
+ <h1>Register</h1>
<label for="username">Username:</label>
<input type="text" id="username" name="username" />