A corporation manager and dashboard for EVE Online
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

navitem.mako 769 B

8 년 전
12345678910111213141516
  1. Campaign:
  2. % if request.url_rule.endpoint == "campaigns.campaign":
  3. <form id="campaigns-select" action="${url_for('campaigns.set_campaign')}" method="post" class="styled-border">
  4. <select name="campaign">
  5. <% config = g.config.modules.campaigns.config %>
  6. % for name in config["enabled"]:
  7. <% params = config["campaigns"][name] %>
  8. <option value="${name | h}"${" selected" if name == current else ""}>${params["title"] | h}</option>
  9. % endfor
  10. </select>
  11. <input type="submit" value="Change">
  12. </form>
  13. % else:
  14. <% campaign = g.config.modules.campaigns.config["campaigns"][current] %>
  15. <a href="${url_for('campaigns.campaign', name=current)}">${campaign["title"]}</a>
  16. % endif