Skip to content

Commit

Permalink
remove signup options
Browse files Browse the repository at this point in the history
  • Loading branch information
banglashi committed Feb 27, 2021
1 parent c7256d4 commit 5900b42
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion views/layouts/outer-header.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<div class="header-right pull-right">
<% if (!user) { %>
<a class="btn btn-md btn-dark btn-round" href="/login"><%=__("login")%></a>
<a class="btn btn-md btn-dark btn-round" href="/signup"><%=__("signup")%></a>
<!-- <a class="btn btn-md btn-dark btn-round" href="/signup"><%=__("signup")%></a> -->
<% } else { %>
<a class="btn btn-md btn-dark btn-round" href="/spaces"><%=__("spaces")%></a>
<a class="btn btn-md btn-dark btn-round" href="/logout"><%=__("logout")%></a>
Expand Down
13 changes: 7 additions & 6 deletions views/partials/account.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ <h5>Edit Account</h5>
<div class="dialog-tab" v-bind:class="{open:account=='profile'}" v-on:click="account='profile'"><span><%=__("profile_caption")%></span></div>
<div class="dialog-tab" v-bind:class="{open:account=='language'}" v-on:click="account='language'"><span><%=__("language_caption")%></span></div>
<div class="dialog-tab" v-bind:class="{open:account=='notifications'}" v-on:click="account='notifications'"><span><%=__("notifications_caption")%></span></div>
<div class="dialog-tab" v-bind:class="{open:account=='password'}" v-on:click="account='password'"><span><%=__("password_caption")%></span></div>
<div class="dialog-tab" v-bind:class="{open:account=='terminate'}" v-on:click="account='terminate'"><span><%=__("terminate_caption")%></span></div>
<!-- <div class="dialog-tab" v-bind:class="{open:account=='password'}" v-on:click="account='password'"><span><%=__("password_caption")%></span></div>
<div class="dialog-tab" v-bind:class="{open:account=='terminate'}" v-on:click="account='terminate'"><span><%=__("terminate_caption")%></span></div> -->
</div>

<div class="dialog-section text-left">
Expand Down Expand Up @@ -78,11 +78,12 @@ <h5>Edit Account</h5>
<label class="label"><%=__("profile_email")%></label>
<input
type="email"
disabled
id="new-email"
class="input input-white no-b"
class="input no-b"
v-model="user.email"
v-on:change="user.email_changed=true"
placeholder="[email protected]">
<!-- v-on:change="user.email_changed=true" -->
</div>

<div class="form-group">
Expand Down Expand Up @@ -126,7 +127,7 @@ <h5>Edit Account</h5>
</div>
</div>

<div class="collapse" v-bind:class="{in:account=='password'}">
<!-- <div class="collapse" v-bind:class="{in:account=='password'}">
<h4>Change Password</h4>
<div class="modal-section labels-inline">
<div class="form-group">
Expand Down Expand Up @@ -177,5 +178,5 @@ <h4>Terminate Account</h4>
<button class="btn btn-stroke-darken btn-md" v-on:click="remove_account(account_remove_password, account_remove_feedback)">Terminate Account</button>
</div>
</div>
</div>
</div> -->
</div>
8 changes: 4 additions & 4 deletions views/partials/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<div class="header-right pull-right">
<a v-if="active_view != 'login'" class="btn btn-md btn-dark btn-round" href="/login"><%= __("login") %></a>
<a v-if="active_view != 'signup'" class="btn btn-md btn-dark btn-round" href="/signup"><%= __("signup") %></a>
<!-- <a v-if="active_view != 'signup'" class="btn btn-md btn-dark btn-round" href="/signup"><%= __("signup") %></a> -->
</div>
</header>

Expand All @@ -21,7 +21,7 @@ <h3>Login</h3>

<div class="tight">
<div class="form-group">
<input class="input" name="email" type="email" required v-model="user_forms_email" placeholder="<%=__("email")%>">
<input class="input" name="email" type="text" required v-model="user_forms_email" placeholder="<%=__("email")%>">
</div>
<div class="form-group">
<input class="input" name="password" type="password" required v-model="login_password" placeholder="<%=__("password")%>">
Expand All @@ -35,9 +35,9 @@ <h3>Login</h3>

<div class="center alert alert-danger" v-if="login_error">{{login_error}}</div>

<div style="margin-top:2em">
<!-- <div style="margin-top:2em">
<a href="/password-reset">Forgot Password</a>
</div>
</div> -->
</form>
</div>
</div>
Expand Down

0 comments on commit 5900b42

Please sign in to comment.