Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

Commit

Permalink
Make links to other pages relative
Browse files Browse the repository at this point in the history
Fixes #175.
  • Loading branch information
mraible committed Oct 19, 2016
1 parent 6a6ac16 commit a3e2ef1
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/spEmailVerification.tpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<p ng-show="verifying" class="alert alert-warning">We are verifying your account</p>
<p ng-show="verified" class="alert alert-success">
Your account has has been verified!
<a href="/login">Login Now.</a>
<a href="login">Login Now.</a>
</p>
<p ng-show="reVerificationSent" class="alert alert-success">
We have sent a new verification message to your email address, please check your email for this message.
Expand Down
2 changes: 1 addition & 1 deletion src/spLoginForm.tpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<div class="col-sm-offset-4 col-sm-4">
<p class="text-danger" ng-show="error" ng-bind="error"></p>
<button type="submit" class="btn btn-primary" ng-disabled="posting">Login</button>
<a href="/forgot" class="pull-right">Forgot Password</a>
<a href="forgot" class="pull-right">Forgot Password</a>
</div>
</div>
<div class="form-group" ng-show="viewModel.accountStores.length">
Expand Down
12 changes: 6 additions & 6 deletions src/spPasswordResetForm.tpl.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<div class="row">
<div class="col-sm-offset-4 col-xs-12 col-sm-4">
<p ng-show="verifying" class="alert alert-warning text-center">We are verifying this link</p>
<p class="alert alert-success" ng-show="reset">Your new password has been set. Please <a href="/login">Login Now</a>.</p>
<p class="alert alert-success" ng-show="reset">Your new password has been set. Please <a href="login">Login Now</a>.</p>
<div ng-show="showVerificationError" class="alert alert-danger">
This password reset link is not valid. You may request another
link by <a href="/forgot">clicking here</a>.
link by <a href="forgot">clicking here</a>.
</div>
</div>
</div>
Expand All @@ -13,15 +13,15 @@
<form class="form-horizontal" ng-show="verified && !reset" ng-submit="submit()">

<div class="form-group">
<label for="spEmail" class="col-xs-12 col-sm-4 control-label">New Password</label>
<label for="spNewPassword" class="col-xs-12 col-sm-4 control-label">New Password</label>
<div class="col-xs-12 col-sm-4">
<input class="form-control" id="spUsername" ng-model="formModel.password" placeholder="New Password" type="password" ng-disabled="posting">
<input class="form-control" id="spNewPassword" ng-model="formModel.password" placeholder="New Password" type="password" ng-disabled="posting">
</div>
</div>
<div class="form-group">
<label for="spEmail" class="col-xs-12 col-sm-4 control-label">Confirm New Password</label>
<label for="spConfirmPassword" class="col-xs-12 col-sm-4 control-label">Confirm New Password</label>
<div class="col-xs-12 col-sm-4">
<input class="form-control" id="spUsername" ng-model="formModel.confirmPassword" placeholder="Confirm New Password" type="password" ng-disabled="posting">
<input class="form-control" id="spConfirmPassword" ng-model="formModel.confirmPassword" placeholder="Confirm New Password" type="password" ng-disabled="posting">
</div>
</div>
<div class="form-group">
Expand Down
2 changes: 1 addition & 1 deletion src/spPasswordResetRequestForm.tpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Please check your email for this message, then click on the link.
</p>
<p ng-show="sent" class="pull-right">
<a href="/login">Back to Login</a>
<a href="login">Back to Login</a>
</p>
<div ng-show="error" class="alert alert-danger" ng-bind="error"></div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/spRegistrationForm.tpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
<div class="col-sm-offset-4 col-xs-12 col-sm-4">
<p class="alert alert-success" ng-show="created && !enabled">Your account has been created. Please check your email for a verification link.</p>
<p ng-show="created && !enabled" class="pull-right">
<a href="/login">Back to Login</a>
<a href="login">Back to Login</a>
</p>
<p class="alert alert-success" ng-show="created && enabled && !authenticating">Your account has been created. <a href="/login">Login Now</a>.</p>
<p class="alert alert-success" ng-show="created && enabled && !authenticating">Your account has been created. <a href="login">Login Now</a>.</p>
</div>
</div>
<div class="row">
Expand Down Expand Up @@ -70,4 +70,4 @@
</div>
</form>
</div>
</div>
</div>

0 comments on commit a3e2ef1

Please sign in to comment.