<%inherit file="base.html"/> <%def name="head()"> <%def name="body()">
资费列表
% if permit.match('/product/add'): 添加资费 % endif
% for product in page_data.result: % endfor
资费名称 资费策略 价格(元) 并发数 是否绑定MAC 是否绑定VLAN 上行速率 下行速率 状态
${product.product_name} ${product_policys[product.product_policy]} ${fen2yuan(product.fee_price)} ${product.concur_number} ${product.bind_mac and u'是' or u'否'} ${product.bind_vlan and u'是' or u'否'} ${product.input_max_limit/1024} kbps ${product.output_max_limit/1024} kbps ${product.product_status and u'停用' or u'正常'} % if permit.match('/product/update'): 修改 % endif % if permit.match('/product/delete'): 删除 % endif
${page_data.render()}