feat: add journey creation with title, description, and marker management
Co-authored-by: aider (ollama/qwen2.5-coder:32b) <aider@aider.chat>
This commit is contained in:
2 files changed
+108
-19
No files matched your search
+16
-17
@@ -507,35 +507,34 @@
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<!-- Create Journey Panel (Visible in create mode) -->
|
||||
<!-- Create Journey Panel -->
|
||||
<div id="create-panel" class="panel active-panel">
|
||||
<h3><i class="fas fa-route"></i> Create New Journey</h3>
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
<label for="journey-title"><i class="fas fa-heading"></i> Journey Title</label>
|
||||
<input type="text" id="journey-title" placeholder="My European Adventure">
|
||||
<input type="text" id="journey-title" placeholder="Enter journey title" required>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
<label for="journey-description"><i class="fas fa-align-left"></i> Description</label>
|
||||
<textarea id="journey-description" placeholder="Describe your journey..."></textarea>
|
||||
<textarea id="journey-description" placeholder="Describe your journey"></textarea>
|
||||
</div>
|
||||
|
||||
<div class="instructions">
|
||||
<h4><i class="fas fa-info-circle"></i> How to create:</h4>
|
||||
<ol>
|
||||
<li>Click on the map to place markers</li>
|
||||
<li>Click on a marker to add content</li>
|
||||
<li>Markers will be automatically connected</li>
|
||||
<li>Click "Save Journey" when done</li>
|
||||
</ol>
|
||||
|
||||
<h4><i class="fas fa-map-marker-alt"></i> Journey Markers</h4>
|
||||
<div id="markers-container">
|
||||
<!-- Markers will be added here -->
|
||||
<p class="empty-message" id="empty-markers">No markers yet. Click on the map to add markers.</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="button-group">
|
||||
<button id="save-journey" class="btn btn-primary">
|
||||
<button id="add-marker-btn" class="btn btn-primary">
|
||||
<i class="fas fa-plus"></i> Add Marker
|
||||
</button>
|
||||
<button id="save-journey-btn" class="btn btn-success">
|
||||
<i class="fas fa-save"></i> Save Journey
|
||||
</button>
|
||||
<button id="clear-markers" class="btn btn-secondary">
|
||||
<button id="clear-markers-btn" class="btn btn-secondary">
|
||||
<i class="fas fa-trash-alt"></i> Clear Markers
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user