fix:修复bug
This commit is contained in:
24
index.html
24
index.html
@@ -280,7 +280,7 @@
|
||||
<div class="brand">Shadervault</div>
|
||||
<div class="header-right">
|
||||
<input id="search-input" class="search" placeholder="Search shaders..." />
|
||||
<button id="manage-btn">管理内容</button>
|
||||
<a href="./admin.html" style="text-decoration:none;"><button>管理后台</button></a>
|
||||
</div>
|
||||
</header>
|
||||
<div id="app">
|
||||
@@ -312,26 +312,6 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="manage-modal" class="modal" aria-hidden="true">
|
||||
<div class="modal-card">
|
||||
<div class="topbar">
|
||||
<strong>Shader 内容管理</strong>
|
||||
<div style="display:flex; gap:8px">
|
||||
<button id="close-manage-btn">关闭</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-grid">
|
||||
<input id="shader-name-input" placeholder="名称" />
|
||||
<input id="shader-author-input" placeholder="作者(可选)" />
|
||||
<textarea id="shader-code-input" placeholder="粘贴 GLSL,必须包含 mainImage"></textarea>
|
||||
</div>
|
||||
<div style="display:flex; gap:8px; margin-top:10px;">
|
||||
<button id="save-shader-btn">保存到后端</button>
|
||||
<button id="fill-example-btn">填入示例</button>
|
||||
</div>
|
||||
<div class="table" id="shader-admin-list"></div>
|
||||
</div>
|
||||
</section>
|
||||
<script src="./frontend.js"></script>
|
||||
<script src="./display.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user