forked from CrowdStrike/faltest
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: replace codepen with github pages
I kept getting the DDoS warning on codepen, and it was hanging forever. Using github pages shouldn't have that problem.
- Loading branch information
1 parent
d69edfe
commit ddc65de
Showing
9 changed files
with
150 additions
and
32 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<div> | ||
Env: Dev | ||
</div> | ||
|
||
<div> | ||
Target: | ||
<span id="target">No target</span> | ||
</div> | ||
|
||
<div id="log-in-form"> | ||
<div> | ||
Email: | ||
<input id="email"> | ||
</div> | ||
|
||
<div> | ||
Password: | ||
<input id="password" type="password"> | ||
</div> | ||
|
||
<div> | ||
<button id="log-in">Log in</button> | ||
</div> | ||
</div> | ||
|
||
<div id="member-section" style="display:none"> | ||
<div> | ||
Logged in as: | ||
<span id="email-label"></span> | ||
</div> | ||
<div id="finished-feature"> | ||
Finished feature | ||
</div> | ||
<div id="in-progress-feature"> | ||
In-progress feature | ||
</div> | ||
</div> | ||
|
||
<script src="index.js"></script> |
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,17 @@ | ||
let url = new URL(window.location.href); | ||
let target = url.searchParams.get('target'); | ||
document.getElementById('target').innerText = target; | ||
|
||
document.getElementById('log-in').addEventListener('click', () => { | ||
let email = document.getElementById('email').value; | ||
|
||
document.getElementById('email-label').innerText = email; | ||
|
||
document.getElementById('log-in-form').style.display = 'none'; | ||
document.getElementById('member-section').style.display = 'block'; | ||
}); | ||
|
||
window.featureFlags = [ | ||
'finished-feature', | ||
'in-progress-feature', | ||
]; |
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,36 @@ | ||
<div> | ||
Env: Prod | ||
</div> | ||
|
||
<div> | ||
Target: | ||
<span id="target">No target</span> | ||
</div> | ||
|
||
<div id="log-in-form"> | ||
<div> | ||
Email: | ||
<input id="email"> | ||
</div> | ||
|
||
<div> | ||
Password: | ||
<input id="password" type="password"> | ||
</div> | ||
|
||
<div> | ||
<button id="log-in">Log in</button> | ||
</div> | ||
</div> | ||
|
||
<div id="member-section" style="display:none"> | ||
<div> | ||
Logged in as: | ||
<span id="email-label"></span> | ||
</div> | ||
<div id="finished-feature"> | ||
Finished feature | ||
</div> | ||
</div> | ||
|
||
<script src="index.js"></script> |
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,16 @@ | ||
let url = new URL(window.location.href); | ||
let target = url.searchParams.get('target'); | ||
document.getElementById('target').innerText = target; | ||
|
||
document.getElementById('log-in').addEventListener('click', () => { | ||
let email = document.getElementById('email').value; | ||
|
||
document.getElementById('email-label').innerText = email; | ||
|
||
document.getElementById('log-in-form').style.display = 'none'; | ||
document.getElementById('member-section').style.display = 'block'; | ||
}); | ||
|
||
window.featureFlags = [ | ||
'finished-feature', | ||
]; |
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