34 lines
No EOL
1.1 KiB
Text
34 lines
No EOL
1.1 KiB
Text
<html>
|
|
|
|
<head>
|
|
<link rel="stylesheet" href="/css/xp.css">
|
|
<script src="/js/ace/ace.js" type="text/javascript" charset="utf-8"></script>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="flex flex-col w-full h-full window">
|
|
<div class="title-bar">
|
|
<div class="title-bar-text">Workshop - <%~ include('/workshop/structure_name', {structure: it.structure}) %>
|
|
</div>
|
|
</div>
|
|
<div class="flex flex-row flex-grow window-body">
|
|
<div class="w-1/5 h-full">
|
|
<%~ include('/workshop/sidebar', it) %>
|
|
</div>
|
|
<div id="main-editor" class="flex flex-grow">
|
|
<div id="left-pane" class="flex-grow h-full ">
|
|
<form hx-put="/workshop/<%= it.structure.id %>/settings" hx-target="#result" class="p-2 flex flex-col gap-2 max-w-48">
|
|
<div class="field-row-stacked">
|
|
<label for="name">Route Prefix</label>
|
|
<input name="route_prefix" value="<%= it.structure.route_prefix %>">
|
|
</div>
|
|
<button id="save-btn" type="submit">Save</button>
|
|
<div id="result"></div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
|
|
</html> |