-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/signup rec iteration 6 #1656
Open
tchalvak
wants to merge
10
commits into
master
Choose a base branch
from
feat/rec6
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 5 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
0a88acb
Correctly framebreak on login page.
tchalvak 30523f0
Improvements to bathhouse template,
tchalvak aef6d73
Re-enable framebreak on signup page.
tchalvak 2475182
Minor clarification to resources.build.php
tchalvak 430ca84
Improve styling of dojo level reminder.
tchalvak d5a917b
Cleanup empty block of login.js
tchalvak b22f104
Signup rec work.
tchalvak e8d10e1
Merge branch 'master' into feat/rec6
tchalvak 24fcf8e
Merge branch 'master' into feat/rec6
tchalvak ab4ec16
Merge branch 'master' into feat/rec6
tchalvak File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ | |
define('DEBUG', true); // *** Shorter debugging constant name, set as false on live. | ||
define('SERVER_ROOT', realpath(__DIR__) . '/'); // *** The root deployment directory of the game | ||
// Generally for the install purposes the SERVER_ROOT should correspond to /srv/ninjawars/deploy/ | ||
define('WEB_ROOT', "http://localhost:8765/"); // *** The base URL used to access the game, http://www.ninjawars.net on live | ||
define('WEB_ROOT', "http://localhost:8765/"); // *** The base URL used to access the game, https://www.ninjawars.net on live | ||
define('ADMIN_EMAIL', "[email protected]"); // *** For logs/emailed errors. | ||
define('SUPPORT_EMAIL', "[email protected]"); // *** For public questions. | ||
define('SUPPORT_EMAIL_NAME', "Ninjawars Tchalvak"); | ||
|
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
<p>Your current level is {$player->level|escape}. Your current kills are {$player->kills|escape}.</p> | ||
<p>Your current level is <strong class='level'>{$player->level|escape}</strong>. <br /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This has been cherry-picked in to master elsewhere. |
||
Your current kills are <strong class='kills'>{$player->kills|escape}</strong>.</p> |
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,27 @@ | ||
/** | ||
* General behaviors for the login page. | ||
*/ | ||
// @ts-check | ||
|
||
const { location: lLocation, top: lTop } = window; | ||
const { location: lFrameLocation } = lTop || {}; | ||
|
||
/** | ||
* Executions on the signup page. | ||
*/ | ||
(() => { | ||
// eslint-disable-next-line no-unused-vars | ||
const { log, debug } = console || { log: () => { /** noop */ }, debug: () => { /** noop */ } }; | ||
debug('iife run on login.js'); | ||
// // eslint-disable-next-line eqeqeq | ||
if (lLocation != lFrameLocation) { // Framebreak | ||
if (window.top && window.top.location && window.top.location.href) { | ||
window.top.location.href = document.location.href; | ||
} | ||
} | ||
$( // on document ready | ||
() => { | ||
|
||
}, | ||
); | ||
})(); |
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was cherry-picked in elsewhere.