This repository was archived by the owner on Nov 2, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +15
-9
lines changed
Expand file tree Collapse file tree 5 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ def user_dashboard():
103103
104104 uptime = "🟢Uptime: " + str (datetime .datetime .now () - starting_time )
105105 for thread in threading .enumerate ():
106- if thread .getName () == "bot" :
106+ if thread .name == "bot" :
107107 if not thread .is_alive ():
108108 uptime = "🔴Uptime: Dead"
109109 break
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ <h4>Last {{len}} logs</h4>
106106 < div class ="container-fluid ">
107107 < div >
108108 < div class ="container justify-content-center text-center ">
109- < a href ="/ "> Back to home</ a >
109+ < a href ="/ "> < button type =" button " class =" btn btn-primary " value =" Back to home " > Back to home </ button > </ a >
110110 </ div >
111111 </ div >
112112 </ div >
Original file line number Diff line number Diff line change 1616< body >
1717 {% include 'navbar.html' %}
1818
19+ < br >
20+
1921 < div class ="container " id ="content ">
22+
23+ < br >
2024 < div class ="row ">
2125 < h4 >
2226 ERROR: {{ errormsg }}
2327 </ h4 >
24- < a href ="/ "> Back to home</ a >
28+ < a href ="/ "> < button type =" button " class =" btn btn-primary " value =" Back to home " > Back to home </ button > </ a >
2529 </ div >
2630 </ div >
2731
Original file line number Diff line number Diff line change 66< footer >
77 < div class ="footerCopy ">
88 < div class ="inb ">
9- < p > Mantained with <3 by < a href ="https://www.edoardoottavianelli.it/ "> @edoardottt</ a > </ p >
9+ < p > Mantained with ❤️ by < a href ="https://www.edoardoottavianelli.it/ "> @edoardottt</ a > </ p >
1010 </ div >
1111 </ div >
1212</ footer >
Original file line number Diff line number Diff line change 2424 Select for which user you want to show real time data
2525 </ p >
2626 < form method ="get " action ="/dashboard ">
27- <!-- For loop logic of jinja template -->
28- {%for i in range(0, len)%}
29- < input type ="radio " name ="user " id ="option1 " value ="{{ users[i][0] }} "> {{ users[i][0]}} </ input > < br >
30- {%endfor%}
27+ < select name ="user " class ="form-select form-select-lg mb-3 " aria-label =".form-select-lg example ">
28+ <!-- For loop logic of jinja template -->
29+ {%for i in range(0, len)%}
30+ < option value ="{{ users[i][0] }} "> {{ users[i][0]}}</ option >
31+ {%endfor%}
32+ </ select >
3133 < br >
32- < button type ="submit " value ="Submit "> Submit</ button >
34+ < button type ="submit " class =" btn btn-primary " value ="Submit "> Submit</ button >
3335 </ form >
3436 </ div >
3537 </ div >
You can’t perform that action at this time.
0 commit comments