summaryrefslogtreecommitdiff
path: root/addons/web_graph/static/src/xml
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@tinyerp.com>2012-05-07 10:19:08 +0200
committerFabien Pinckaers <fp@tinyerp.com>2012-05-07 10:19:08 +0200
commitdd6de9b2006cfe5bc7be28d70addc321691d2746 (patch)
tree677a360fdc3b660add0e9589b74c10da3b562766 /addons/web_graph/static/src/xml
parent16a2d354fc333d8fd3c0c638c5c2d74ffee8c580 (diff)
[IMP] replacing by flotr2, initial commit
bzr revid: fp@tinyerp.com-20120507081908-j0sfm5f84f0t32yg
Diffstat (limited to 'addons/web_graph/static/src/xml')
-rw-r--r--addons/web_graph/static/src/xml/web_graph.xml51
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>