src/pyams_default_theme/component/paragraph/templates/html-logos.pt
changeset 536 8690c101d070
parent 529 43de10a58806
equal deleted inserted replaced
535:8f551cffe155 536:8690c101d070
    29 						${structure:tales:html(view.body, 'oid_to_href;glossary')}
    29 						${structure:tales:html(view.body, 'oid_to_href;glossary')}
    30 					</div>
    30 					</div>
    31 				</tal:if>
    31 				</tal:if>
    32 				<tal:if case="'left'">
    32 				<tal:if case="'left'">
    33 					<div class="row">
    33 					<div class="row">
    34 						<div class="col-xs-6 col-xs-offset-3 col-sm-3 col-sm-offset-0 col-md-2">
    34 						<div class="col-xs-6 col-xs-offset-3 col-sm-3 col-sm-offset-0 col-md-4">
    35 							<a tal:omit-tag="not:url"
    35 							<a tal:omit-tag="not:url"
    36 							   href="${url}" title="${logo.get_title(request)}">
    36 							   href="${url}" title="${logo.get_title(request)}">
    37 								${structure:tales:picture(logo.image,
    37 								${structure:tales:picture(logo.image,
    38 														  lg_width=2, md_width=2,
    38 														  lg_width=2, md_width=2,
    39 														  sm_width=2, xs_width=12)}
    39 														  sm_width=2, xs_width=12)}
    40 							</a>
    40 							</a>
    41 						</div>
    41 						</div>
    42 						<div class="col-xs-12 col-sm-9 col-md-10">
    42 						<div class="col-xs-12 col-sm-9 col-md-8">
    43 							${structure:tales:html(view.body, 'oid_to_href;glossary')}
    43 							${structure:tales:html(view.body, 'oid_to_href;glossary')}
    44 						</div>
    44 						</div>
    45 					</div>
    45 					</div>
    46 				</tal:if>
    46 				</tal:if>
    47 				<tal:if case="'right'">
    47 				<tal:if case="'right'">
    48 					<div class="row">
    48 					<div class="row">
    49 						<div class="col-xs-12 col-sm-9 col-md-10">
    49 						<div class="col-xs-12 col-sm-9 col-md-8">
    50 							${structure:tales:html(view.body, 'oid_to_href;glossary')}
    50 							${structure:tales:html(view.body, 'oid_to_href;glossary')}
    51 						</div>
    51 						</div>
    52 						<div class="col-xs-6 col-xs-offset-3 col-sm-3 col-sm-offset-0 col-md-2">
    52 						<div class="col-xs-6 col-xs-offset-3 col-sm-3 col-sm-offset-0 col-md-4">
    53 							<a tal:omit-tag="not:url"
    53 							<a tal:omit-tag="not:url"
    54 							   href="${url}" title="${logo.get_title(request)}">
    54 							   href="${url}" title="${logo.get_title(request)}">
    55 								${structure:tales:picture(logo.image,
    55 								${structure:tales:picture(logo.image,
    56 														  lg_width=2, md_width=2,
    56 														  lg_width=2, md_width=2,
    57 														  sm_width=2, xs_width=12)}
    57 														  sm_width=2, xs_width=12)}
    62 				<tal:if case="'below'">
    62 				<tal:if case="'below'">
    63 					<div>
    63 					<div>
    64 						${structure:tales:html(view.body, 'oid_to_href;glossary')}
    64 						${structure:tales:html(view.body, 'oid_to_href;glossary')}
    65 					</div>
    65 					</div>
    66 					<div class="row">
    66 					<div class="row">
    67 						<div class="col-xs-6 col-xs-offset-3 col-sm-4 col-sm-offset-4">
    67 						<div class="col-xs-6 col-xs-offset-3 col-sm-4 col-sm-offset-4 mb-5">
    68 							<a tal:omit-tag="not:url"
    68 							<a tal:omit-tag="not:url"
    69 							   href="${url}" title="${logo.get_title(request)}">
    69 							   href="${url}" title="${logo.get_title(request)}">
    70 									${structure:tales:picture(logo.image,
    70 									${structure:tales:picture(logo.image,
    71 															  lg_width=2, md_width=2,
    71 															  lg_width=2, md_width=2,
    72 															  sm_width=8, xs_width=8)}
    72 															  sm_width=8, xs_width=8)}