update example gate
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
@if(private_society && !session)
|
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html theme="@if(typeof theme !== 'undefined'){{ theme }}@else{{ default_theme || 'amoled' }}@endif">
|
<html theme="@if(typeof theme !== 'undefined'){{ theme }}@else{{ default_theme || 'amoled' }}@endif">
|
||||||
<head>
|
<head>
|
||||||
@@ -9,20 +8,18 @@
|
|||||||
<link rel="stylesheet" id="injected-gate-styles" href="/s/css/f0ckm.css?v={{ ts }}">
|
<link rel="stylesheet" id="injected-gate-styles" href="/s/css/f0ckm.css?v={{ ts }}">
|
||||||
</head>
|
</head>
|
||||||
<body class="{{ default_layout === 'legacy' ? 'layout-legacy' : 'layout-modern' }}">
|
<body class="{{ default_layout === 'legacy' ? 'layout-legacy' : 'layout-modern' }}">
|
||||||
|
|
||||||
<!-- ═══════════════════════════════════════════════
|
<div class="wrapper" style="text-align: center;">
|
||||||
YOUR GATE PAGE CONTENT GOES HERE
|
<h2>Example Gate</h2>
|
||||||
═══════════════════════════════════════════════ -->
|
<button type="button" onclick="openLoginGate();">Login</button>
|
||||||
<div id="gate-container" style="display:none;">
|
|
||||||
@include(snippets/navbar)
|
<div id="gate-container" style="display:none;">
|
||||||
@include(snippets/footer)
|
@include(snippets/navbar)
|
||||||
|
@include(snippets/footer)
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<input id="clickMe" type="button" value="clickme" onclick="openLoginGate();" />
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Call openLoginGate() from anywhere to show the login/register modal.
|
|
||||||
// The navbar/footer (and their modals) are lazily revealed on demand.
|
|
||||||
function openLoginGate() {
|
function openLoginGate() {
|
||||||
document.getElementById('gate-container').style.display = 'block';
|
document.getElementById('gate-container').style.display = 'block';
|
||||||
const tryOpen = () => {
|
const tryOpen = () => {
|
||||||
@@ -36,16 +33,3 @@
|
|||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@else
|
|
||||||
@include(snippets/header)
|
|
||||||
<div class="pagewrapper">
|
|
||||||
<div id="main">
|
|
||||||
<!-- ═══════════════════════════════════════════════
|
|
||||||
YOUR PAGE PARTIAL GOES HERE
|
|
||||||
@include(your-partial)
|
|
||||||
═══════════════════════════════════════════════ -->
|
|
||||||
penis :D
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
@include(snippets/footer)
|
|
||||||
@endif
|
|
||||||
|
|||||||
Reference in New Issue
Block a user