Commit dd85ece1 by yasir

responsive

1 parent f1d4d35f
...@@ -39,8 +39,8 @@ td, th { ...@@ -39,8 +39,8 @@ td, th {
</div> </div>
<div metal:fill-slot="scripts"> <div metal:fill-slot="scripts">
<div class="panel-body col-md-12"> <div style="padding: 0px; padding-top: 5px; padding-bottom: 5px;" class="panel-body col-md-12">
<div class="col-md-6 col-md-offset-3 col-xs-12 well"> <div style="padding: 0px; padding-top: 5px; padding-bottom: 5px;" class="col-md-6 col-md-offset-3 col-xs-12 well">
<!-- Proses Template Form --> <!-- Proses Template Form -->
<form method="post" <form method="post"
accept-charset="utf-8" accept-charset="utf-8"
...@@ -64,7 +64,7 @@ td, th { ...@@ -64,7 +64,7 @@ td, th {
</div> </div>
<!-- END Tampilan untuk general error --> <!-- END Tampilan untuk general error -->
<div class="col-md-12"> <div style=" padding: 5px; " class="col-md-12">
<div tal:define="fieldItem form['biller_name']" class="col-md-12" id="item-${fieldItem.oid}" style="margin-bottom: 5px;"> <div tal:define="fieldItem form['biller_name']" class="col-md-12" id="item-${fieldItem.oid}" style="margin-bottom: 5px;">
<label for="${fieldItem.oid}" class="control-label col-md-4" id="req-${fieldItem.oid}"> <label for="${fieldItem.oid}" class="control-label col-md-4" id="req-${fieldItem.oid}">
${fieldItem.title}</label> ${fieldItem.title}</label>
...@@ -89,23 +89,36 @@ td, th { ...@@ -89,23 +89,36 @@ td, th {
<p id="error-${fieldItem.oid}" class="help-block" tal:condition="fieldItem.error" tal:repeat="error fieldItem.error.messages()">${error}</p> <p id="error-${fieldItem.oid}" class="help-block" tal:condition="fieldItem.error" tal:repeat="error fieldItem.error.messages()">${error}</p>
</div> </div>
</div> </div>
<div class="col-md-12" style="margin-bottom: 5px;">
<table style="width:100%"> <div class="col-md-12 panel-heading">
<tr> <h3 class="panel-title">Produk :</h3>
<th>Produk</th> </div>
<th>Detail</th> <div style="padding: 0px; padding-bottom: 5px; width: 100%; height: 350px; overflow-y: scroll;" class="col-md-12 panel panel-default">
<th>Amount</th>
<th>Gambar</th> <div tal:repeat="prod produks" class="col-md-12" style="text-align: center; margin-bottom: 5px; margin-top: 5px;">
</tr> <table align="center" style="width:100%">
<tr tal:repeat="prod produks">
<td>${prod['goods_name']}</td> <tr>
<td>${prod['goods_detail']}</td> <td bgcolor="#cce6ff">Nama</td>
<td style="text-align: right;">${prod['goods_amt']}</td> <td>${prod['goods_name']}</td>
<td>${prod['img_url']}</td> </tr>
</tr> <tr>
</table> <td bgcolor="#cce6ff">Detail</td>
<td>${prod['goods_detail']}</td>
</tr>
<tr>
<td bgcolor="#cce6ff">Amount</td>
<td style="text-align: left;">${prod['goods_amt']}</td>
</tr>
<tr>
<td bgcolor="#cce6ff">Gambar</td>
<td>${prod['img_url']}</td>
</tr>
</table>
</div>
</div> </div>
<!-- Looping Semua Field--> <!-- Looping Semua Field-->
<div tal:define="fieldItem form['pay_method']" class="col-md-12" id="item-${fieldItem.oid}" style="margin-bottom: 5px;"> <div tal:define="fieldItem form['pay_method']" class="col-md-12" id="item-${fieldItem.oid}" style="margin-bottom: 5px;">
<label for="${fieldItem.oid}" class="control-label col-md-4" id="req-${fieldItem.oid}"> <label for="${fieldItem.oid}" class="control-label col-md-4" id="req-${fieldItem.oid}">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!