26
26
{% include "includes/sidenav.html" %}
27
27
< div class ="flex md:flex-row flex-col w-full mt-10 lg:max-w-[1700px] lg:mx-auto mx-2 border rounded-lg min-h-[500px] ">
28
28
< div class ="flex flex-col gap-6 lg:w-[25%] w-full border-r border-gray-300/80 500 p-4 ">
29
- < div class ="w-full rounded-lg select-none ">
29
+ < div class ="w-full rounded-lg select-none ">
30
30
{% if user.userprofile.avatar %}
31
31
< img src ="{{ user.userprofile.avatar }} "
32
- class ="object-cover w-full h-full rounded-lg "
32
+ class ="object-cover w-full rounded-lg max-h-[400px] md:max-h-[500px] h-full "
33
33
alt ="avatar "
34
34
width ="200 "
35
35
height ="200 ">
36
36
{% else %}
37
37
< img src ="{% gravatar_url user.email 200 %} "
38
- class ="object-cover w-full h-full rounded-lg "
38
+ class ="object-cover w-full rounded-lg max-h-[400px] md:max-h-[500px] h-full "
39
39
alt ="avatar "
40
40
width ="200 "
41
41
height ="200 ">
@@ -244,16 +244,16 @@ <h1 class="font-bold text-black/90 mb-3">{% trans "Recent Activity" %}</h1>
244
244
{% if activities %}
245
245
{% load gravatar %}
246
246
{% load static %}
247
- < div class =" flex flex-col gap-3 items-center justify-center ">
247
+ < div class =" flex flex-col gap-3 items-center justify-center w-full ">
248
248
{% for activity in activities %}
249
- < div class =" bg-gray-100 rounded-lg flex flex-col gap-3 items-start justify-between p-5 ">
250
- < div class ="rounded-lg w-full hover:shadow-[0_0_10px_rgba(75,85,99,0.5)] transition-all duration-200 ">
249
+ < div class =" bg-gray-100 rounded-lg flex flex-col gap-3 items-start justify-between p-5 w-full ">
250
+ < div class ="rounded-lg w-full border-2 hover:border-red-500 transition-all duration-200 ">
251
251
{% for screenshot_activity,screenshot in activity_screenshots.items %}
252
- {% if activity == screenshot_activity and screenshot.image.url %}
252
+ {% if activity == screenshot_activity and screenshot.image and screenshot.image .url %}
253
253
< a href ="{{ activity.get_absolute_url }} ">
254
- < img src ="https://www. {{ activity.domain_name }}/favicon.ico "
254
+ < img src ="{{ screenshot.image.url }} "
255
255
loading ="lazy "
256
- class ="rounded-lg w-full object-cover h-[200px] "
256
+ class ="rounded-lg w-full object-cover lg:max- h-[300px] h-full "
257
257
alt ="screenshot "
258
258
width ="50% "
259
259
height ="50% ">
@@ -264,7 +264,7 @@ <h1 class="font-bold text-black/90 mb-3">{% trans "Recent Activity" %}</h1>
264
264
< a href ="{{ activity.get_absolute_url }} ">
265
265
< img src ="{{ activity.screenshot.url }} "
266
266
loading ="lazy "
267
- class ="rounded-lg w-full object-cover h-[200px] "
267
+ class ="rounded-lg w-full object-cover lg:max- h-[300px] h-full "
268
268
alt ="screenshot "
269
269
width ="50% "
270
270
height ="50% ">
@@ -280,7 +280,7 @@ <h1 class="font-bold text-black/90 mb-3">{% trans "Recent Activity" %}</h1>
280
280
< img src ="https://www.{{ activity.domain_name }}/favicon.ico "
281
281
height ="30 "
282
282
width ="30 "
283
- class =" border border-gray-300 rounded-full size-[32px] "
283
+ class =" rounded-full size-[32px] "
284
284
alt ="Organization logo "
285
285
onerror ="this.onerror=null; this.src='{% static 'images/dummy-user.png' %}'; ">
286
286
</ a >
@@ -290,9 +290,9 @@ <h1 class="font-bold text-black/90 mb-3">{% trans "Recent Activity" %}</h1>
290
290
class ="hover:text-red-600 "> {{ activity.domain_title }}</ a >
291
291
</ div >
292
292
</ div >
293
- < p class ="text-gray-600 text-start w-full "> Time: {{ activity.created|timesince }} ago.</ p >
293
+ < p class ="text-gray-600 text-sm text- start w-full "> {{ activity.created|timesince }} ago.</ p >
294
294
< div class ="flex flex-row gap-2 items-center ">
295
- Org :
295
+ URL :
296
296
< a class ="hover:text-red-600 "
297
297
href ="{{ activity.url }} "
298
298
target ="_blank "
0 commit comments