-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ea00429
commit deed90a
Showing
4 changed files
with
91 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
<title>Practise Room Sign-up</title> | ||
<link rel="icon" href="/favicons/Image002.png"> | ||
<link rel="stylesheet" href="/css/bootstrap.css"> | ||
<link rel="stylesheet" href="/css/style.css"> | ||
</head> | ||
<body> | ||
|
||
<div class="container"> | ||
<h1 class="mt-4">Practise Room Sign-up <sup>beta</sup></h1> | ||
<h3 class="mt-5"><%= responseTitle %></h3> | ||
<p class="" style="white-space: pre-wrap;"><%= responseMessage %></p> | ||
|
||
<% if (debugStatus) { %> | ||
<p>If you think this is a bug, please report to <a href="https://github.com/leonluleonlu/PractiseRoomSignup/issues">github.com/leonluleonlu/PractiseRoomSignup/issues</a> or email 2220056@ncpachina.org</p> | ||
<% } %> | ||
|
||
<% if (linkStatus) { %> | ||
<a class="btn btn-primary" href="<%= linkLocation %>"><%= linkText %></a> | ||
<% } %> | ||
|
||
<% if (backStatus) { %> | ||
<button class="btn btn-primary" onclick="window.history.back()">Back</button> | ||
<% } %> | ||
|
||
<h3 class="mt-5">Debug info:</h3> | ||
<p><small class="text-muted">from response.ejs</small></p> | ||
<p><small>Data = <%= responseTitle %></small></p> | ||
<p><small>Data = <%= responseMessage %></small></p> | ||
<p><small>Data = <%= linkStatus %></small></p> | ||
<p><small>Data = <%= linkLocation %></small></p> | ||
<p><small>Data = <%= linkText %></small></p> | ||
<p><small>Data = <%= backStatus %></small></p> | ||
<p><small>Data = <%= redirectDuration %></small></p> | ||
|
||
|
||
<% if (redirectDuration > 0) { %> | ||
<script type="text/javascript"> | ||
function goBack() { | ||
window.history.back(); | ||
} | ||
setTimeout(function(){ goBack() }, <%= redirectDuration %>); | ||
</script> | ||
<% } %> | ||
|
||
|
||
</div> | ||
|
||
|
||
<!-- JQuery --> | ||
<script type="text/javascript" src="/js/jquery-3.4.0.min.js"></script> | ||
<!-- Bootstrap tooltips --> | ||
<script type="text/javascript" src="/js/popper.min.js"></script> | ||
<!-- Bootstrap core JavaScript --> | ||
<script type="text/javascript" src="/js/bootstrap.js"></script> | ||
<script src="/js/main.js"></script> | ||
</body> | ||
</html> |