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}">
|
<ul th:if="${bots.empty}">
|
||||||
<li>No Bots!</li>
|
<li>No Bots!</li>
|
||||||
</ul>
|
</ul>
|
||||||
<ul th:each="bot : ${bots}">
|
<th:block th:each="bot : ${bots}">
|
||||||
<li>Bot: <a th:href="@{/viewbot/} + ${bot.username}"><span th:text="${bot.username}">Bot</span></a></li>
|
<span>Bot:</span>
|
||||||
</ul>
|
<span><a th:href="@{/viewbot/} + ${bot.username}">[[${bot.username}]]</a></span>
|
||||||
|
<br>
|
||||||
|
</th:block>
|
||||||
|
<br>
|
||||||
|
<a href="/">HOME</a>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -42,6 +42,9 @@
|
||||||
|
|
||||||
<button type="submit">Register</button>
|
<button type="submit">Register</button>
|
||||||
</form>
|
</form>
|
||||||
|
<br>
|
||||||
|
<a href="/">HOME</a> |
|
||||||
|
<a href="/viewbot">Bot List</a>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 200px;
|
width: 200px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
margin-bottom: 0.5em;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
@ -15,10 +16,14 @@
|
||||||
<div align="center">
|
<div align="center">
|
||||||
<h2>Bot:</h2>
|
<h2>Bot:</h2>
|
||||||
<span>Username:</span><span th:text="${bot.username}"></span><br/>
|
<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>Display Name:</span><span th:text="${bot.name}"></span><br/>
|
||||||
<span>Description:</span><span th:text="${bot.summary}"></span><br/>
|
<span>Description:</span><span th:text="${bot.summary}"></span><br/>
|
||||||
<span>Published:</span><span th:text="${bot.published}"></span><br/>
|
<span>Published:</span><span th:text="${bot.published}"></span><br/>
|
||||||
<span>Type:</span><span th:text="${bot.type}"></span><br/>
|
<span>Type:</span><span th:text="${bot.type}"></span><br/>
|
||||||
|
<br>
|
||||||
|
<a href="/">HOME</a> |
|
||||||
|
<a href="/viewbot">Bot List</a>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue