Porting bi_view_editor to V9

This commit is contained in:
astirpe
2016-06-24 14:17:36 +02:00
committed by Andrea
parent 2448ee08aa
commit 7be6ff98be
15 changed files with 1472 additions and 0 deletions

View 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>

View 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>