comparison src/lib/Shared.luan @ 11:62dd23f0b549

start add server
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 29 Oct 2023 22:39:31 -0600
parents 88f425d261b3
children 3e2cb946d511
comparison
equal deleted inserted replaced
10:ae9ebeb1c246 11:62dd23f0b549
32 <% else %> 32 <% else %>
33 <span right pulldown> 33 <span right pulldown>
34 <script>document.write(`<img src="https://cdn.discordapp.com/avatars/${localStorage.user_id}/${localStorage.user_avatar}.png" onclick="clickMenu(this)">`)</script> 34 <script>document.write(`<img src="https://cdn.discordapp.com/avatars/${localStorage.user_id}/${localStorage.user_avatar}.png" onclick="clickMenu(this)">`)</script>
35 <div pulldown_menu> 35 <div pulldown_menu>
36 <span username><script>document.write(localStorage.user_name)</script></span> 36 <span username><script>document.write(localStorage.user_name)</script></span>
37 <a href="/servers.html">Your Servers</a>
37 <a href="javascript:logout()">Log out</a> 38 <a href="javascript:logout()">Log out</a>
38 </div> 39 </div>
39 </span> 40 </span>
40 <% end %> 41 <% end %>
41 </div> 42 </div>