diff --git a/app/assets/stylesheets/print_select.css.scss b/app/assets/stylesheets/print_select.css.scss index d18f8a8..196287a 100644 --- a/app/assets/stylesheets/print_select.css.scss +++ b/app/assets/stylesheets/print_select.css.scss @@ -1,11 +1,24 @@ .print-select{ + h2 { + font-size: 18px; + } .print-label{ - width: 400px; - height: 600px; - padding: 10px; margin: 10px; - display: inline-block; border: 5px solid black; + height: 400px; + text-align: center; + .horizontal-line{ + width: 100%; + border-bottom: 5px solid black; + } + .log-number{ + margin-top: 5px; + } + .desc { + margin: 10px; + height: 250px; + border: 2px dotted black; + } } } diff --git a/app/views/bikes/print_labels.html.haml b/app/views/bikes/print_labels.html.haml index cbfb951..d18fdcf 100644 --- a/app/views/bikes/print_labels.html.haml +++ b/app/views/bikes/print_labels.html.haml @@ -1,5 +1,19 @@ -.print-select +.container.print-select - @bikes.each do |bike| - .print-label - %h2=bike.price + ' ' + bike.name - %br + .col-xs-6 + .print-label + %h2 + %strong='$' + bike.price + =' ' + bike.name + %br + .horizontal-line + .log-number= 'Log Number: ' + bike.log_number.to_s + .row + .col-xs-6 + .desc + .strong Work Done: + =bike.work_done + .col-xs-6 + .desc + .strong New Parts: + =bike.new_parts