diff options
Diffstat (limited to 'addons/web_graph/static/src/xml/web_graph.xml')
| -rw-r--r-- | addons/web_graph/static/src/xml/web_graph.xml | 51 |
1 files changed, 48 insertions, 3 deletions
diff --git a/addons/web_graph/static/src/xml/web_graph.xml b/addons/web_graph/static/src/xml/web_graph.xml index 90349623946..710036d40d3 100644 --- a/addons/web_graph/static/src/xml/web_graph.xml +++ b/addons/web_graph/static/src/xml/web_graph.xml @@ -1,4 +1,49 @@ <template> - <div t-name="GraphView" t-att-id="element_id+'-'+chart+'chart'" - style="height:300px;position:relative;"/> -</template>
\ No newline at end of file + <div t-name="GraphView" id="element_id-chart" class="editor-render" style="height:300px; width:300px; position:relative;"> + <div class="graph_header_legend"> + </div> + <a href="#" class="i dropdown-menu-icon" data-toggle="dropdown">B</a> + <div class="graph-dropdown"> + <div class="menu-section"> + Graph Mode: + </div> + <ul class="graph-menu"> + <li><a href="#" id="graph_pie">Pie</a></li> + <li> + <a href="#" id="graph_bar">Bars</a> + <div class="i graph-menu-options"> + <a href="#" id="graph_bar_stacked">w</a> + <a href="#" id="graph_bar_not_stacked">O</a> + </div> + </li> + <li><a href="#" id="graph_line">Lines</a></li> + <li><a href="#" id="graph_area">Areas</a> + <div class="i graph-menu-options"> + <a href="#" id="graph_area_stacked">w</a> + <a href="#" id="graph_area_not_stacked">O</a> + </div> + </li> + <li><a href="#" id="graph_radar">Radar</a></li> + </ul> + <div class="menu-section"> + Legend: + </div> + <ul class="graph-menu"> + <li><a href="#" id="graph_legend_no">Hide</a></li> + <li><a href="#" id="graph_legend_inside">Inside</a></li> + <li><a href="#" id="graph_legend_top">Top</a></li> + </ul> + <div class="menu-section"> + Actions: + </div> + <ul class="graph-menu"> + <li><a href="#" id="graph_switch">Switch Axis</a></li> + <li><a href="#" id="graph_show_data">Show Data</a></li> + <li><a href="#" id="graph_download">Download as PNG</a></li> + </ul> + </div> + <div id="editor-render-body"> + </div> + </div> + +</template> |
