πŸ”’ Lock Manager

Jackson Habimana Chemistry Portal
← Back to Admin
Loading lock status…

πŸ”‘ Access Code

Students must enter this code to unlock protected pages. Leave blank to remove all locks.

πŸ—‚οΈ What to Lock

Toggle each section ON (πŸ”΄ locked) or OFF (🟒 open). Click any card to toggle.


⚑ Quick Actions

☁️ Save & Apply to All Students

To apply locks to students on other devices, save to the cloud (JSONBin). Students' pages will fetch lock settings automatically.

πŸ“– How to Use

  1. Set an access code above (e.g. CHEM2024) and save it.
  2. Toggle the sections you want to lock ON (red) and save.
  3. Same device: Locks apply immediately to unit quizzes on this browser β€” students using the same computer will see the lock.
  4. All student devices: Enter your JSONBin API key and click Save to Cloud. Note the Bin ID shown. Add the <meta> tag to any HTML page you want locked, then push to GitHub.
  5. Unlock: Toggle sections OFF and save. Or click Unlock Everything.

πŸ“‹ Page Scope Reference

Add this before </body> in any HTML page to make it use the cloud lock system:

<!-- Declare page scope -->
<script>window.LOCK_SCOPE='s4';</script>
<!-- Load lock engine -->
<script src="lock.js"></script>

Available scopes: all Β· s4 Β· s5 Β· s6 Β· s4quiz Β· s5quiz Β· s6quiz Β· assessment