Commit 321a2a14 authored by Efthymia Bika's avatar Efthymia Bika
Browse files

Remove application menu, add icon bar

parent f907eb30
......@@ -14,37 +14,31 @@
var gui = require('nw.gui');
var win = gui.Window.get();
win.resizeTo(1000, 700);
var menubar = new gui.Menu({
type: 'menubar'
var settings_edit = new gui.Menu();
settings_edit.append(new gui.MenuItem({
label: 'Edit',
click: function() {
var backup = new gui.Menu();
backup.append(new gui.MenuItem({
label: 'List',
click: function() {
menubar.append(new gui.MenuItem({label: 'Backup/Restore', submenu: backup}));
menubar.append(new gui.MenuItem({label: 'Cloud Settings', submenu: settings_edit})); = menubar;
<div class="blue-bar icon-bar four-up">
<a class="item">
<i class="fa fa-tasks"></i>
<a class="item" onclick="$('#main').load('backup-list.html');">
<i class="fa fa-upload"></i>
<a class="item">
<i class="fa fa-download"></i>
<a class="item" onclick="$('#main').load('cloud-list.html');">
<i class="fa fa-cloud"></i>
<label>Cloud Settings</label>
<div id="main"></div>
<script src="static/js/foundation.min.js"></script>
......@@ -35,3 +35,6 @@
font-size: small;
background: #DCEFCE;
.blue-bar {
background: #146A84;
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