diff options
| -rw-r--r-- | app.coffee | 4 | ||||
| -rw-r--r-- | views/calculator/setup.html | 2 | ||||
| -rw-r--r-- | views/users/new.html | 2 |
3 files changed, 5 insertions, 3 deletions
@@ -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" /> |
