Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:ocjojo/bildungsplattform_vision
Browse files Browse the repository at this point in the history
  • Loading branch information
ocjojo committed Mar 22, 2020
2 parents d5ac876 + 806a971 commit 183ac86
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions frontend/src/views/Tracks.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
Hier kannst du alle Verfügbaren Kurse durchsuchen. Wähle einfach
einen Filter aus, um schnell das zu finden, was du suchst!
</p>
<div class="search">
<input type="search" placeholder="Suchbegriff eingeben..." />
</div>
</div>
<div class="filter-container">
<div class="filter-item">Kategorie</div>
Expand All @@ -22,6 +25,7 @@
<section>
<template v-for="track of availableTracks">
<router-link
v-bind:key="track.id"
:to="{
name: 'kurs',
params: {
Expand Down Expand Up @@ -165,4 +169,22 @@ section {
flex-direction: row;
flex-wrap: wrap;
}
.search {
position: relative;
max-width: 350px;
input {
width: 100%;
margin-left: 0;
}
}
.search:before {
font-icon: url("@/assets/icons/search.svg");
position: absolute;
right: 20px;
top: 50%;
transform: translateY(-50%);
font-size: 1.2rem;
color: $primary;
}
</style>

0 comments on commit 183ac86

Please sign in to comment.