Skip to content

Commit 29ef5f4

Browse files
koray-erenJeff
authored andcommitted
updated qr code and link styles
1 parent ccb5131 commit 29ef5f4

File tree

4 files changed

+15
-9
lines changed

4 files changed

+15
-9
lines changed

sogs/templates/base.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
</head>
3131
<body class="dark:bg-otherGray transition duration-500">
3232
<!-- header / navbar -->
33-
<div class="px-5 flex justify-between items-center w-full h-32 mb-4
33+
<div class="px-5 flex justify-between items-center w-full h-32
3434
bg-sessionGreen dark:bg-otherGray border-b-8 border-black dark:border-sessionGreen transition duration-500">
3535
<div class="text-black dark:text-white text-center">
3636
<h1 class="text-3xl xs:text-4xl sm:text-5xl">{% block heading %}{% endblock %}</h1>
@@ -41,7 +41,7 @@ <h1 class="text-3xl xs:text-4xl sm:text-5xl">{% block heading %}{% endblock %}</
4141
</div>
4242

4343
<!-- content/body -->
44-
<section class="text-black dark:text-white">
44+
<section class="text-black dark:text-white m-5">
4545
{% block body %}
4646
{% endblock %}
4747
</section>

sogs/templates/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
{% block body %}
88

9-
<div class="grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 2xl:grid-cols-6 justify-items-center gap-y-2 gap-x-2 mx-4">
9+
<div class="grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 2xl:grid-cols-6 justify-items-center gap-y-2 gap-x-2">
1010
{% for room in rooms %}
1111
{% for i in range(8) %}
1212
<a class="px-5 flex flex-col justify-center items-center transition duration-500 text-center w-full h-24

sogs/templates/view_room.html

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,17 @@
55
{% endblock %}
66

77
{% block body %}
8-
<center>
9-
<img src="invite.png" style="margin: 2em" />
10-
<pre>{{room.url}}</pre>
11-
</center>
8+
<div class="flex justify-center align-center space-x-3">
9+
<div class="w-2/3 md:w-5/6">
10+
<button class="bg-black text-white dark:bg-sessionGreen dark:text-black rounded px-1 py-1 my-2" > <a href="/">< Back</a></button>
11+
<pre class="text-sm break-all whitespace-normal">{{room.url}}</pre>
12+
</div>
13+
<div class="w-1/3 md:w-1/6">
14+
<img class="aspect-square max-w-full max-h-40" src="invite.png" />
15+
</div>
16+
</div>
1217
{% if show_recent %}
13-
<ul id="messages">
18+
<ul id="messages" class="">
1419
<li>loading...</li>
1520
</ul>
1621
<script>

uwsgi-sogs.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,5 @@ http = :80
2929
mount = /=sogs.web:app
3030
mule = sogs.mule:run
3131
touch-reload = /root/session-pysogs/sogs/templates/index.html
32-
touch-reload = /root/session-pysogs/sogs/templates/base.html
32+
touch-reload = /root/session-pysogs/sogs/templates/base.html
33+
touch-reload = /root/session-pysogs/sogs/templates/view_room.html

0 commit comments

Comments
 (0)