diff --git a/rowers/templates/disqualification_view.html b/rowers/templates/disqualification_view.html index e0a984ee..346009d7 100644 --- a/rowers/templates/disqualification_view.html +++ b/rowers/templates/disqualification_view.html @@ -58,17 +58,18 @@ Time:{{ workout.starttime }} - Distance:{{ workout.distance }}m + Distance:{{ record.distance }}m - Duration:{{ workout.duration |durationprint:"%H:%M:%S.%f" }} + Duration:{{ record.duration |durationprint:"%H:%M:%S.%f" }} - Type:{{ workout.workouttype }} + Type:{{ record.boatclass }} {{ record.boattype }} - Weight Category:{{ workout.weightcategory }} + Weight Category:{{ record.weightcategory }}
  • + {% if workout %}

    Workout Summary

    @@ -76,6 +77,9 @@ {{ workout.summary }}

    + {% else %} + The workout was removed by the user. + {% endif %}
  • {% for graph in graphs %}
  • diff --git a/rowers/templates/virtualevent.html b/rowers/templates/virtualevent.html index bcd6bbc7..888d2097 100644 --- a/rowers/templates/virtualevent.html +++ b/rowers/templates/virtualevent.html @@ -164,124 +164,7 @@ {% endlocaltime %}
  • -
  • -
    - {% if request.user.is_anonymous %} -

    - Registered users of rowsandall.com can participate in this challenge. - Participation is free, unless specified differently in the race comment above. - {% if race.sessiontype == 'race' %} - Register to let others know you plan to do this challenge: -

    Register

    - {% elif race.sessiontype == 'fastest_time' %} - Register to let others know you plan to do this challenge: -

    Register

    - {% elif race.sessiontype == 'fastest_distance' %} - Register to let others know you plan to do this challenge: -

    Register

    - {% else %} -

    Register

    - {% endif %} - {% if request.user|isfollower:race.id %} -

    Follow this challenge

    - {% endif %} -

    - {% else %} -

    - See challenge rules below. Participation to this challenge is free, - unless specified differently in the challenge comment above. -

    -

    - Note. On this page, all times are local times in the time zone of the challenge. -

    -

    - {% for button in buttons %} - {% if button == 'registerbutton' %} -

    - Register to let others know you plan to do this challenge. This also give you the option to - select your entry category: - {% if race.sessiontype == 'race' %} -

    Register

    - {% elif race.sessiontype == 'fastest_time' %} - Register to let others know you plan to do this challenge: -

    Register

    - {% elif race.sessiontype == 'fastest_distance' %} - Register to let others know you plan to do this challenge: -

    Register

    - {% else %} -

    Register

    - {% endif %} - {% if request.user|isfollower:race.id %} -

    Follow this challenge

    - {% endif %} -

    - {% endif %} - {% if button == 'submitbutton' %} - - - - - - - - - - {% if race.sessiontype == 'indoorrace' %} - - - - - {% endif %} -
    - Submit Workout - - Submit a workout that is already on the site as your challenge result -
    - Upload your challenge result - - Upload a new workout to the site and submit it as a result. You - need a workout data file. -
    - Enter your challenge result manually - - If you don't have a data file, enter the results - manually. If you have a photo of the monitor with the - result, it is recommended to add this to the workout. -
    - {% endif %} - {% if button == 'resubmitbutton' %} -

    - Submit New Result -

    - {% endif %} - {% if button == 'withdrawbutton' %} -

    - Withdraw -

    - {% endif %} - {% if button == 'adddisciplinebutton' %} -

    - - Register New Boat - -

    - {% endif %} - {% if button == 'editbutton' %} -

    - {% if race.sessiontype == 'race' %} - Edit challenge - - {% else %} - Edit challenge - - {% endif %} -

    - {% endif %} - {% endfor %} - {% endif %} -
    -
  • -
  • +
  • {% if race|is_final %}

    Final Results

    @@ -303,7 +186,7 @@ {% endif %}

    - +
    @@ -477,7 +360,7 @@ {% if form %} -
  • +
  • Filter Results

    @@ -494,11 +377,129 @@

  • {% endif %} -
  • + +
  • +
    + {% if request.user.is_anonymous %} +

    + Registered users of rowsandall.com can participate in this challenge. + Participation is free, unless specified differently in the race comment above. + {% if race.sessiontype == 'race' %} + Register to let others know you plan to do this challenge: +

    Register

    + {% elif race.sessiontype == 'fastest_time' %} + Register to let others know you plan to do this challenge: +

    Register

    + {% elif race.sessiontype == 'fastest_distance' %} + Register to let others know you plan to do this challenge: +

    Register

    + {% else %} +

    Register

    + {% endif %} + {% if request.user|isfollower:race.id %} +

    Follow this challenge

    + {% endif %} +

    + {% else %} +

    + See challenge rules below. Participation to this challenge is free, + unless specified differently in the challenge comment above. +

    +

    + Note. On this page, all times are local times in the time zone of the challenge. +

    +

    + {% for button in buttons %} + {% if button == 'registerbutton' %} +

    + Register to let others know you plan to do this challenge. This also give you the option to + select your entry category: + {% if race.sessiontype == 'race' %} +

    Register

    + {% elif race.sessiontype == 'fastest_time' %} + Register to let others know you plan to do this challenge: +

    Register

    + {% elif race.sessiontype == 'fastest_distance' %} + Register to let others know you plan to do this challenge: +

    Register

    + {% else %} +

    Register

    + {% endif %} + {% if request.user|isfollower:race.id %} +

    Follow this challenge

    + {% endif %} +

    + {% endif %} + {% if button == 'submitbutton' %} +
  •  
    + + + + + + + + + {% if race.sessiontype == 'indoorrace' %} + + + + + {% endif %} +
    + Submit Workout + + Submit a workout that is already on the site as your challenge result +
    + Upload your challenge result + + Upload a new workout to the site and submit it as a result. You + need a workout data file. +
    + Enter your challenge result manually + + If you don't have a data file, enter the results + manually. If you have a photo of the monitor with the + result, it is recommended to add this to the workout. +
    + {% endif %} + {% if button == 'resubmitbutton' %} +

    + Submit New Result +

    + {% endif %} + {% if button == 'withdrawbutton' %} +

    + Withdraw +

    + {% endif %} + {% if button == 'adddisciplinebutton' %} +

    + + Register New Boat + +

    + {% endif %} + {% if button == 'editbutton' %} +

    + {% if race.sessiontype == 'race' %} + Edit challenge + + {% else %} + Edit challenge + + {% endif %} +

    + {% endif %} + {% endfor %} + {% endif %} +
    +
  • +
  • {% if records %}

    Registered Competitors

    - +
    diff --git a/static/css/resetnew.css b/static/css/resetnew.css index e0dad523..5f28ea02 100644 --- a/static/css/resetnew.css +++ b/static/css/resetnew.css @@ -1,4 +1,4 @@ -/* http://meyerweb.com/eric/tools/css/reset/ +/* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ @@ -12,8 +12,8 @@ b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, -article, aside, canvas, details, embed, -figure, figcaption, footer, header, hgroup, +article, aside, canvas, details, embed, +figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; @@ -24,7 +24,7 @@ time, mark, audio, video { vertical-align: baseline; } /* HTML5 display-role reset for older browsers */ -article, aside, details, figcaption, figure, +article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } @@ -45,6 +45,8 @@ q:before, q:after { table { border-collapse: collapse; border-spacing: 0; + word-wrap: break-word; + table-layout: fixed; } /* apply a natural box layout model to all elements, but allowing components to change */
    Name