mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
Porting bi_view_editor to V9
This commit is contained in:
13
bi_view_editor/templates/assets_template.xml
Normal file
13
bi_view_editor/templates/assets_template.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
|
||||
<template id="bve_js" name="bi view editor assets" inherit_id="web.assets_backend">
|
||||
<xpath expr="." position="inside">
|
||||
<link rel="stylesheet" href="/bi_view_editor/static/src/css/bve.css"/>
|
||||
<script type="text/javascript" src="/bi_view_editor/static/src/js/bve.js"></script>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
78
bi_view_editor/templates/qweb_template.xml
Normal file
78
bi_view_editor/templates/qweb_template.xml
Normal file
@@ -0,0 +1,78 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates id="template" xml:space="preserve">
|
||||
<t t-name="JoinNodePopup">
|
||||
<div class="oe_form_nosheet">
|
||||
<p>Please choose the join node</p>
|
||||
<div id="join-nodes">
|
||||
</div>
|
||||
</div>
|
||||
</t>
|
||||
|
||||
|
||||
<t t-name="BVEEditor">
|
||||
<div class="oe_form_field_bi_editor">
|
||||
<!--
|
||||
<div class="header">
|
||||
<div class="left">
|
||||
<h2>Query</h2>
|
||||
</div>
|
||||
<div class="right">
|
||||
<button><span class="fa fa-plus"></span> Custom field</button>
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
|
||||
<div class="body">
|
||||
|
||||
<div class="left">
|
||||
<div class="search-bar">
|
||||
<span class="fa fa-search"></span>
|
||||
<input type="text" class="search-bar" />
|
||||
</div>
|
||||
<div class="class-list">
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<table class="field-list">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Model</th>
|
||||
<th>Options</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<div class="left"></div>
|
||||
<div class="right"><button id="clear"><span class="fa fa-eraser"></span> Clear</button></div>
|
||||
</div>
|
||||
<ul class="context-menu">
|
||||
<!--
|
||||
<li>View Param
|
||||
<ul>
|
||||
-->
|
||||
<li><input type="checkbox" id="column-checkbox"/> Column</li>
|
||||
<li><input type="checkbox" id="row-checkbox"/> Row</li>
|
||||
<li><input type="checkbox" id="measure-checkbox"/> Measure</li>
|
||||
<!--
|
||||
</ul>
|
||||
</li>
|
||||
-->
|
||||
<!--
|
||||
<li>
|
||||
Filters
|
||||
</li>
|
||||
<li>
|
||||
Operations
|
||||
</li>
|
||||
-->
|
||||
</ul>
|
||||
</div>
|
||||
</t>
|
||||
</templates>
|
||||
Reference in New Issue
Block a user