Orderfooter design improvements.

This commit is contained in:
Benjamin Meichsner 2009-11-08 19:26:28 +01:00
parent b8e336b9e8
commit 5e9ffa7cb1
4 changed files with 39 additions and 23 deletions

View file

@ -70,18 +70,16 @@
<% end %> <% end %>
<td id="td_price_<%= i %>" style="text-align:right; padding-right:10px; width:4em"><span id="price_<%= i %>_display"><%= number_to_currency(article_total, :unit => "") %></span> € <td id="td_price_<%= i %>" style="text-align:right; padding-right:10px; width:4em"><span id="price_<%= i %>_display"><%= number_to_currency(article_total, :unit => "") %></span> €
<div class="article-info" id="article-info_<%= order_article.id %>" style="display:none"> <div class="article-info" id="article-info_<%= order_article.id %>" style="display:none">
<h3><%= order_article.article.name -%></h3>
<div class="right"> <div class="right">
Volle Gebinde: <span id="units_<%= i %>"><%= order_article.units_to_order %></span><br/> Volle Gebinde: <span id="units_<%= i %>"><%= order_article.units_to_order %></span><br/>
Gesamt-Einheiten: <span id="q_total_<%= i %>"><%= @quantity[i] + @others_quantity[i] %></span><br/> Gesamt-Einheiten: <span id="q_total_<%= i %>"><%= @quantity[i] + @others_quantity[i] %></span><br/>
Gesamt-Toleranz: <span id="t_total_<%= i %>"><%= @tolerance[i] + @others_tolerance[i] %></span><br/> Gesamt-Toleranz: <span id="t_total_<%= i %>"><%= @tolerance[i] + @others_tolerance[i] %></span><br/>
</div> </div>
<div class="left"> <div class="left">
<b><%= order_article.article.name -%></b>
<p>
Hersteller: <%= order_article.article.manufacturer -%><br /> Hersteller: <%= order_article.article.manufacturer -%><br />
Gebinde: <%= @order.stockit? ? order_article.article.quantity_available : @unit[i] %> * <%=h order_article.article.unit %><br/> Gebinde: <%= @order.stockit? ? order_article.article.quantity_available : @unit[i] %> * <%=h order_article.article.unit %><br/>
Notiz: <%= order_article.article.note -%><br /> Notiz: <%= order_article.article.note -%><br />
</p>
</div> </div>
</div> </div>
</td> </td>

View file

@ -440,15 +440,21 @@ table#order {
background-color: red; } background-color: red; }
#order-footer { #order-footer {
min-width: 975px;
right: 15px; right: 15px;
left: 15px; } left: 15px; }
.article-info { .article-info {
z-index: 2; z-index: 2;
width: 50em; width: 45em;
height: 8em; height: 8em;
border: none; border: none;
left: 30px; } left: 30px; }
.article-info h3 {
text-align: center;
margin: 0;
margin-bottom: 5px;
width: 100%; }
#newComment { #newComment {
margin: 1em; } margin: 1em; }

View file

@ -440,15 +440,21 @@ table#order {
background-color: red; } background-color: red; }
#order-footer { #order-footer {
min-width: 975px;
right: 15px; right: 15px;
left: 15px; } left: 15px; }
.article-info { .article-info {
z-index: 2; z-index: 2;
width: 50em; width: 45em;
height: 8em; height: 8em;
border: none; border: none;
left: 30px; } left: 30px; }
.article-info h3 {
text-align: center;
margin: 0;
margin-bottom: 5px;
width: 100%; }
#newComment { #newComment {
margin: 1em; } margin: 1em; }

View file

@ -477,14 +477,20 @@ table#order
input:disabled input:disabled
background-color: red background-color: red
#order-footer #order-footer
min-width: 975px
right: 15px right: 15px
left: 15px left: 15px
.article-info .article-info
z-index: 2 z-index: 2
width: 50em width: 45em
height: 8em height: 8em
border: none border: none
left: 30px left: 30px
h3
text-align: center
margin: 0
margin-bottom: 5px
width: 100%
// ********* Comments // ********* Comments
#newComment #newComment
:margin 1em :margin 1em