aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2021-09-05 23:04:14 -0500
committerFurkan Sahin <furkan-dev@proton.me>2021-09-05 23:04:14 -0500
commitbc95a18a5daf1c0b08bcfac04c543ddf194dd049 (patch)
tree6d8b9e355cdf35400c9046e95d0bb3a1f8f1cdd5 /src/components
parentfea56ae09cd612003e1bafd2459556b67a5950e9 (diff)
Make lab lists a three-line display
Diffstat (limited to 'src/components')
-rw-r--r--src/components/EditorLists.svelte13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/components/EditorLists.svelte b/src/components/EditorLists.svelte
index 1fc484b..2d9b9e9 100644
--- a/src/components/EditorLists.svelte
+++ b/src/components/EditorLists.svelte
@@ -23,7 +23,7 @@
<div id="editor-lists">
<div class="column">
<h3 class="col-header">Peer Teachers</h3>
- <List twoline singleSelection class="editor-list">
+ <List twoLine singleSelection class="editor-list">
{#each peerTeachers as pt}
<Item>
<Text>
@@ -47,14 +47,13 @@
</div>
<div class="column">
<h3 class="col-header">Labs</h3>
- <List twoline singleSelection class="editor-list">
+ <List threeLine class="editor-list">
{#each labs as lab}
<Item>
<Text>
- <PrimaryText>{lab.course}-{lab.section} [{lab.time}]</PrimaryText>
- <SecondaryText>
- {lab.location}
- </SecondaryText>
+ <PrimaryText>{lab.course}-{lab.section}</PrimaryText>
+ <SecondaryText>{lab.time}</SecondaryText>
+ <SecondaryText>{lab.location}</SecondaryText>
</Text>
<Meta class="material-icons"
><IconButton
@@ -70,7 +69,7 @@
</div>
<div class="column">
<h3 class="col-header">PT - Assigned Labs</h3>
- <List twoline singleSelection class="editor-list">
+ <List threeLine class="editor-list">
{#each nothing as n}
<Item>
<Text>