Skip to content

Commit 29e4b03

Browse files
committed
fix: change term
1 parent f6bcbab commit 29e4b03

File tree

4 files changed

+4
-10
lines changed

4 files changed

+4
-10
lines changed

crawler_new.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ import * as fs from 'fs';
22
import {writeFileSync} from 'fs';
33
import {sort} from "fast-sort";
44

5-
let work = ['2024_4', '2025_1']
5+
let work = ['2025_1', '2025_2']
66

77
if (false) {
88
work = []
9-
for(let year = 2012;year<=2024;year++) {
9+
for(let year = 2012;year<=2025;year++) {
1010
for(let term = 1;term<=4;term++) {
1111
work.push(`${year}_${term}`)
1212
}

src/lib/LectureList.svelte

-4
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,7 @@
167167
<Th width="2.4">{l['PROF']}</Th>
168168
<Th width="6">{l['NAME']}</Th>
169169
<Th width="4.4">{l['TIME']}</Th>
170-
{#if compete}
171170
<Th width="4.2">{l['COMPETITIVE']}</Th>
172-
{/if}
173171
<Th width="2.7">{l['TYPE']}</Th>
174172
<Th width="3.8">{l['SYLLABUS']}/OTL</Th>
175173
</tr>
@@ -220,13 +218,11 @@
220218
{/each}
221219
</TableTd>
222220

223-
{#if compete}
224221
<TableTd data={lect} bind:hover on:choose {background} oneline>
225222
<Scrolling>
226223
<div style="color: {color} !important">{vs} ({lect.reg}/{lect.cap})</div>
227224
</Scrolling>
228225
</TableTd>
229-
{/if}
230226

231227
<TableTd data={lect} bind:hover on:choose {background} online>
232228
{lect.type || ''}

src/lib/TableItem.svelte

-2
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,8 @@
143143
<p style="font-weight: 300;font-size: 0.8em">
144144
<Icon person/>{data.prof}</p>
145145
{/if}
146-
{#if compete}
147146
<p style="font-weight: 300;font-size: 0.8em">
148147
<Icon account_circle/>{data.reg}/{data.cap}{l['N_APPLY']}</p>
149-
{/if}
150148
<p style="font-weight: 300;font-size: 0.8em">
151149
<span><Icon timer/>{l['TIME']}</span><br>
152150
<ul>

src/lib/config.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
export const compete = true;
2-
export const selectable = ['2024_4', '2025_1']
1+
export const compete = false;
2+
export const selectable = ['2025_1', '2025_2']
33
export const def = '2025_1'
44

55
export const year = +def.split('_')[0], term = +def.split('_')[1];

0 commit comments

Comments
 (0)