Create a table to represent tree nodes.
CREATE TABLE `tree_node` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`data_body` text,
node_deleted datetime DEFAULT NULL,
| <header> | |
| Pure CSS Material Components Showcase | |
| </header> | |
| <nav>UPDATE! This has been open-sourced here: <a href="https://github.com/finnhvman/matter" target="_top">https://github.com/finnhvman/matter</a></nav> | |
| <main class="grid"> | |
| <div></div> | |
| <div class="column">Enabled</div> | |
| <div class="column">Disabled</div> | |
| <a class="title" href="https://codepen.io/finnhvman/pen/MQyJxV" target="_top">Button - Contained</a> |
| <textarea rows="1" id="excelPasteBox" placeholder="Paste your excel form data here..."></textarea> | |
| <hr /> | |
| <div id="output"> | |
| <table id="excelDataTable"></table> | |
| </div> | |
| <hr /> | |
| <button id="exportJsonData" type="button" value="Export JSON Data"> | |
| Export JSON Data | |
| </button> | |
| <hr /> |
| * Stop Server | |
| * Remove all odoo files | |
| * Remove postgresql from system | |
| STOP SERVER | |
| sudo service odoo stop | |
| or sudo service odoo-server stop (if odoo-server instead of odoo) | |
| REMOVE ALL ODOO FILES | |
| sudo rm -R /opt/odoo | |
| REMOVE CONFIG FILES |
| class State { | |
| constructor(display, actors) { | |
| this.display = display; | |
| this.actors = actors; | |
| } | |
| update(time) { | |
| /** | |
| * provide an update ID to let actors update other actors only once |
| var _ = require('lodash'); | |
| var arr = [ | |
| {"name":"my2child1","title":"My 2 Child 1","parent":"my2"}, | |
| {"name":"my2child2","title":"My 2 Child 2","parent":"my2"}, | |
| {"name":"parent","title":"A single parent"}, | |
| {"name":"child-parent","title":"A child parent","parent":"child1"}, | |
| {"name":"my","title":"My"}, | |
| {"name":"my2","title":"My2"}, | |
| {"name":"child1","title":"Child 1","parent":"my"}, |