mirror of
https://github.com/imgfloat/server.git
synced 2026-02-05 11:49:25 +00:00
Add listing
This commit is contained in:
@@ -27,9 +27,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<h3>Assets</h3>
|
||||
<input id="asset-url" placeholder="Asset URL" />
|
||||
<input id="asset-width" placeholder="Width" type="number" value="600" />
|
||||
<input id="asset-height" placeholder="Height" type="number" value="400" />
|
||||
<input id="asset-file" type="file" accept="image/*" />
|
||||
<button onclick="uploadAsset()">Upload</button>
|
||||
<ul id="asset-list"></ul>
|
||||
</div>
|
||||
|
||||
@@ -16,6 +16,17 @@
|
||||
<button class="secondary" type="submit">Logout</button>
|
||||
</form>
|
||||
</div>
|
||||
<div th:if="${adminChannels != null}"
|
||||
class="panel">
|
||||
<h3>Channels you administer</h3>
|
||||
<p th:if="${#lists.isEmpty(adminChannels)}">No admin invitations yet.</p>
|
||||
<ul th:if="${!#lists.isEmpty(adminChannels)}">
|
||||
<li th:each="channelName : ${adminChannels}">
|
||||
<a th:href="@{'/view/' + ${channelName} + '/admin'}"
|
||||
th:text="${channelName}">channel</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user