diff options
| author | historia <[not public]> | 2026-07-05 22:35:21 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-07-05 22:35:21 -0400 |
| commit | 94823b52168b44894fb5e9c960358ed02ebb122b (patch) | |
| tree | 3060799b89bb7edfa708c72bdd981107d40f4d09 /internal/admin/templates | |
| parent | 843fa6db681e494bf46e191655323a40577542b5 (diff) | |
| download | thehouseoficarus-94823b52168b44894fb5e9c960358ed02ebb122b.tar.gz | |
feat: courses gui overhaul, add course tab to map, add hidden exits to give courses structure
Diffstat (limited to 'internal/admin/templates')
| -rw-r--r-- | internal/admin/templates/courses.html | 14 | ||||
| -rw-r--r-- | internal/admin/templates/layout.html | 2 |
2 files changed, 0 insertions, 16 deletions
diff --git a/internal/admin/templates/courses.html b/internal/admin/templates/courses.html deleted file mode 100644 index 60e07f8..0000000 --- a/internal/admin/templates/courses.html +++ /dev/null @@ -1,14 +0,0 @@ -{{define "body-courses"}} -<div class="editor-container"> - <div class="editor-list" id="itemList"> - <div class="search-bar"><input placeholder="Search courses..." oninput="filterList(this.value)"></div> - <div id="listEntries"></div> - <button class="btn btn-primary btn-sm" style="margin-top:8px;width:100%" onclick="createNew()">+ New Course</button> - </div> - <div class="editor-main" id="editorMain"> - <p style="color:#888;text-align:center;margin-top:60px">Select a course to edit</p> - </div> -</div> -<script src="/static/editor.js"></script> -<script>initEditor('courses', [{key:'name',label:'Name',type:'text'},{key:'skill',label:'Skill',type:'text'},{key:'level',label:'Level',type:'number'},{key:'cost',label:'Cost',type:'number'},{key:'description',label:'Description',type:'textarea'}]);</script> -{{end}} diff --git a/internal/admin/templates/layout.html b/internal/admin/templates/layout.html index 410c8df..009e1f7 100644 --- a/internal/admin/templates/layout.html +++ b/internal/admin/templates/layout.html @@ -17,7 +17,6 @@ <a href="/editor/drops" class="{{if eq .Page "drops"}}active{{end}}">Drops</a> <a href="/editor/hazards" class="{{if eq .Page "hazards"}}active{{end}}">Hazards</a> <a href="/editor/techs" class="{{if eq .Page "techs"}}active{{end}}">Techs</a> - <a href="/editor/courses" class="{{if eq .Page "courses"}}active{{end}}">Courses</a> <a href="/editor/modules" class="{{if eq .Page "modules"}}active{{end}}">Modules</a> <a href="/editor/players" class="{{if eq .Page "players"}}active{{end}}">Players</a> <a href="/editor/dashboard" class="{{if eq .Page "dashboard"}}active{{end}}">Dashboard</a> @@ -37,7 +36,6 @@ {{else if eq .Page "drops"}}{{template "body-drops" .}} {{else if eq .Page "hazards"}}{{template "body-hazards" .}} {{else if eq .Page "techs"}}{{template "body-techs" .}} -{{else if eq .Page "courses"}}{{template "body-courses" .}} {{else if eq .Page "modules"}}{{template "body-modules" .}} {{else if eq .Page "players"}}{{template "body-players" .}} {{else if eq .Page "dashboard"}}{{template "body-dashboard" .}} |
