index.tx 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <div id="topkek">
  2. <div id="lefttitle" class="toplel">
  3. <: $htmltitle | mark_raw :>
  4. </div>
  5. <div id="midtitle" class="toplel">
  6. <: $midtitle | mark_raw :>
  7. </div>
  8. <span title="Menu" id="clickme" onclick="this.focus()">🌐</span>
  9. <div id="righttitle" class="toplel">
  10. : include "categories.tx";
  11. <a href="/sitemap" title="Sitemap" class="topbar">🗺️</a>
  12. <form action="<: $route :>" method="GET" class="ib">
  13. <input required type="search" class="coolbutton topform" name="like" autofocus></input>
  14. <input class="coolbutton topform" type="submit" value="🔎"></input>
  15. <a class="topbar" target="_blank" href="<: $search_help :>" title="<: $search_lang :>">❓</a>
  16. </form>
  17. </div>
  18. : if ($user) {
  19. <a href="/config" title="Preferences" class="topbar topbarimg usericon <: $user :>"></a>
  20. : } else {
  21. <a href="/login" title="Login" class="topbar usericon" style="font-size: 1.5rem;">🔑</a>
  22. : }
  23. </div>
  24. <div id="littlemenu">
  25. </div>
  26. <div id="kontainer">
  27. <div id="leftbar" class="kontained">
  28. <: $leftbar | mark_raw :>
  29. </div>
  30. <div id="kontent" class="kontained">
  31. <: $content | mark_raw :>
  32. </div>
  33. <div id="rightbar" class="kontained">
  34. <: $rightbar | mark_raw :>
  35. </div>
  36. </div>
  37. <div id="footbar">
  38. <: $footbar | mark_raw :>
  39. </div>
  40. : if ( $show_madeby ) {
  41. <a target="_blank" rel="noopener" class="trogged" href="https://tcms.troglodyne.net">
  42. <img src="/img/icon/favicon.svg" style="height:2rem;" />
  43. </a>
  44. : }