Prettify code
This commit is contained in:
parent
67f4298223
commit
64395efcbb
|
@ -19,18 +19,8 @@
|
|||
function chatImgAlt() {
|
||||
document.getElementById('chatimg').src = 'https://s3.imgcdn.dev/nWNtu.jpg'
|
||||
}
|
||||
|
||||
</script>
|
||||
<!--
|
||||
<script>
|
||||
function toggleColorMode() {
|
||||
if (localStorage.theme = 'light') {
|
||||
localStorage.theme = 'dark';
|
||||
} else {
|
||||
localStorage.theme = 'dark';
|
||||
}
|
||||
}
|
||||
</script>
|
||||
-->
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -7,8 +7,7 @@
|
|||
<div class="mx-auto my-1 p-1 w-full">
|
||||
<div class="px-2 sm:px-4 md:px-6 lg:px-8 grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-3 text-center break-words">
|
||||
{% for chat in chats %}
|
||||
<a title="{{chat.name}}" href="/{{chat.page_id}}"
|
||||
class="p-4 rounded shadow hover:shadow-md hover:border hover:border-blue-300 hover:bg-blue-100 dark:bg-red-700 dark:hover:bg-red-500">
|
||||
<a title="{{chat.name}}" href="/{{chat.page_id}}" class="p-4 rounded shadow hover:shadow-md hover:border hover:border-blue-300 hover:bg-blue-100 dark:bg-red-700 dark:hover:bg-red-500">
|
||||
|
||||
<img src="/{{chat.page_id}}/logo?big=1" class="w-full rounded-full ">
|
||||
<div class="p-2 mt-2 rounded text-white bg-blue-500 dark:bg-yellow-500">{{chat.name}}</div>
|
||||
|
|
|
@ -1,16 +1,13 @@
|
|||
{% include 'header.html' %}
|
||||
|
||||
|
||||
{% block javascript %}
|
||||
{% include 'header.html' %} {% block javascript %}
|
||||
<script type="text/javascript">
|
||||
{% include "./js/filesaver.min.js" %}
|
||||
{% include "./js/playlist.js" %}
|
||||
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
<div class="block md:flex justify-between items-center px-4 text-center border-b-2">
|
||||
<div
|
||||
class="m-2 block md:flex items-center justify-center md:justify-start text-2xl md:text-right font-bold text-blue-500">
|
||||
<div class="m-2 block md:flex items-center justify-center md:justify-start text-2xl md:text-right font-bold text-blue-500">
|
||||
<img class="mx-auto md:ml-0 md:mr-1 my-4 md:my-2 w-16 h-16 rounded-full bg-black outline-none" src="{{logo}}">
|
||||
<a href="javascript:window.location.href=window.location.href"> {{name}} </a>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue