KXStudio Website https://kx.studio/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
3.0KB

  1. {% extends "layout.twig" %}
  2. {% block title %}${ "Feathers" | translate }{% endblock %}
  3. {% block content %}
  4. <div class="enable feather left">
  5. <h2>${ "Enabled" | translate }</h2>
  6. <ul class="extend">
  7. {% for safename, feather in enabled_feathers | items %}
  8. <li class="$safename">
  9. <a class="$safename info_link" href="javascript:void(0)"><img src="$theme_url/images/icons/info.png" class="info right" /></a>
  10. {% if feather.help %}
  11. <a href="{% admin "help&id="~feather.help %}" class="help emblem"><img src="$theme_url/images/icons/help.png" alt="help" /></a>
  12. {% endif %}
  13. ${ "<a href=\"%s\">%s</a> v%s <span class=\"sub\">by %s</span>" | translate | format(feather.url, feather.name | translate(safename), feather.version, feather.author.link) }
  14. <div class="expand">
  15. <div class="description">
  16. $feather.description {# translation is done in the controller #}
  17. </div>
  18. <noscript><a class="enable_button" href="{% admin "disable&feather="~safename %}">${ "Disable" | translate }</a></noscript>
  19. </div>
  20. </li>
  21. {% endfor %}
  22. </ul>
  23. </div>
  24. <div class="disable feather right">
  25. <h2>${ "Disabled" | translate }</h2>
  26. <ul class="extend">
  27. {% for safename, feather in disabled_feathers | items %}
  28. <li class="$safename">
  29. <a class="$safename info_link" href="javascript:void(0)"><img src="$theme_url/images/icons/info.png" class="info right" /></a>
  30. {% if feather.help %}
  31. <a href="{% admin "help&id="~feather.help %}" class="help emblem"><img src="$theme_url/images/icons/help.png" alt="help" /></a>
  32. {% endif %}
  33. ${ "<a href=\"%s\">%s</a> v%s <span class=\"sub\">by %s</span>" | translate | format(feather.url, feather.name | translate(safename), feather.version, feather.author.link) }
  34. <div class="expand">
  35. <div class="description">
  36. $feather.description {# translation is done in the controller #}
  37. </div>
  38. <noscript><a class="disable_button" href="{% admin "enable&feather="~safename %}">${ "Enable" | translate }</a></noscript>
  39. </div>
  40. </li>
  41. {% endfor %}
  42. </ul>
  43. </div>
  44. <div class="clear tip_here"></div>
  45. <br />
  46. <a class="button right" href="http://chyrp.net/extend/type/feather">${ "Get More Feathers &rsaquo;" | translate }</a>
  47. {% endblock %}