The Gitlab instance will be restarted on Monday April 28th at 2AM. There will be a short interruption of service.

Skip to content
Snippets Groups Projects
Commit 4d70f96a authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Add a Login/Cancel link to the create account page.

parent 20761c5e
Branches
No related merge requests found
...@@ -133,6 +133,10 @@ function registerLightboxEvents() { ...@@ -133,6 +133,10 @@ function registerLightboxEvents() {
var get = deparam(parts[1]); var get = deparam(parts[1]);
return Lightbox.get('MyResearch', 'Account', get); return Lightbox.get('MyResearch', 'Account', get);
}); });
$('.back-to-login').click(function() {
Lightbox.getByUrl(Lightbox.openingURL);
return false;
});
// Select all checkboxes // Select all checkboxes
$(modal).find('.checkbox-select-all').change(function() { $(modal).find('.checkbox-select-all').change(function() {
$(this).closest('.modal-body').find('.checkbox-select-item').prop('checked', this.checked); $(this).closest('.modal-body').find('.checkbox-select-item').prop('checked', this.checked);
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
<div class="form-group"> <div class="form-group">
<div class="col-sm-10 col-sm-offset-3"> <div class="col-sm-10 col-sm-offset-3">
<input class="btn btn-primary" type="submit" name="submit" value="<?=$this->transEsc('Submit')?>"/> <input class="btn btn-primary" type="submit" name="submit" value="<?=$this->transEsc('Submit')?>"/>
<a class="back-to-login btn btn-link" href="<?=$this->url('myresearch-userlogin') ?>"><?=$this->transEsc('Login')?></a>
</div> </div>
</div> </div>
</form> </form>
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