Make session control fully ajax
This commit is contained in:
14
index.erb
14
index.erb
@@ -28,15 +28,12 @@
|
||||
/>
|
||||
</a>
|
||||
<div class="header-right">
|
||||
<div class="signed_in">
|
||||
<button class="account-button" id="logout-button">LOGOUT</button>
|
||||
</div>
|
||||
<div class="not_signed_i">
|
||||
<button class="account-button" id="login-button">LOGIN</button>
|
||||
<button class="account-button" id="signup-button">SIGN UP</button>
|
||||
</div>
|
||||
<button class="account-button" id="logout-button">LOGOUT</button>
|
||||
<button class="account-button" id="login-button">LOGIN</button>
|
||||
<button class="account-button" id="signup-button">SIGN UP</button>
|
||||
</div>
|
||||
</div>
|
||||
<span id="message"><%= @message %></span>
|
||||
<canvas id="main-canvas"></canvas>
|
||||
<div class="popup" id="popup">
|
||||
<span class="close" id="close">×</span>
|
||||
@@ -69,6 +66,9 @@
|
||||
<span class="info" id="signup-info"></span>
|
||||
</form>
|
||||
</div>
|
||||
<div class="popup-tab" id="settings">
|
||||
<!-- TODO: settings -->
|
||||
</div>
|
||||
<div class="popup-tab" id="forgot-pass">
|
||||
<form id="forgot-form" class="form">
|
||||
<input
|
||||
|
Reference in New Issue
Block a user