index.tx 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. <: $topbar | mark_raw :>
  13. <form action="<: $route :>" method="GET" class="ib">
  14. <input required type="search" class="coolbutton topform" name="like" autofocus></input>
  15. <input class="coolbutton topform" type="submit" value="🔎"></input>
  16. <a class="topbar" target="_blank" href="<: $search_help :>" title="<: $search_lang :>">❓</a>
  17. </form>
  18. </div>
  19. : if ($user) {
  20. <a href="/config" title="Preferences" class="topbar topbarimg usericon <: $user :>"></a>
  21. : } else {
  22. <a href="/login" title="Login" class="topbar usericon" style="font-size: 1.5rem;">🔑</a>
  23. : }
  24. </div>
  25. <div id="littlemenu">
  26. </div>
  27. <div id="kontainer">
  28. <div id="leftbar" class="kontained">
  29. <: $leftbar | mark_raw :>
  30. </div>
  31. <div id="kontent" class="kontained">
  32. <: $content | mark_raw :>
  33. </div>
  34. <div id="rightbar" class="kontained">
  35. <: $rightbar | mark_raw :>
  36. </div>
  37. </div>
  38. <div id="footbar">
  39. <: $footbar | mark_raw :>
  40. </div>
  41. : if ( $show_madeby ) {
  42. <a target="_blank" rel="noopener" class="trogged" href="https://tcms.troglodyne.net">
  43. <img src="/img/icon/favicon.svg" style="height:2rem;" />
  44. </a>
  45. : }