vue/src/pages/Kurse.vue
@@ -63,7 +63,11 @@ <td>{{ kurs.title }}</td> <td>{{ kurs.description }}</td> <td>{{ kurs.type }}</td> <td>{{ kurs.offline }}</td> <td> <div :class="{red:kurs.offline===1,green:kurs.offline===0}"> {{ kurs.offline }} </div> </td> </tr> </tbody> </table> @@ -75,6 +79,16 @@ </template> <style scoped> <style scoped lang="stylus"> // //.red // max-width 2ch // text-align center; // background-color red; // color white // font-weight bold // //.green // color green </style>