embed improved
This commit is contained in:
+3
-7
@@ -190,15 +190,11 @@
|
|||||||
<div id="env-settings" style="margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #eee;">
|
<div id="env-settings" style="margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #eee;">
|
||||||
<p style="font-size: 13px; color: #666; margin-top: 0;"><strong>Target Environment:</strong></p>
|
<p style="font-size: 13px; color: #666; margin-top: 0;"><strong>Target Environment:</strong></p>
|
||||||
<label style="margin-right: 15px; cursor: pointer;">
|
<label style="margin-right: 15px; cursor: pointer;">
|
||||||
<input type="radio" name="envToggle" value="https://tasgrid.ccllc.pro" checked onchange="updateEnv()">
|
<input type="radio" name="envToggle" value="https://tasgrid.ccllc.pro" onchange="updateEnv()">
|
||||||
Production (tasgrid.ccllc.pro)
|
Production (tasgrid.ccllc.pro)
|
||||||
</label>
|
</label>
|
||||||
<label style="margin-right: 15px; cursor: pointer;">
|
|
||||||
<input type="radio" name="envToggle" value="http://localhost:4000" onchange="updateEnv()">
|
|
||||||
Localhost:4000
|
|
||||||
</label>
|
|
||||||
<label style="cursor: pointer;">
|
<label style="cursor: pointer;">
|
||||||
<input type="radio" name="envToggle" value="http://localhost:4001" onchange="updateEnv()">
|
<input type="radio" name="envToggle" value="http://localhost:4001" checked onchange="updateEnv()">
|
||||||
Localhost:4001
|
Localhost:4001
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
@@ -429,7 +425,7 @@ function syncAuth(iframe) {
|
|||||||
<script>
|
<script>
|
||||||
const pb = new PocketBase('https://pocketbase.ccllc.pro');
|
const pb = new PocketBase('https://pocketbase.ccllc.pro');
|
||||||
const statusEl = document.getElementById('status');
|
const statusEl = document.getElementById('status');
|
||||||
let ENV_URL = 'https://tasgrid.ccllc.pro';
|
let ENV_URL = 'http://localhost:4001';
|
||||||
let lastCreatedTaskId = '';
|
let lastCreatedTaskId = '';
|
||||||
let lastCreatedNoteId = '';
|
let lastCreatedNoteId = '';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user