Commit 9d78a1f0 authored by Ryan Herbert's avatar Ryan Herbert

index.html main.js add vmi menu

parent 9b6628c8
......@@ -90,6 +90,10 @@
<!-- TOP-CONTAINER -->
<div id="top-container" onmouseout="hideSelector()">
<div id="menu-container">
<div class="menu" id="vmi-menu" onmouseover="showSelector('vmiSelector');">vmi
<!-- Div is filld programmatically with vmi menu -->
<div class="selector" id="vmiSelector"></div>
</div>
<div class="menu" id="top_info">
<!--Div is filled programmatically -->
</div>
......
......@@ -101,6 +101,10 @@ try {
var my_tips = new TipsOfTheDay(tips, new TipDecorator(), available_tips);
my_tips.set_container(document.getElementById('tip-container'))
my_tips.display()
var menu_container = document.getElementById('vmiSelector');
var menu = vmi.setMenuOptions(new VidjilMenuDecorator());
menu_container.appendChild(menu);
} catch(err) {
this.db.log_error(err)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment