tweaking the templates a bit for formatting and nav
This commit is contained in:
parent
35a37a5157
commit
44efa084cc
3 changed files with 15 additions and 3 deletions
|
|
@ -17,9 +17,13 @@
|
|||
<ul th:if="${bots.empty}">
|
||||
<li>No Bots!</li>
|
||||
</ul>
|
||||
<ul th:each="bot : ${bots}">
|
||||
<li>Bot: <a th:href="@{/viewbot/} + ${bot.username}"><span th:text="${bot.username}">Bot</span></a></li>
|
||||
</ul>
|
||||
<th:block th:each="bot : ${bots}">
|
||||
<span>Bot:</span>
|
||||
<span><a th:href="@{/viewbot/} + ${bot.username}">[[${bot.username}]]</a></span>
|
||||
<br>
|
||||
</th:block>
|
||||
<br>
|
||||
<a href="/">HOME</a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -42,6 +42,9 @@
|
|||
|
||||
<button type="submit">Register</button>
|
||||
</form>
|
||||
<br>
|
||||
<a href="/">HOME</a> |
|
||||
<a href="/viewbot">Bot List</a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
display: inline-block;
|
||||
width: 200px;
|
||||
text-align: left;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
|
@ -15,10 +16,14 @@
|
|||
<div align="center">
|
||||
<h2>Bot:</h2>
|
||||
<span>Username:</span><span th:text="${bot.username}"></span><br/>
|
||||
<span>Id:</span><span th:text="'@' + ${bot.username} + '@springbot.seth.id.au'"></span><br/>
|
||||
<span>Display Name:</span><span th:text="${bot.name}"></span><br/>
|
||||
<span>Description:</span><span th:text="${bot.summary}"></span><br/>
|
||||
<span>Published:</span><span th:text="${bot.published}"></span><br/>
|
||||
<span>Type:</span><span th:text="${bot.type}"></span><br/>
|
||||
<br>
|
||||
<a href="/">HOME</a> |
|
||||
<a href="/viewbot">Bot List</a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue