new maps admin feature
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
<h2>Settings</h2>
|
||||
<nav class="admin-nav">
|
||||
<a href="#start-location" class="active">Start Location</a>
|
||||
<!-- Future menu items can go here -->
|
||||
<a href="#walk-sheet">Walk Sheet</a>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
@@ -76,6 +76,104 @@
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Walk Sheet Section -->
|
||||
<section id="walk-sheet" class="admin-section" style="display: none;">
|
||||
<h2>Walk Sheet Configuration</h2>
|
||||
<p>Design and configure printable walk sheets for door-to-door canvassing.</p>
|
||||
|
||||
<div class="walk-sheet-container">
|
||||
<div class="walk-sheet-config">
|
||||
<h3>Sheet Information</h3>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="walk-sheet-title">Sheet Title</label>
|
||||
<input type="text" id="walk-sheet-title" placeholder="Campaign Walk Sheet">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="walk-sheet-subtitle">Subtitle</label>
|
||||
<input type="text" id="walk-sheet-subtitle" placeholder="Door-to-Door Canvassing Form">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="walk-sheet-footer">Footer Text</label>
|
||||
<textarea id="walk-sheet-footer" rows="3" placeholder="Contact info, legal text, etc."></textarea>
|
||||
</div>
|
||||
|
||||
<h3>QR Codes</h3>
|
||||
<p class="help-text-inline">Add up to 3 QR codes for quick access to digital resources.</p>
|
||||
|
||||
<!-- QR Code 1 -->
|
||||
<div class="qr-code-group">
|
||||
<h4>QR Code 1</h4>
|
||||
<div class="form-row">
|
||||
<div class="form-group">
|
||||
<label for="qr-code-1-url">URL</label>
|
||||
<input type="url" id="qr-code-1-url" placeholder="https://example.com/signup">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="qr-code-1-label">Label</label>
|
||||
<input type="text" id="qr-code-1-label" placeholder="Sign Up">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- QR Code 2 -->
|
||||
<div class="qr-code-group">
|
||||
<h4>QR Code 2</h4>
|
||||
<div class="form-row">
|
||||
<div class="form-group">
|
||||
<label for="qr-code-2-url">URL</label>
|
||||
<input type="url" id="qr-code-2-url" placeholder="https://example.com/donate">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="qr-code-2-label">Label</label>
|
||||
<input type="text" id="qr-code-2-label" placeholder="Donate">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- QR Code 3 -->
|
||||
<div class="qr-code-group">
|
||||
<h4>QR Code 3</h4>
|
||||
<div class="form-row">
|
||||
<div class="form-group">
|
||||
<label for="qr-code-3-url">URL</label>
|
||||
<input type="url" id="qr-code-3-url" placeholder="https://example.com/volunteer">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="qr-code-3-label">Label</label>
|
||||
<input type="text" id="qr-code-3-label" placeholder="Volunteer">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-actions">
|
||||
<button id="save-walk-sheet" class="btn btn-primary">
|
||||
Save Configuration
|
||||
</button>
|
||||
<button id="preview-walk-sheet" class="btn btn-secondary">
|
||||
Preview Sheet
|
||||
</button>
|
||||
<button id="print-walk-sheet" class="btn btn-secondary">
|
||||
🖨️ Print Sheet
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="walk-sheet-preview">
|
||||
<h3>Preview</h3>
|
||||
<div class="preview-controls">
|
||||
<button id="refresh-preview" class="btn btn-sm btn-secondary">Refresh</button>
|
||||
<span class="preview-info">8.5" x 11" format</span>
|
||||
</div>
|
||||
<div id="walk-sheet-preview-content" class="walk-sheet-page">
|
||||
<!-- Preview content will be generated here -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -88,6 +186,9 @@
|
||||
integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo="
|
||||
crossorigin=""></script>
|
||||
|
||||
<!-- QR Code Library -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/qrcode@1.5.3/build/qrcode.min.js"></script>
|
||||
|
||||
<!-- Admin JavaScript -->
|
||||
<script src="js/admin.js"></script>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user