From 50b040dc41c85813bf67f47cf5efc4744eb20e3c Mon Sep 17 00:00:00 2001 From: Felix Hamann Date: Sat, 4 May 2019 16:44:33 +0200 Subject: [PATCH] more BEM like css classes for various mass inputs --- templates/course/lecturerMassInput/layout.hamlet | 4 ++-- templates/sheetCorrectors/layout.hamlet | 4 ++-- templates/widgets/massinput/list/layout.hamlet | 6 +++--- templates/widgets/massinput/row.hamlet | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/templates/course/lecturerMassInput/layout.hamlet b/templates/course/lecturerMassInput/layout.hamlet index 8dc00bc90..223ed386e 100644 --- a/templates/course/lecturerMassInput/layout.hamlet +++ b/templates/course/lecturerMassInput/layout.hamlet @@ -2,10 +2,10 @@ $newline never $forall coord <- review liveCoords lLength - + ^{cellWdgts ! coord} - + ^{addWdgts ! (0, 0)} diff --git a/templates/sheetCorrectors/layout.hamlet b/templates/sheetCorrectors/layout.hamlet index 3f6bb4f87..bd28b651d 100644 --- a/templates/sheetCorrectors/layout.hamlet +++ b/templates/sheetCorrectors/layout.hamlet @@ -9,10 +9,10 @@ $newline never $forall coord <- review liveCoords lLength - + ^{cellWdgts ! coord} - + ^{addWdgts ! (0, 0)} diff --git a/templates/widgets/massinput/list/layout.hamlet b/templates/widgets/massinput/list/layout.hamlet index 5f5676bb6..5c747e041 100644 --- a/templates/widgets/massinput/list/layout.hamlet +++ b/templates/widgets/massinput/list/layout.hamlet @@ -1,14 +1,14 @@ $newline never
^{fvInput (delButtons ! coord)}
^{fvInput (delButtons ! coord)}
- + $forall coord <- review liveCoords lLength - + +
^{cellWdgts ! coord} ^{fvInput (delButtons ! coord)}
- ^{addWdgts ! (0, 0)} diff --git a/templates/widgets/massinput/row.hamlet b/templates/widgets/massinput/row.hamlet index 8c43c9896..17d909baa 100644 --- a/templates/widgets/massinput/row.hamlet +++ b/templates/widgets/massinput/row.hamlet @@ -1,7 +1,7 @@ -
    toPathPiece dimIx}> +
      toPathPiece dimIx}> $forall (cellCoord, cell) <- cells -
    • +
    • ^{cell} $maybe add <- addWidget -
    • +
    • ^{add}