From 348796e5ebd3248dfda1182152aaddf256b049c5 Mon Sep 17 00:00:00 2001 From: Bridger Maxwell Date: Wed, 1 Feb 2012 14:33:20 -0500 Subject: [PATCH] Simple graphing of homework and lab scores --HG-- branch : profiledev --- .DS_Store | Bin 12292 -> 12292 bytes profile.html | 37 ++++++++++++++++++++++++++++++++++++- 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/.DS_Store b/.DS_Store index a630216fad2b616b683bda11c2b2e6803e0fb4f3..bf54290bb5b9500cfecff77144f84e6b8fba5aaa 100644 GIT binary patch delta 106 zcmZokXi3;mEWo&Ka*05)w|I56iMfG}f~7^RjzYDCp`ng~sikFYEhi@jr$9T0sFI$I qM@V9IO>JF00~jzeLTCnFC=H_;H!BN1VcX0m@ttM!KN&V*Mg{<3C>DhP delta 84 zcmZokXi3;mEWo&aa*04Pw?uWdiII_xf}x4osx`HB^$iSQz{m)p8F-;IjB47f UB>04FGrPn$7RHp#e`VN&0cf`pZ~y=R diff --git a/profile.html b/profile.html index e50efed801..3f88a4995b 100644 --- a/profile.html +++ b/profile.html @@ -1,5 +1,9 @@ <%inherit file="main.html" /> +<%! + import json +%> + + + + +
    % for hw in homeworks:
  1. ${ hw['chapter'] }

    -

    ${ hw['section'] }

    +

    ${hw['format']} - ${ hw['section'] } ${"({0}/{1})".format( hw['section_total'][0], hw['section_total'][1] )}

      % for score in hw['scores']: