shanep-class 1.0.14 โ†’ 1.0.17

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f7c2a54b66c4c753d323fddc33f787cbc0cce110177e3ebbe06090bb02c868b1
4
- data.tar.gz: 3e45c4504ea02515c51a3e0756dd198589f10b603f3d619e3cd3cc06df4861ee
3
+ metadata.gz: 6f58d24528b20ef05cf44265d25d1f3376b7b8faf16e362a0da1fcede1205b0c
4
+ data.tar.gz: 10ec93dde4f1933741d018ff5cdfebbf53945e5c8536d6e79d96bc92ae458335
5
5
  SHA512:
6
- metadata.gz: c5a8a05fa9ab09887a6b176745594d69e631317110fb76a2edf42e5cf86f9fd5f5a3c6208ec468bafd94867cfdcb8c45380e2219444c593bd12a231ec0cdcdf8
7
- data.tar.gz: 297b605f8fddad59e8bc9c9bf71a9f5eaacd31889b685809efcc1e722d4103ca2aee1875d11a656d8bf3a82b7a3bef7c453f00c6776eb5990325d94dc1ec7858
6
+ metadata.gz: 7d2a31e1aa64264dd018a4124bc81e71af37f8c5cda618fa43bf137c48f0d660d66c6b14200fef186b690728808d6a864ac294afeaa86558a55a2021621db0ed
7
+ data.tar.gz: a2e526e4bcb9b957ae8b8c306c423bfaadf037cde754e5e04504590742c5074ea0658f5b8044bb81d086c1359c4bcb848a26472f8a447da18796541db6e84e62
data/README.md CHANGED
@@ -24,20 +24,22 @@ Or install it yourself as:
24
24
 
25
25
  $ gem install shanep-class
26
26
 
27
- ## Usage
28
-
29
- You can see an example at [shanep-cs2.github.io](https://github.com/shanep-cs2/shanep-cs2.github.io)
30
-
31
27
  ## Development
32
28
 
33
29
  To set up your environment to develop this theme, run `bundle install`.
34
30
 
35
- Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
31
+ Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll
32
+ serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your
33
+ theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make
34
+ modifications to your theme and to your content, your site will regenerate and you should see the
35
+ changes in the browser after a refresh, just like normal.
36
36
 
37
- When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
38
- To add a custom directory to your theme-gem, please edit the regexp in `shanep-class.gemspec` accordingly.
37
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked
38
+ with Git will be bundled. To add a custom directory to your theme-gem, please edit the regexp in
39
+ `shanep-class.gemspec` accordingly.
39
40
 
40
41
  ## License
41
42
 
42
- The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
43
+ The theme is available as open source under the terms of the [MIT
44
+ License](https://opensource.org/licenses/MIT).
43
45
 
@@ -1,33 +1,4 @@
1
1
  <div class="post-nav">
2
2
  {% include header.html%}
3
- <ul>
4
- {% if page.path == "index.html" %}
5
- <li class='active'>
6
- {% else %}
7
- <li>
8
- {% endif %}
9
- <a href={{site.url}}>Home</a>
10
- </li>
11
-
12
- {% if page.path contains "syllabus" %}
13
- <li class='active'>
14
- {% else %}
15
- <li>
16
- {% endif %}
17
- <a href={{site.url}}/docs/syllabus.html>Syllabus</a>
18
- </li>
19
- </ul>
20
-
21
- <h2>Lessons</h2>
22
- <ul>
23
- {% for pg in site.lessons %}
24
- {% if pg.path == page.path %}
25
- <li class='active'>
26
- {% else %}
27
- <li>
28
- {% endif %}
29
- <a href={{pg.url}}> {{ pg.title }}</a>{%if pg.layout == "lab"%} ๐Ÿงช {%elsif pg.layout == "project" %} ๐Ÿ“ก {% endif%}</li>
30
-
31
- {% endfor %}
32
- </ul>
3
+ {% include toc.html html=content %}
33
4
  </div>
@@ -4,9 +4,7 @@
4
4
  <li>
5
5
  {% if page.date %} {{page.date | date: "%Y-%m-%d"}}{% else %} {{"now" | date: "%Y-%m-%d" }} {% endif%} | layout: {{page.layout}}</li>
6
6
  <li>contact: {{site.data.semester-info.email}}</li>
7
- {% if site.theme %}
8
- <li>theme: {{site.theme}}</li>
9
- {% endif %}
7
+ <li>theme: <a href="https://github.com/shanep/shanep-class">shanep-class</a></li>
10
8
  {% if page.tags %}
11
9
  <li>tags:
12
10
  {% for tag in page.tags %}
@@ -1,5 +1,5 @@
1
1
  <div class="logo">
2
2
  <h1>
3
- <a href="{{site.url}}">{{site.data.semester-info.text_logo}}</a>
3
+ <a href="{{site.url}}">{{site.data.semester-info.text-logo}}</a>
4
4
  </h1>
5
5
  </div>
data/_layouts/home.html CHANGED
@@ -1,9 +1,334 @@
1
1
  ---
2
- layout: course-notoc
2
+ layout: default
3
3
  ---
4
+ {% assign tableFile = site.data.semester-info %}
4
5
 
5
- <h1>{{site.title}} - {{site.description}}</h1>
6
+ {% include course-sidebar.html %}
6
7
 
7
- <img src={{"/assets/images/home_page.png"}} alt="Course Logo">
8
+ <div id="main-content" class="post-content">
9
+ <article>
10
+ <h1>{{site.title}} - {{site.description}} [{{tableFile.semester}}]</h1>
11
+ <img src={{"/assets/images/home_page.png"}} alt="Course Logo">
12
+
13
+ <h2 id="welcome">Welcome!</h2>
14
+
15
+ {% include youtube.html param= tableFile.welcome-video %}
16
+
17
+ <p>
18
+ {{tableFile.welcome-message}}
19
+ </p>
20
+
21
+ <h2 id="logistics">Logistics</h2>
22
+
23
+ <ul>
24
+ <li><strong>Instructor:</strong> {{tableFile.instructor}}</li>
25
+ <li><strong>Email:</strong> {{tableFile.email}}</li>
26
+ {% if tableFile.textbook %}
27
+ <li><a href="{{tableFile.textbook}}">Textbook</a></li>
28
+ {% endif %}
29
+ <li><a href="{{tableFile.discussion}}">Discussion Forum</a></li>
30
+ <li><a href="{{tableFile.github}}">Github Course Site</a></li>
31
+ <li><a href="{{tableFile.grades}}">Grades</a></li>
32
+ <li><a href="{{tableFile.office-hours}}">Office Hours</a></li>
33
+ <li><a href="{{tableFile.learning-objectives}}">Learning Objective Alignment Sheet</a></li>
34
+ </ul>
35
+
36
+ {% assign one_day = 1 | times: 24 | times: 60 | times: 60 %}
37
+ {% assign two_days = 2 | times: 24 | times: 60 | times: 60 %}
38
+ {% assign three_days = 3 | times: 24 | times: 60 | times: 60 %}
39
+ {% assign four_days = 4 | times: 24 | times: 60 | times: 60 %}
40
+
41
+
42
+ {% if tableFile.start-day == "monday" %}
43
+ {% assign curr_date = tableFile.start-date | date: "%s" | minus: four_days%}
44
+ {% elsif tableFile.start-day == "tuesday" %}
45
+ {% assign curr_date = tableFile.start-date | date: "%s" | minus: three_days%}
46
+ {% elsif tableFile.start-day == "wednesday" %}
47
+ {% assign curr_date = tableFile.start-date | date: "%s" | minus: two_days%}
48
+ {% elsif tableFile.start-day == "thursday" %}
49
+ {% assign curr_date = tableFile.start-date | date: "%s" | minus: one_day %}
50
+ {% endif%}
51
+
52
+ <div >
53
+ <h2 id="Homework">Weekly Homework</h2>
54
+ <table style="margin:auto;height: 100%; width: 100%;">
55
+ <thead>
56
+ <tr>
57
+ <th class="text-center">Week</th>
58
+ <th>Due Date</th>
59
+ <th>Homework</th>
60
+ <th>Points</th>
61
+ </tr>
62
+ </thead>
63
+
64
+ <tbody>
65
+ {% assign curr_week = 1 %}
66
+ {% assign curr_module = "none" %}
67
+
68
+ {% assign loop_counter = 1 %}
69
+ {% assign pgs = site.lessons | sort: 'slug' %}
70
+ {% assign total_points = 0%}
71
+ {% for page in pgs %}
72
+ {% if page.path contains "lesson" %}
73
+ {% assign loop_counter = loop_counter | plus: 1 %}
74
+ {% if curr_module != page.tag %}
75
+ <!--Module header-->
76
+ <tr>
77
+ <td colspan="4" class="text-center table-darkish">{{page.tag | capitalize }}</td>
78
+ </tr>
79
+ {% assign curr_module = page.tag %}
80
+ {% endif%}
81
+
82
+
83
+ {% if curr_week == tableFile.break %}
84
+ <!--Add in the break week, we need to grab the next lesson before inserting new week-->
85
+ <tr>
86
+ {% assign curr_date = curr_date | date: "%s" | plus: two_days %}
87
+ <td>{{curr_date | date: "%m/%d - %a"}}</td>
88
+ <td><a href="{{site.url}}{{page.url}}">{{page.title}} ({{page.slug}})</a>{%if page.layout == "lab"%} ๐Ÿงช {%elsif page.layout == "project" %} ๐Ÿ“ก {% endif%}</td>
89
+ <td>{{page.points}}</td>
90
+ {% assign total_points = total_points | plus: page.points %}
91
+ </tr>
92
+ <tr>
93
+ <td rowspan= 2 class="table-lightish text-center border">
94
+ {% assign curr_date = curr_date | date: "%s" | plus: three_days %}
95
+ {{curr_week}}
96
+ </td>
97
+ {% assign curr_date = curr_date | date: "%s" | plus: two_days %}
98
+ <td>{{curr_date | date: "%m/%d - %a"}}</td>
99
+ <td>Break</td>
100
+ </tr>
101
+ <tr>
102
+ {% assign curr_date = curr_date | date: "%s" | plus: two_days %}
103
+ <td>{{curr_date | date: "%m/%d - %a"}}</td>
104
+ <td>Break</td>
105
+ </tr>
106
+ {% assign curr_week = curr_week | plus: 1 %}
107
+ {%else%}
108
+
109
+ <tr>
110
+ {% comment %}
111
+ Need to keep track of our own loop counter to filter out docs don't use forloop.index
112
+ {% endcomment %}
113
+ {% assign tmp = loop_counter | modulo: 2 %}
114
+ {% if tmp == 0 %}
115
+ <td rowspan= 2 class="table-lightish text-center border">
116
+ {% assign curr_date = curr_date | date: "%s" | plus: three_days %}
117
+ {{curr_week}}
118
+ {% assign curr_week = curr_week | plus: 1 %}
119
+ </td>
120
+ {% endif %}
121
+ {% assign curr_date = curr_date | date: "%s" | plus: two_days %}
122
+ <td>{{curr_date | date: "%m/%d - %a"}}</td>
123
+ <td><a href="{{site.url}}{{page.url}}">{{page.title}} ({{page.slug}})</a>{%if page.layout == "lab"%} ๐Ÿงช {%elsif page.layout == "project" %} ๐Ÿ“ก {% endif%}</td>
124
+ <td>{{page.points}}</td>
125
+ {% assign total_points = total_points | plus: page.points %}
126
+ </tr>
127
+ {%endif%}
128
+ {% endif %}
129
+ {% endfor%}
130
+ </tbody>
131
+ <tfoot>
132
+ <tr>
133
+ <td colspan="3" class="table-lightish">Total Points:</td>
134
+ <td class="table-lightish">{{total_points}}</td>
135
+ </tr>
136
+ </tfoot>
137
+ </table>
138
+
139
+ <h2 id="final-grades">Grading Policy</h2>
140
+
141
+ <p>
142
+ Final grades will be assigned with the formula [Earned Points]/[Total Points]. For example if you
143
+ earn 850 points out of a total of 1000 points offered your grade would be a B or %85.
144
+ <strong>Grades will not be rounded</strong>, so if your final score is a 79.9% your grade will be
145
+ a C+ according to the chart below. If you are on a grade boundary please see the <a
146
+ href="#extra-credit-opportunities">extra credit</a> section below for opportunities to improve your grade.
147
+ </p>
148
+
149
+ <table>
150
+ <thead>
151
+ <tr>
152
+ <th>Percentage</th>
153
+ <th>Letter</th>
154
+ </tr>
155
+ </thead>
156
+ <tbody>
157
+ <tr>
158
+ <td>94% &lt; 100%</td>
159
+ <td>A</td>
160
+ </tr>
161
+ <tr>
162
+ <td>90% &lt; 94%</td>
163
+ <td>A-</td>
164
+ </tr>
165
+ <tr>
166
+ <td>87% &lt; 90%</td>
167
+ <td>B+</td>
168
+ </tr>
169
+ <tr>
170
+ <td>84% &lt; 87%</td>
171
+ <td>B</td>
172
+ </tr>
173
+ <tr>
174
+ <td>80% &lt; 84%</td>
175
+ <td>B-</td>
176
+ </tr>
177
+ <tr>
178
+ <td>77% &lt; 80%</td>
179
+ <td>C+</td>
180
+ </tr>
181
+ <tr>
182
+ <td>74% &lt; 77%</td>
183
+ <td>C</td>
184
+ </tr>
185
+ <tr>
186
+ <td>70% &lt; 74%</td>
187
+ <td>C-</td>
188
+ </tr>
189
+ <tr>
190
+ <td>67% &lt; 70%</td>
191
+ <td>D+</td>
192
+ </tr>
193
+ <tr>
194
+ <td>64% &lt; 67%</td>
195
+ <td>D</td>
196
+ </tr>
197
+ <tr>
198
+ <td>60% &lt; 64%</td>
199
+ <td>D-</td>
200
+ </tr>
201
+ <tr>
202
+ <td>0 &lt; 60%</td>
203
+ <td>F</td>
204
+ </tr>
205
+ </tbody>
206
+ </table>
207
+
208
+ <h2 id="institutional-policies">Institutional Policies</h2>
209
+
210
+ <ul>
211
+ <li>
212
+ Please review the <a
213
+ href="https://www.boisestate.edu/registrar/general-information-and-policies/academic-integrity/">
214
+ academic-integrity</a> policy set by the university. Violations of this policy will result in the student
215
+ receiving a failing grade (F) for the course.</li>
216
+ <li>
217
+ It is expected that all students <a
218
+ href="https://www.boisestate.edu/policy/student-affairs/code-of-conduct/">read</a>
219
+ and follow the University policy 2020. Any violation of University policy 2020 can result in the
220
+ student being removed from the class discussion and study groups. The students participation score
221
+ will be set to 0 and no alternative assignment will be given. Egregious behavior will be reported
222
+ to the <a href="https://www.boisestate.edu/deanofstudents/student-conduct-report-form/">dean of students</a>
223
+ for additional sanctions which can include receiving a failing grade (F) in the course.
224
+ </li>
225
+ <li>If you need help with accessibility you can visit the <a href="https://eac.boisestate.edu/">educational access
226
+ center</a></li>
227
+ </ul>
228
+
229
+ <h2 id="computer-lab">Computer Lab </h2>
230
+
231
+ <p>
232
+ <a href="https://cs481.boisestate.edu/ccp-tour/index.html">The Kount Computer Tutoring Center (CCP
233
+ 241)</a>: This lab is accessible 24/7 by proxy card access to all students enrolled in CS courses.
234
+ Machines in the Kount Computer Tutoring Center have all the software you will need this semester.
235
+ You can use the lab remotely via ssh (onyx.boisestate.edu) and use command line tools such as VIM.
236
+ </p>
237
+
238
+ <p>
239
+ If you want to work on your personal machine the following setup is recommended:
240
+ </p>
241
+ <ul>
242
+ <li>OS - Linux </li>
243
+ <li>Hardware - Minimum of 4GB of Ram (8GB preferred) and an i5 or equivalent processor</li>
244
+ </ul>
245
+
246
+ <h2 id="academic-honesty">Academic Honesty</h2>
247
+
248
+ <p>
249
+ Programming assignments require the implementation of working programs using the language
250
+ constructs and techniques introduced in class. Programs must execute and compile on the operating
251
+ system and compiler specified. Students are expected to work on their own unless explicitly
252
+ instructed otherwise. Students who allow their work to be copied will be written up along with
253
+ the student who copied. Cheating is grounds for immediate failure of the course. This includes
254
+ trying to find answers to problems, programs, and exams from the Internet or other sources and
255
+ uploading your completed assignments to Internet sites that are publicly accessible.
256
+ </p>
257
+
258
+ <p>
259
+ Boise State promotes Academic Excellence as a core Shared Value upholding the virtue of honesty in
260
+ the pursuit of knowledge. Behaving with integrity and honesty is a hallmark of a Boise State
261
+ University graduate. The conferring of a degree represents the Universityโ€™s indication that the
262
+ recipient has engaged in academic work that is representative of her/his own efforts and that was
263
+ completed with integrity and honesty.
264
+ </p>
265
+ <p>
266
+ Upholding academic integrity in all assignments provides students with the opportunity to engage
267
+ with the material being investigated and assert their evidence based findings. This behavior
268
+ demonstrates the commitment to learning and preparation necessary for a successful future. All
269
+ work you submit must represent your own ideas and effort or be cited including any material you
270
+ wrote for another course; when work does not, it is academic dishonesty. <strong>Academic
271
+ dishonesty in any form may result in failure in the course or dismissal from the Program and/or
272
+ the University.</strong>
273
+ </p>
274
+
275
+
276
+ <h2 id="late-work-policy">Late Work Policy</h2>
277
+
278
+ <p>
279
+ All assignments can be submitted up to <strong>3 days late without penalty</strong>, after 3 days
280
+ past the due date absolutely no work will be accepted under any circumstances. No work will be
281
+ accepted after the <strong>last day of course instruction</strong>, the semester has to end at
282
+ some point so plan accordingly. Work submitted 1 second late is treated the same as work
283
+ submitted 1 day late. You can find the last day of course instruction at
284
+ the <a href="https://www.boisestate.edu/registrar/boise-state-academic-calendars/">registrar</a>.
285
+ </p>
286
+
287
+ <p>
288
+ Plenty of extra credit is offered to offset any missed assignment(s).
289
+ </p>
290
+
291
+ <h2 id="email-policy">Email Policy</h2>
292
+
293
+ <p>
294
+ BroncoMail is the official communication channel through which all university business is
295
+ conducted. It is expected that you access and read university communications two or three
296
+ times per week. For more information see the University Policy on Student Email
297
+ Communications <a
298
+ href="https://www.boisestate.edu/policy/student-affairs/policy-title-student-e-mail-communications/">(Policy
299
+ 2280).</a> <strong>Your instructor will not respond to any emails sent from personal
300
+ accounts such as gmail or yahoo.</strong>
301
+ </p>
302
+
303
+ <p>
304
+ Your instructor will make every effort to return emails within 48hrs Monday thru Friday between
305
+ the hours of 9:00am and 5:00pm (MST). Emails sent on Saturday, Sunday, or outside of the defined
306
+ hours will be returned within 48hrs on the following business day. Emails should be reserved for
307
+ questions that are not appropriate for a public forum such as grades or other personal issues. If
308
+ you don't receive a response from your instructor after 48hrs please check to make sure you are
309
+ sending the email from BroncoMail and send a followup email.
310
+ </p>
311
+
312
+ <h2 id="extra-credit-opportunities">Extra Credit Opportunities</h2>
313
+
314
+ Standing extra credit is always offered to allow students to bump their grade up if they are on a
315
+ grading boundary so please take advantage of any extra credit offered. Any extra credit given over
316
+ the semester can not exceed 2.5% of the total points offered. For example the maximum number of
317
+ extra credit points that you can earn if the total points offered is 1000 would be 25.
318
+
319
+ <h3 id="standing-extra-credit">Standing extra credit</h3>
320
+ <ul>
321
+ <li>
322
+ Typos and Bugs - If you find any typos or bugs in the course materials email me what you found.
323
+ You can claim this extra credit as many times as you wish (up to the maximum number of points).
324
+ </li>
325
+ </ul>
326
+
327
+
328
+ </div>
329
+
330
+
331
+ </article>
332
+ {% include footer.html %}
333
+ </div>
8
334
 
9
- {% include semester-info.html file="semester-info" %}
@@ -1,15 +1,12 @@
1
1
  ---
2
- layout: course
2
+ layout: course-notoc
3
3
  ---
4
4
 
5
- {{content}}
6
-
7
- <h2 id="reading-assignment">Reading Assignment</h2>
5
+ {% include youtube.html param="https://www.youtube.com/embed/dQw4w9WgXcQ" %}
8
6
 
9
7
  <p>
10
- You need to log into the textbook with the link below and complete the assigned challenge and
11
- participation questions. After the due date has passed your instructor will download your
12
- completed activities and calculate your grade. There is nothing you need to explicitly turn in
8
+ For this homework you will need to log into the textbook with the link below and complete the
9
+ assigned challenge and participation questions. There is nothing you need to explicitly turn in
13
10
  all your progress is saved automatically by the textbook.
14
11
  </p>
15
12
 
@@ -1,24 +1,13 @@
1
- {% assign tableFileParam = {{include.file}} %}
2
- {% assign tableFile = site.data[tableFileParam] %}
1
+ ---
2
+ layout: course
3
+ ---
4
+
5
+ {% assign tableFile = site.data.semester-info %}
3
6
 
4
7
  <h2 id="catalog-description">Catalog Description</h2>
5
8
 
6
9
  {{tableFile.catalog}}
7
10
 
8
- <h2 id="logistics">Logistics</h2>
9
-
10
- <ul>
11
- <li><strong>Instructor:</strong> {{tableFile.instructor}}</li>
12
- <li><strong>Email:</strong> {{tableFile.email}}</li>
13
- <li><a href="{{tableFile.textbook}}">Textbook</a></li>
14
- </ul>
15
-
16
- <h2 id="learning-objectives">Learning Objectives</h2>
17
-
18
- <ul>
19
- <li><a href="{{tableFile.learning-objectives}}">Learning Objective Alignment Sheet</a></li>
20
- </ul>
21
-
22
11
  <h2 id="coursework">Coursework</h2>
23
12
 
24
13
  <table>
@@ -42,7 +31,7 @@
42
31
  </tbody>
43
32
  </table>
44
33
 
45
- <h2 id="final-grades">Grading</h2>
34
+ <h2 id="final-grades">Grading Policy</h2>
46
35
 
47
36
  <p>
48
37
  Final grades will be assigned with the formula [Earned Points]/[Total Points]. For example if you
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shanep-class
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.14
4
+ version: 1.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - shane panter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-19 00:00:00.000000000 Z
11
+ date: 2022-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -97,9 +97,7 @@ files:
97
97
  - _includes/footer.html
98
98
  - _includes/head.html
99
99
  - _includes/header.html
100
- - _includes/semester-info.html
101
100
  - _includes/svg-image.html
102
- - _includes/syllabus-policies.html
103
101
  - _includes/toc.html
104
102
  - _includes/youtube.html
105
103
  - _layouts/course-notoc.html
@@ -109,6 +107,7 @@ files:
109
107
  - _layouts/lab.html
110
108
  - _layouts/project.html
111
109
  - _layouts/reading-zybooks.html
110
+ - _layouts/syllabus.html
112
111
  - _sass/asciinema-player.scss
113
112
  - _sass/highlight.scss
114
113
  - _sass/main.scss
@@ -1,111 +0,0 @@
1
-
2
- {% assign pgs = site.lessons | sort: 'slug' %}
3
-
4
- {% assign tableFileParam = {{include.file}} %}
5
- {% assign tableFile = site.data[tableFileParam] %}
6
-
7
- {% assign one_day = 1 | times: 24 | times: 60 | times: 60 %}
8
- {% assign two_days = 2 | times: 24 | times: 60 | times: 60 %}
9
- {% assign three_days = 3 | times: 24 | times: 60 | times: 60 %}
10
- {% assign four_days = 4 | times: 24 | times: 60 | times: 60 %}
11
-
12
- {% if tableFile.start-day == "monday" %}
13
- {% assign curr_date = tableFile.start-date | date: "%s" | minus: four_days%}
14
- {% elsif tableFile.start-day == "tuesday" %}
15
- {% assign curr_date = tableFile.start-date | date: "%s" | minus: three_days%}
16
- {% elsif tableFile.start-day == "wednesday" %}
17
- {% assign curr_date = tableFile.start-date | date: "%s" | minus: two_days%}
18
- {% elsif tableFile.start-day == "thursday" %}
19
- {% assign curr_date = tableFile.start-date | date: "%s" | minus: one_day %}
20
- {% endif%}
21
-
22
- <div >
23
-
24
- <h2 id="important-links">Important links</h2>
25
- <ul>
26
- {% if tableFile.textbook %}
27
- <li><a href="{{tableFile.textbook}}">Text Book</a></li>
28
- {% endif %}
29
- <li><a href="{{tableFile.discussion}}">Discussion Forum</a></li>
30
- <li><a href="{{tableFile.github}}">Github Course Site</a></li>
31
- <li><a href="{{tableFile.grades}}">Grades</a></li>
32
- <li><a href="{{tableFile.office-hours}}">Office Hours</a></li>
33
- <li><a href="{{tableFile.learning-objectives}}">Learning Objective Alignment Sheet</a></li>
34
- </ul>
35
-
36
- <h2 id="schedule">Schedule - {{tableFile.semester}}</h2>
37
- <table style="margin:auto;height: 100%; width: 100%;">
38
- <thead>
39
- <tr>
40
- <th class="text-center">Week</th>
41
- <th>Due Date</th>
42
- <th>Lesson</th>
43
- </tr>
44
- </thead>
45
-
46
- <tbody>
47
- {% assign curr_week = 1 %}
48
- {% assign curr_module = "none" %}
49
-
50
- {% assign loop_counter = 1 %}
51
-
52
- {% for page in pgs %}
53
- {% if page.path contains "lesson" %}
54
- {% assign loop_counter = loop_counter | plus: 1 %}
55
- {% if curr_module != page.tag %}
56
- <!--Module header-->
57
- <tr>
58
- <td colspan="3" class="text-center table-darkish">{{page.tag | capitalize }}</td>
59
- </tr>
60
- {% assign curr_module = page.tag %}
61
- {% endif%}
62
-
63
-
64
- {% if curr_week == tableFile.break %}
65
- <!--Add in the break week, we need to grab the next lesson before inserting new week-->
66
- <tr>
67
- {% assign curr_date = curr_date | date: %s | plus: two_days %}
68
- <td>{{curr_date | date: "%m/%d - %a"}}</td>
69
- <td><a href="{{site.url}}{{page.url}}">{{page.title}} ({{page.slug}})</a>{%if page.layout == "lab"%} ๐Ÿงช {%elsif page.layout == "project" %} ๐Ÿ“ก {% endif%}</td>
70
- </tr>
71
- <tr>
72
- <td rowspan= 2 class="table-lightish text-center border">
73
- {% assign curr_date = curr_date | date: %s | plus: three_days %}
74
- {{curr_week}}
75
- </td>
76
- {% assign curr_date = curr_date | date: %s | plus: two_days %}
77
- <td>{{curr_date | date: "%m/%d - %a"}}</td>
78
- <td>Break</td>
79
- </tr>
80
- <tr>
81
- {% assign curr_date = curr_date | date: %s | plus: two_days %}
82
- <td>{{curr_date | date: "%m/%d - %a"}}</td>
83
- <td>Break</td>
84
- </tr>
85
- {% assign curr_week = curr_week | plus: 1 %}
86
- {%else%}
87
-
88
- <tr>
89
- {% comment %}
90
- Need to keep track of our own loop counter to filter out docs don't use forloop.index
91
- {% endcomment %}
92
- {% assign tmp = loop_counter | modulo: 2 %}
93
- {% if tmp == 0 %}
94
- <td rowspan= 2 class="table-lightish text-center border">
95
- {% assign curr_date = curr_date | date: %s | plus: three_days %}
96
- {{curr_week}}
97
- {% assign curr_week = curr_week | plus: 1 %}
98
- </td>
99
- {% endif %}
100
- {% assign curr_date = curr_date | date: %s | plus: two_days %}
101
- <td>{{curr_date | date: "%m/%d - %a"}}</td>
102
-
103
-
104
- <td><a href="{{site.url}}{{page.url}}">{{page.title}} ({{page.slug}})</a>{%if page.layout == "lab"%} ๐Ÿงช {%elsif page.layout == "project" %} ๐Ÿ“ก {% endif%}</td>
105
- </tr>
106
- {%endif%}
107
- {% endif %}
108
- {% endfor%}
109
- </tbody>
110
- </table>
111
- </div>