146 lines
8.2 KiB
XML
146 lines
8.2 KiB
XML
<odoo>
|
||
<data>
|
||
|
||
<template id="tx_opentekr_survey.layout" name="Survey Layout" inherit_id="web.frontend_layout" primary="True">
|
||
<xpath expr="//head/t[@t-call-assets][last()]" position="after">
|
||
<t t-call-assets="tx_opentekr_survey.tx_opentekr_survey_assets" lazy_load="True"/>
|
||
</xpath>
|
||
|
||
<xpath expr="//div[@id='wrapwrap']" position="attributes">
|
||
<attribute name="t-attf-class" add="sasac_survey_wrapwrap" separator=" "/>
|
||
</xpath>
|
||
|
||
<xpath expr="//header" position="before">
|
||
<t t-set="no_header" t-value="True"/>
|
||
<t t-set="no_footer" t-value="True"/>
|
||
</xpath>
|
||
|
||
<xpath expr="//header" position="after">
|
||
<div class="tx_survey_page_header">
|
||
<div class="page_header_left">
|
||
<img alt="Opentekr" height="30" class="page_header_img"
|
||
src="/tx_opentekr_survey/static/src/img/log.png"/></div>
|
||
<div class="page_header_right">
|
||
<span t-if="userId != 0"><t t-esc="userName"/></span>
|
||
<button t-if="userId == 0" type="button" class="btn btn-primary sasac_survey_login">登录</button>
|
||
</div>
|
||
</div>
|
||
</xpath>
|
||
|
||
|
||
</template>
|
||
|
||
<template id="sasac_survey_page" name="Survey: main page">
|
||
<t t-call="tx_opentekr_survey.layout">
|
||
<div class="tx_survey_page_root" t-att-data_id="survey.id">
|
||
<h3><t t-esc="survey.name"/></h3>
|
||
<div class="survey_img">
|
||
<img t-att-src="imgUrl" data-mimetype="image/jpeg"/>
|
||
</div>
|
||
<div class="rule_content" t-field="survey.rule_content"/>
|
||
<div class="row sasac_survey_scene">
|
||
<div class="col-lg-3">
|
||
<div class="survey_scene_selection">
|
||
<select class="scene_select" id="recommend">
|
||
<option t-foreach="recommendOptions" t-as="option" t-att-value ="option['id']"><t t-esc="option['name']"/></option>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
<div class="col-lg-3">
|
||
<div class="survey_scene_selection">
|
||
<select class="scene_select" id="industry">
|
||
<option t-foreach="industryOptions" t-as="option" t-att-value ="option['id']"><t t-esc="option['name']"/></option>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
<div class="col-lg-3">
|
||
<div class="survey_scene_selection">
|
||
<select class="scene_select" id="link">
|
||
<option t-foreach="linkOptions" t-as="option" t-att-value ="option['id']"><t t-esc="option['name']"/></option>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
<div class="col-lg-3">
|
||
<div class="survey_scene_selection">
|
||
<select class="scene_select" id="location">
|
||
<option t-foreach="locationOptions" t-as="option" t-att-value ="option['id']"><t t-esc="option['name']"/></option>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="survey_scene_selection_button">
|
||
<button type="button" class="btn btn-primary scene_selection_reset">重置</button>
|
||
</div>
|
||
<div class="survey_scene_selection_button">
|
||
<button type="button" class="btn btn-primary scene_selection_confirm">确认</button>
|
||
</div>
|
||
|
||
<t t-call="tx_opentekr_survey.survey_scene_table"/>
|
||
|
||
</div>
|
||
|
||
<div class="sasac_survey_scene_dialog_root" style="display: none;">
|
||
|
||
<!-- <div class="scene_dialog_page">-->
|
||
<!-- <div class="row scene_dialog_page_header">-->
|
||
<!-- <div class="scene_dialog_page_title"><h4>我是标题</h4></div>-->
|
||
<!-- <div class="fa fa-times-circle scene_dialog_page_icon" title="fa-times-circle" aria-label="fa-times-circle"/>-->
|
||
<!-- </div>-->
|
||
|
||
<!-- <div class="row scene_dialog_page_main">-->
|
||
<!-- <div class="col-lg-5 dialog_page_main_left">-->
|
||
<!-- <video controls="controls" class="w-100" alt="111.mp4">-->
|
||
<!-- <source src="http://localhost:18069/web/content?model=tx.sasac.survey.scene&id=1&field=vod"/>-->
|
||
<!-- </video>-->
|
||
<!-- </div>-->
|
||
<!-- <div class="col-lg-6 dialog_page_main_right">-->
|
||
<!-- <div class="scene_content">-->
|
||
<!-- <div class="code_rc scene_content_item">-->
|
||
<!-- <div class="scene_code d-50">-->
|
||
<!-- 场景编号:2201700-->
|
||
<!-- </div>-->
|
||
<!-- <div class="scene_rc d-50">-->
|
||
<!-- 推荐单位:浙江国资委-->
|
||
<!-- </div>-->
|
||
<!-- </div>-->
|
||
<!-- <div class="scene_companyName scene_content_item">-->
|
||
<!-- 企业名称:绍兴市城市建设投资集团有限公司-->
|
||
<!-- </div>-->
|
||
<!-- <div class="industry_link scene_content_item">-->
|
||
<!-- <div class="scene_industry d-50">-->
|
||
<!-- 所属行业:建筑-->
|
||
<!-- </div>-->
|
||
<!-- <div class="scene_link d-50">-->
|
||
<!-- 推荐单位:浙江国资委-->
|
||
<!-- </div>-->
|
||
<!-- </div>-->
|
||
<!-- <div class="scene_technology scene_content_item">-->
|
||
<!-- 应用技术:数字孪生,物联网,云计算-->
|
||
<!-- </div>-->
|
||
<!-- <div class="scene_location scene_content_item">-->
|
||
<!-- <div class="scene_location_name d-50">-->
|
||
<!-- 场景所在地:浙江-->
|
||
<!-- </div>-->
|
||
<!-- </div>-->
|
||
<!-- </div>-->
|
||
<!-- <div class="scene_vote">-->
|
||
<!-- <button type="button" class="btn btn-primary scene_selection_vote">我要投票</button>-->
|
||
<!-- </div>-->
|
||
<!-- </div>-->
|
||
<!-- </div>-->
|
||
<!-- </div>-->
|
||
</div>
|
||
</div>
|
||
</t>
|
||
</template>
|
||
|
||
<template id="survey_scene_table" name="Survey: page table">
|
||
<div class="col-lg-12 survey_scene_table">
|
||
<div t-foreach="sceneList" t-as="scene" class="col-lg-12 survey_scene_table_tr" t-att-data_id="scene.id">
|
||
<t t-esc="scene.name"/>
|
||
</div>
|
||
</div>
|
||
</template>
|
||
|
||
</data>
|
||
</odoo> |