{% load staticfiles %}
{% load rowerfilters %}
<h1><a href="/rowers/list-workouts/">Workouts</a></h1>
<ul class="cd-accordion-menu animated">
  <li id="workouts-list">
    <a href="/rowers/list-workouts/"><i class="fas fa-clipboard-list fa-fw"></i>&nbsp;Workouts List</a>
  </li>
  <li id="charts">
    <a href="/rowers/list-graphs/"><i class="fas fa-chart-pie fa-fw"></i>&nbsp;Charts</a>
  </li>
  <li id="compare">
    {% if team %}
    <a href="/rowers/team-compare-select/team/{{ team.id }}/"><i class="fas fa-balance-scale fa-fw"></i>&nbsp;Compare</a>
    {% else %}
    <a href="/rowers/team-compare-select/team/0/"><i class="fas fa-balance-scale fa-fw"></i>&nbsp;Compare</a>
    {% endif %}
  </li>
  <li>
    <a href="/rowers/workout/upload/"><i class="fas fa-file-upload fa-fw"></i>&nbsp;Upload</a>
  </li>
  <li>
    <a href="/rowers/workout/addmanual/"><i class="fas fa-file-plus fa-fw"></i>&nbsp;Add manual entry</a>
  </li>
  <li>
    {% if user|is_promember %}
    <a href="/rowers/workouts-join-select/">
      {% else %}
      <a href="/rowers/paidplans/">
      {% endif %}
      <i class="fas fa-layer-plus fa-fw"></i>&nbsp;Glue Workouts
    </a>
  </li>
  <li class="has-children" id="imports">
    <input type="checkbox" name ="group-1" id="group-1">
    <label for="group-1"><i class="fas fa-cloud-download fa-fw"></i>&nbsp;Import</label>

    <ul>
      <li id="concept2"><a href="/rowers/workout/c2list/">Concept2</a></li>
      <li id="strava"><a href="/rowers/workout/stravaimport/">Strava</a></li>
      <li id="runkeeper"><a href="/rowers/workout/runkeeperimport/">RunKeeper</a></li>
      <li id="sporttracks"><a href="/rowers/workout/sporttracksimport/">SportTracks</a></li>
      <li id="mapmyfitness"><a href="/rowers/workout/underarmourimport/">MapMyFitness</a></li>
      <li id="polar"><a href="/rowers/workout/polarimport/">Polar</a></li>
    </ul>
  </li>
</ul> <!-- cd-accordion-menu -->


{% include 'menuscript.html' %}
