src/pyams_default_theme/component/paragraph/templates/keynumber-default.pt
branchdev-dc
changeset 110 a0c0663baf9e
parent 104 a050abf1a69c
child 111 0a71298d125a
equal deleted inserted replaced
109:2df1cc36531c 110:a0c0663baf9e
       
     1 <tal:var i18n:domain="pyams_default_theme"
       
     2          define="numbers list(view.keynumbers.get_visible_items())">
       
     3 	<h3>${i18n:view.title}</h3>
       
     4 		<div class="col-md-3 col-lg-3 " tal:repeat="number numbers">
       
     5 			<div class="panel panel-default">
       
     6 				<div class="panel-heading">
       
     7 					<span class="lead" tal:content="i18n:number.label">label</span>
       
     8 				</div>
       
     9 				<div class="panel-body text-align-center">
       
    10 					<span class="h4 text-success" tal:content="i18n:number.number">Number</span>
       
    11 					<span class="h5" tal:content="i18n:number.unit">Unit</span>
       
    12 				</div>
       
    13 				<div class="panel-footer">
       
    14 					<p tal:content="i18n:number.text">Text</p>
       
    15 				</div>
       
    16 			</div>
       
    17 		</div>
       
    18 </tal:var>