Browse Source

vier schüler pro slice

burningTyger 8 years ago
parent
commit
e8e67a2256
2 changed files with 5 additions and 5 deletions
  1. 1 1
      views/print.scss
  2. 4 4
      views/vornoten_abi_ba_2016.slim

+ 1 - 1
views/print.scss

@@ -137,7 +137,7 @@ hr {
   }
 }
 .font-small * {
-  font-size: 0.5rem !important;
+  font-size: 0.8rem !important;
 }
 .kleiner-10rem {
   font-size: 0.9rem;

+ 4 - 4
views/vornoten_abi_ba_2016.slim

@@ -3,10 +3,10 @@ link rel="stylesheet" href=url("/assets/bootstrap/3.3.5/bootstrap.min.css")
 link rel="stylesheet" href=url("/css/print.css")
 link href=url("/css/print_a4_landscape.css") rel="stylesheet" media="all"
 -alle_faecher = Set.new
--gesamtzahl_slices= (schueler.count/3) + (1 if (schueler.count.%(3)>0))
--schueler.select{|s| s.bk_abschluss }.each_slice(3).with_index do |(*schueler_slice), slice_i|
+-gesamtzahl_slices= (schueler.count/4) + (1 if (schueler.count.%(4)>0))
+-schueler.select{|s| s.bk_abschluss }.each_slice(4).with_index do |(*schueler_slice), slice_i|
   .page
-    .subpage.font-small
+    .subpage
       .row
         .col-xs-12
           h5
@@ -33,7 +33,7 @@ link href=url("/css/print_a4_landscape.css") rel="stylesheet" media="all"
               -array << inner_array
             -array = array.transpose
             -faecher = array.shift
-            .row
+            .row.font-small
               .col-xs-8
                 b #{i+1+(3*slice_i)}. #{s.name}, #{s.vorname}
                 table.table.table-condensed.table-bordered.fixed.table-eng