<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof"><span style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">I generate the HTML rows myself with a homemade "make_table" function and remake the CSS each
 semester or so -- there's no in-built way AFAIK.  The function autogenerates all the <tr>, <td>, etc. elements, so I don't have to do it by hand each time and stress over the styling.  I also have a `image` function, `video` function, etc.  Other instructors
 might approach it differently.</span></div>
<div class="elementToProof"><span style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 11pt; color: rgb(0, 0, 0);"><br>
</span></div>
<div class="elementToProof"><span style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">Here's what I'm using this year, you can use for inspiration: <</span><span style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 11pt; color: rgb(0, 0, 0);"><a href="https://pastebin.com/raw/DQd94nre">https://pastebin.com/raw/DQd94nre</a></span><span style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">>. 
 It's not perfect by any means, it "just works" for my purposes, and I add features to it as needed.  In general for these things, you'd just print out the generated HTML from a <python> block (or @{...} shorthand syntax).</span></div>
<div class="elementToProof"><br>
</div>
<div class="elementToProof"><span style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">That's a stylish calendar</span><span style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 11pt; color: rgb(0, 0, 0);"> though,
 kinda inspiring.  You can ask 6.100 staff how they went about it.  Looks like they have a custom grid container element (<</span><span style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 11pt; color: rgb(0, 0, 0);"><a href="https://introcomp.mit.edu/_static/6.100L_fa23/styles/homepage.css" id="OWAcc0950be-a585-9ab1-1f1b-32f63af46159" class="OWAAutoLink">https://introcomp.mit.edu/_static/6.100L_fa23/styles/homepage.css</a></span><span style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">>)
 that's either from scratch or from somewhere popular that I don't know of, but it should be straightforward (although tedious) to copy over the styling yourself, since to me they just look like repeated boxes with a border-radius, some bold text, and some
 line breaks.</span></div>
<div class="elementToProof"><span style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 11pt; color: rgb(0, 0, 0);"><br>
</span></div>
<div class="elementToProof"><span style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">Hope this helps.</span></div>
<div class="elementToProof"><span style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 11pt; color: rgb(0, 0, 0);"><br>
</span></div>
<div class="elementToProof"><span style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">/m</span></div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> catsoop-users <catsoop-users-bounces@mit.edu> on behalf of Sheng Huang <shengh@mit.edu><br>
<b>Sent:</b> Wednesday, December 27, 2023 15:49<br>
<b>To:</b> catsoop-users <catsoop-users@mit.edu><br>
<b>Subject:</b> [catsoop-users] CAT-SOOP Calendar Question</font>
<div> </div>
</div>
<div style="line-break:after-white-space">Thanks for answering! 
<div><br>
</div>
<div>Is there also example code to show how 6.100A/B/L created the calendar for the class? I was not able to find any default code.</div>
<div><br>
</div>
<div>Can you also point me in the direction of where to find how 6.100A/B/L created the calendar page? The link to their website is here: <a href="https://introcomp.mit.edu/6.100L_fa23">https://introcomp.mit.edu/6.100L_fa23</a></div>
<div><br>
</div>
<div>Thanks!<br>
<div><br>
</div>
<div>Best,</div>
<div>Sheng Huang</div>
<div>
<div><br>
<blockquote type="cite">
<div>On Dec 24, 2023, at 8:48 AM, Madison K Landry <almonds@mit.edu> wrote:</div>
<br class="x_Apple-interchange-newline">
<div>
<div class="x_elementToProof" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<span style="font-family:"Segoe UI","Segoe UI Web (West European)","Helvetica Neue",sans-serif; font-size:11pt">That would be `csq_nsubmits` (see relevant code: <</span><span style="font-family:"Segoe UI","Segoe UI Web (West European)","Helvetica Neue",sans-serif; font-size:11pt"><a href="https://catsoop.org/hg/catsoop/file/tip/catsoop/__HANDLERS__/default/default.py" id="OWA215f7ff9-cd3d-090d-7c20-e3028c085f63" class="x_OWAAutoLink">https://catsoop.org/hg/catsoop/file/tip/catsoop/__HANDLERS__/default/default.py</a>>)</span></div>
<div class="x_elementToProof" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<span style="font-family:"Segoe UI","Segoe UI Web (West European)","Helvetica Neue",sans-serif; font-size:11pt"><br>
</span></div>
<div class="x_elementToProof" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<span style="font-family:"Segoe UI","Segoe UI Web (West European)","Helvetica Neue",sans-serif; font-size:11pt">This can go in a preload.py, in a <python> block or in a particular <question> block.</span></div>
<div class="x_elementToProof" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<span style="font-family:"Segoe UI","Segoe UI Web (West European)","Helvetica Neue",sans-serif; font-size:11pt"><br>
</span></div>
<div class="x_elementToProof" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<span style="font-family:"Segoe UI","Segoe UI Web (West European)","Helvetica Neue",sans-serif; font-size:11pt">Setting to `float("inf")` or `-1` allows infinite submissions.</span></div>
<div class="x_elementToProof" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<span style="font-family:"Segoe UI","Segoe UI Web (West European)","Helvetica Neue",sans-serif; font-size:11pt"><br>
</span></div>
<div class="x_elementToProof" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<span style="font-family:"Segoe UI","Segoe UI Web (West European)","Helvetica Neue",sans-serif; font-size:11pt">Stay warm</span></div>
<div class="x_elementToProof" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<span style="font-family:"Segoe UI","Segoe UI Web (West European)","Helvetica Neue",sans-serif; font-size:11pt">/m</span></div>
<div id="x_appendonsend" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
</div>
<hr tabindex="-1" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px; text-decoration:none; display:inline-block; width:548.796875px">
<span style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; float:none; display:inline!important"></span>
<div id="x_divRplyFwdMsg" dir="ltr" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<font face="Calibri, sans-serif" style="font-size:11pt"><b>From:</b><span class="x_Apple-converted-space"> </span>catsoop-users <catsoop-users-bounces@mit.edu> on behalf of Sheng Huang <shengh@mit.edu><br>
<b>Sent:</b><span class="x_Apple-converted-space"> </span>Saturday, December 23, 2023 13:52<br>
<b>To:</b><span class="x_Apple-converted-space"> </span>catsoop-users <catsoop-users@mit.edu><br>
<b>Subject:</b><span class="x_Apple-converted-space"> </span>[catsoop-users] Submission Count Question</font>
<div> </div>
</div>
<div style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; line-break:after-white-space">
Hello Cat-SOOP,
<div><br>
</div>
<div>I have a question. Below each question there is the line that says “<i><font face="Helvetica Neue" size="2">You have infinitely many submissions remaining.” </font></i></div>
<div><i><font face="Helvetica Neue" size="2"><br>
</font></i></div>
<div><font><span>I have been looking through the code and can’t seem to find where I can specify how many submissions each question can be. Can you point me in the right direction? Thanks!</span></font></div>
<div><font><span><br>
</span></font></div>
<div><font><span>Best,</span></font></div>
<div><font><span>Sheng Huang</span></font></div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</body>
</html>