Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NTNU_reflect
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Thomas Nitsche
NTNU_reflect
Merge requests
!17
Resolve "Clean up styling"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Clean up styling"
28-clean-up-styling
into
dev
Overview
0
Commits
4
Pipelines
0
Changes
9
Merged
Helena Dypvik Skants
requested to merge
28-clean-up-styling
into
dev
2 years ago
Overview
0
Commits
4
Pipelines
0
Changes
9
Expand
0
0
Merge request reports
Compare
dev
version 1
7cc7154b
2 years ago
dev (base)
and
latest version
latest version
8c09d7ca
4 commits,
2 years ago
version 1
7cc7154b
3 commits,
2 years ago
9 files
+
93
−
76
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
9
Search (e.g. *.vue) (Ctrl+P)
frontend/src/lib/components/SubjectTable.svelte
0 → 100644
+
24
−
0
Options
<script
lang=
"ts"
>
export
let
subjects
:
Enrollment
[];
export
let
role
:
string
;
</script>
<div
class=
"w-4/5 overflow-x-auto shadow-md sm:rounded-lg"
>
<table
class=
"w-full text-left text-[#231D1A]-600 dark:text-gray-400"
>
<thead
class=
"text-base text-[#231D1A]-700 uppercase bg-fifthly dark:text-gray-400"
>
<tr>
<th
scope=
"col"
class=
"text-base px-6 py-4"
>
{
role
}
</th>
</tr>
</thead>
<tbody>
{
#each
subjects
as
subject
}
<tr
class=
"bg-white border-b dark:bg-gray-900 dark:border-gray-700"
>
<td
class=
"text-base py-3 pl-4"
>
<a
href=
"/app/subjectview/{subject.course_id}"
>
{
subject
.
course_id
}
</a></td>
</tr>
{
/each
}
</tbody>
</table>
</div>
Loading