Commit 67c532e2 authored by Mitchell Moore's avatar Mitchell Moore Committed by Krish Moodbidri
Browse files

Removed unused functions on signup.html and fixed logo resizing issue

- Fix tabs and remove validate create
- Fix logo resizing issue
parent 4bbf23c5
......@@ -10,24 +10,16 @@
var socket = io.connect('http://' + document.domain + ':' + location.port);
socket.on( 'connect', function() {
socket.emit( 'user connect', {
socket.emit( 'user connected', {
user: document.getElementById("username").innerText
} )
socket.on( 'creating account', function( msg ) {
document.getElementById("error").innerText = "";
displayloading();
socket.emit("validate creation", {
username: document.getElementById("username").innerText
})
})
socket.on( 'Account creation failed', function( msg ) {
document.getElementById("error").innerText = "Registration Failed. Please try again.";
})
socket.on( 'Account created', function( msg ) {
socket.on( 'account ready', function( msg ) {
let element = document.getElementById("notification_window");
element.parentNode.removeChild(element);
element.innerHTML = " ";
......@@ -35,8 +27,11 @@
})
socket.on( 'Account creation failed', function( msg ) {
document.getElementById("error").innerText = "Registration Failed. Please try again.";
})
})
})
</script>
<style type="text/css">
......@@ -84,7 +79,7 @@
<div class="container content" role="main" style="width: 625px">
<div style="position:relative;">
<img alt="logo" height="100" style="margin-bottom: 20px" src="/static/img/cheaha-logo-a605de0aecd3006b82a5ee30a6d0cb8cd9bf8b7e836296cc293eac746a4c2b11.png">
<img alt="logo" height="auto" width="100%" style="margin-bottom: 20px" src="/static/img/cheaha-logo-a605de0aecd3006b82a5ee30a6d0cb8cd9bf8b7e836296cc293eac746a4c2b11.png">
<a href="https://tinyurl.com/cheahaAL" target="_blank">
<div style="float:left;position:absolute;display:block;left:310px;top:-6px;padding:10px 20px;"> </div>
</a>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment