sync: foundry v0.2

This commit is contained in:
2025-10-09 20:55:30 +02:00
parent 95a71cb6e2
commit 0a4148abaa
23 changed files with 1285 additions and 143 deletions
@@ -0,0 +1,37 @@
<form>
<div class="form-group">
<label for="text">Note Text:</label>
<textarea name="text" rows="4">{{text}}</textarea>
</div>
{{!-- Only show the Image Path field for photo notes --}}
{{#if (eq noteType "photo")}}
<div class="form-group" style="display: block;">
<label for="image">Image Path:</label>
<div class="file-picker">
<input type="text" name="image" value="{{image}}" placeholder="Enter image path" readonly />
<button type="button" class="file-picker-button">
<i class="fas fa-folder-open"></i> Browse
</button>
</div>
</div>
{{else}}
<div class="form-group" style="display: none;"></div>
{{/if}}
{{!-- If boardMode is futuristic and noteType is photo, show the extra Identity Name field --}}
{{#if (eq noteType "photo")}}
{{#if (eq boardMode "futuristic")}}
<div class="form-group" style="display: block;">
<label for="identityName">Identity Name:</label>
<input type="text" name="identityName" value="{{identityName}}" placeholder="Enter identity name" />
</div>
{{/if}}
{{/if}}
<div class="form-group">
<button type="submit" class="save-button">
<i class="fas fa-save"></i> Save
</button>
</div>
</form>