Skip to content

Node.js based forum software built for the modern web

added missing files

Julian Lam4edc1cd3ea19
diff --git a/public/config.default.json b/public/config.default.json
new file mode 100644
index 0000000000..67acc5b7d3
--- /dev/null
+++ b/public/config.default.json
@@ -0,0 +1,6 @@
+{
+ "socket" : {
+ "address" : "localhost",
+ "port" : "4567"
+ }
+}
\ No newline at end of file
diff --git a/public/templates/reset.tpl b/public/templates/reset.tpl
new file mode 100644
index 0000000000..2286997cbf
--- /dev/null
+++ b/public/templates/reset.tpl
@@ -0,0 +1,24 @@
+<h1>Reset Password</h1>
+<div class="well">
+ <div class="alert alert-success" id="success" style="display:none">
+ <button type="button" class="close" data-dismiss="alert">&times;</button>
+ <strong>Password Reset Sent</strong>
+ <p>An email has been dispatched to <span id="reset-email"></span> with instructions on setting a new password.</p>
+ </div>
+ <label>Email Address</label><input type="text" placeholder="Enter Email Address" id="email" /><br />
+ <button class="btn btn-primary" id="login" type="submit">Reset Password</button>
+</div>
+<script type="text/javascript">
+(function() {
+ /*socket.on('user.login', function(data) {
+ console.log(data);
+ if (data.status === 0) {
+ jQuery('#error').show(50);
+ jQuery('#error p').html(data.message);
+ } else {
+ alert('success');
+ jQuery('#error').hide(50);
+ }
+ });*/
+}());
+</script>
\ No newline at end of file