• The template extensions are relative to the template root dir, not local (you have to prepend main/ etc).
    • You can use a <th> tag in place of <td> to get header formatting outside of the header row, like for a left bold column.
    • Stack overflow was offline tonight for maintenance (<1hr).
    • .replace is JS is only for the first occurrence. It’s dumb. To replace all, change the first string (the one to change from) “example” to /example/g. You have to remove the quotes, which introduces further dumb requirements. If your string contains special characters, you need to escape them. For example, to remove all periods from an email, you’d do email.replace(/./g, ”).
    • jquery selectors for ID can’t have special characters like periods and such.
    • SC
      • Worked on #30, the pick view. Moved templates around to generalize the week header dropdown.
      • Got the pick view basically done. I was surprised how nontrivial it was to handle the table. One of the biggest takeaways: give IDs to all cells in the table, named after the variables (x and y axis headers) passed through jinja. Then jquery can select them easily, rather than trying to find them on the fly.
      • Remaining: some styling, and then generic abstraction of the static content. I basically had views/templates/js for the main table of a week’s matchups, but now i need to separate all that for another table so that each has the appropriate scope.