aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/views
diff options
context:
space:
mode:
authorDennis Eriksen <dennis.se@gmail.com>2013-05-16 00:12:14 +0200
committerDennis Eriksen <dennis.se@gmail.com>2013-05-16 00:12:14 +0200
commitec9a067313c3593834bc6b727429d028c43615eb (patch)
tree5db186605361593e3ad0643b5a70def9d7b0b487 /views
parentfixed regressionerror (diff)
downloadDivid-ec9a067313c3593834bc6b727429d028c43615eb.tar.gz
just some small changes
Diffstat (limited to 'views')
-rw-r--r--views/navbar.ejs2
-rw-r--r--views/signup.ejs16
2 files changed, 11 insertions, 7 deletions
diff --git a/views/navbar.ejs b/views/navbar.ejs
index 12d3e26..785c2bf 100644
--- a/views/navbar.ejs
+++ b/views/navbar.ejs
@@ -14,7 +14,7 @@
<div class="control-group">
<div class="input-prepend">
<span class="add-on"><i class="icon-envelope icon-white"></i></span>
- <input type="text" name="email" id="email" placeholder="E-post" required>
+ <input type="email" name="email" id="email" placeholder="E-post" required>
</div>
</div>
<div class="control-group">
diff --git a/views/signup.ejs b/views/signup.ejs
index 01a5831..c058402 100644
--- a/views/signup.ejs
+++ b/views/signup.ejs
@@ -19,7 +19,11 @@
<div id="email-cg" class="control-group">
<label for="email-tf" class="control-label">Email</label>
<div class="controls">
- <input id="email-tf" type="text" name="email" class="input-xlarge">
+ <% if (invite) { %>
+ <span class="input uneditable-input"><%= email %></span>
+ <% } else { %>
+ <input id="email-tf" type="text" name="email" class="input-xlarge">
+ <% } %>
</div>
</div>
<hr>
@@ -57,11 +61,11 @@
<button data-dismiss="modal" class="btn btn-warning">OK</button>
</div>
</div>
-
-
-
-
-
+
+
+
+
+
<div class="modal-alert modal hide fade">
<div class="modal-header">
<button data-dismiss="modal" class="close">x</button>