Mercurial Hosting > disearch
comparison src/lib/Shared.luan @ 5:aa1920665f98
discord login
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 23 Oct 2023 00:43:41 -0600 |
parents | 8896ffd7b152 |
children | d59ae3e468f1 |
comparison
equal
deleted
inserted
replaced
4:8896ffd7b152 | 5:aa1920665f98 |
---|---|
26 function Shared.header() | 26 function Shared.header() |
27 %> | 27 %> |
28 <div header> | 28 <div header> |
29 <h1><a href="/">Disearch</a></h1> | 29 <h1><a href="/">Disearch</a></h1> |
30 <% if get_user() == nil then %> | 30 <% if get_user() == nil then %> |
31 <a href="login.red">login</a> | 31 <a href="login1.red">login</a> |
32 <% else %> | 32 <% else %> |
33 <a href="javascript:logout()">logout</a> | 33 <a href="javascript:logout()">logout</a> |
34 <% end %> | 34 <% end %> |
35 </div> | 35 </div> |
36 <hr> | 36 <hr> |