A corporation manager and dashboard for EVE Online
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.

пре 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')}">${campaign["title"]}</a>
  16. % endif