Commit 2e73575694e4b2fa869e4a2c9d558fdfdbd2b887
fixes and tidied up for electron
Joran committed on 12/18/2016, 10:11:15 PMParent: bb827e06ce952c8aa8c4c54e7ae7a1c669860776
Files changed
modules_core/app.js | changed |
modules_extra/network.js | changed |
style.css | changed |
modules_core/app.js | ||
---|---|---|
@@ -6,15 +6,8 @@ | ||
6 | 6 … | gives: 'app', |
7 | 7 … | create: function (api) { |
8 | 8 … | return function () { |
9 | 9 … | |
10 | - document.head.appendChild(h('link', {rel: "stylesheet", href:"dev-style.css"})) | |
11 | - | |
12 | - document.head.appendChild(h('link', {rel: "stylesheet", href:"https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css"})) | |
13 | - | |
14 | - document.head.appendChild(h('script', {src: "https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"})) | |
15 | - document.head.appendChild(h('script', {src: "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"})) | |
16 | - | |
17 | 10 … | document.head.appendChild(h('style', require('../style.css.json'))) |
18 | 11 … | |
19 | 12 … | window.addEventListener('error', window.onError = function (e) { |
20 | 13 … | document.body.appendChild(h('div.error', |
modules_extra/network.js | ||
---|---|---|
@@ -105,9 +105,9 @@ | ||
105 | 105 … | exports.create = function (api) { |
106 | 106 … | |
107 | 107 … | return { |
108 | 108 … | menu_items: function () { |
109 | - return h('a', {href: '#/network'}, h("i.glyphicon.glyphicon-globe"), '/network') | |
109 … | + return h('a', {href: '#/network'}, h("i.glyphicon.glyphicon-globe"), 'network') | |
110 | 110 … | }, |
111 | 111 … | |
112 | 112 … | builtin_tabs: function () { |
113 | 113 … | return ['/network'] |
style.css | ||
---|---|---|
The diff is too large to show. Use a local git client to view these changes. Old file size: 129618 bytes New file size: 129884 bytes |
Built with git-ssb-web