about.htm 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <!DOCTYPE html>
  2. <html>
  3. {{template "head" .}}
  4. <main>
  5. {{template "header" .}}
  6. <p>
  7. SkunkyArt is an alternative frontend for deviantart.com, written in Go.
  8. </p>
  9. <h3><a href="https://go.kde.org/matrix/#/#skunkyart:ls.404.mn" target="_blank">Room in [matrix]</a></h3>
  10. <b>Instance settings:</b>
  11. <ul>
  12. <li><b>NSFW</b>: <span class="about-{{.Templates.About.Nsfw}}">{{if .Templates.About.Nsfw}}YES{{else}}NO{{end}}</span></li>
  13. <li><b>Proxyfing</b>: <span class="about-{{.Templates.About.Proxy}}">{{if .Templates.About.Proxy}}YES{{else}}NO{{end}}</span></li>
  14. </ul>
  15. <details>
  16. <summary><b>Instances:</b></summary>
  17. <ul>
  18. {{range .Templates.About.Instances}}
  19. <li><u><b>{{.Title}}</b></u>:
  20. <ul>
  21. <li><b>Country</b>: {{.Country}}</li>
  22. <li><b>URLs</b>: </li>
  23. <ul>
  24. {{if ne .Urls.I2P ""}}
  25. <li><b>I2P</b>: <a href="{{.Urls.I2P}}">Yes</a></li>
  26. {{end}}
  27. {{if ne .Urls.Ygg ""}}
  28. <li><b>Ygg</b>: <a href="{{.Urls.Ygg}}">Yes</a></li>
  29. {{end}}
  30. {{if ne .Urls.Tor ""}}
  31. <li><b>Tor</b>: <a href="{{.Urls.Tor}}">Yes</a></li>
  32. {{end}}
  33. {{if ne .Urls.Clearnet ""}}
  34. <li><b>Clearnet</b>: <a href="{{.Urls.Clearnet}}">{{.Urls.Clearnet}}</a></li>
  35. {{end}}
  36. </ul>
  37. <li><b>Settings</b>: </li>
  38. <ul>
  39. <li><b>NSFW</b>: <span class="about-{{.Settings.Nsfw}}">{{if .Settings.Nsfw}}YES{{else}}NO{{end}}</span></li>
  40. <li><b>Proxyfing</b>: <span class="about-{{.Settings.Proxy}}">{{if .Settings.Proxy}}YES{{else}}NO{{end}}</span></li>
  41. </ul>
  42. </ul>
  43. </li>
  44. {{end}}
  45. </ul>
  46. </details>
  47. <p>Copyright <a href="https://go.kde.org/matrix/#/@softpigeones:ls.404.mn" target="_blank">lost+skunk</a>, X11. <a href="https://git.macaw.me/skunky/skunkyart/src/tag/v{{.Version}}" target="_blank">SkunkyArt v{{.Version}}</a></p>
  48. </main>
  49. </html>