git ssb

0+

dangerousbeans / dangerous_patchbay



forked from Dominic / patchbay

Commit bb827e06ce952c8aa8c4c54e7ae7a1c669860776

tab icons (status menu icons)

Joran committed on 12/18/2016, 9:59:37 PM
Parent: 5aa32d04ac706448eca8170dafbf518494f1ae63

Files changed

modules_extra/git-ssb.jschanged
modules_extra/key.jschanged
modules_extra/network.jschanged
modules_extra/query.jschanged
modules_extra/versions.jschanged
modules_extra/git-ssb.jsView
@@ -20,9 +20,9 @@
2020
2121 exports.create = function (api) {
2222 return {
2323 menu_items: function () {
24- return h('a', {href: '#/git-ssb'}, '/git-ssb')
24 + return h('a', {href: '#/git-ssb'}, h("i.glyphicon.glyphicon-cube-black"), 'git-ssb')
2525 },
2626
2727 screen_view: function (path, sbot) {
2828 if(path === '/git-ssb') {
modules_extra/key.jsView
@@ -15,9 +15,9 @@
1515
1616 exports.create = function (api) {
1717 return {
1818 menu_items: function () {
19- return h('a', {href: '#/key'}, '/key')
19 + return h('a', {href: '#/key'}, h("i.glyphicon.glyphicon-link"), 'key')
2020 },
2121 screen_view: function (path, sbot) {
2222 if(path === '/key') {
2323 if(process.title === 'browser') {
@@ -51,12 +51,11 @@
5151 )
5252 )
5353 )
5454 return div
55- } else {
55 + } else {
5656 return h('p', 'Your key is saved at .ssb/secret')
5757 }
5858 }
5959 }
6060 }
6161 }
62-
modules_extra/network.jsView
@@ -105,9 +105,9 @@
105105 exports.create = function (api) {
106106
107107 return {
108108 menu_items: function () {
109- return h('a', {href: '#/network'}, '/network')
109 + return h('a', {href: '#/network'}, h("i.glyphicon.glyphicon-globe"), '/network')
110110 },
111111
112112 builtin_tabs: function () {
113113 return ['/network']
@@ -171,6 +171,4 @@
171171 return h('div.column.scroll-y', ol)
172172 }
173173 }
174174 }
175-
176-
modules_extra/query.jsView
@@ -15,9 +15,9 @@
1515 exports.create = function (api) {
1616
1717 return {
1818 menu_items: function () {
19- return h('a', {href:'#/query'}, '/query')
19 + return h('a', {href:'#/query'}, h("i.glyphicon.glyphicon-search"), 'query')
2020 },
2121
2222 builtin_tabs: function () {
2323 return ['/query']
@@ -38,9 +38,9 @@
3838
3939 return h('div.column.scroll',
4040 editor = h('textarea', {style: 'min-height:100px;', oninput: parse, onkeydown: function (e) {
4141 if(!(e.keyCode === 13 && e.ctrlKey)) return
42-
42 +
4343 status.textContent = 'running...'
4444 parse()
4545 output.innerHTML = ''
4646 if(stream) stream.abort()
modules_extra/versions.jsView
@@ -9,9 +9,9 @@
99 exports.create = function () {
1010
1111 return {
1212 menu_items: function () {
13- return h('a', {href: '#/versions'}, '/versions')
13 + return h('a', {href: '#/versions'}, h("i.glyphicon.glyphicon-floppy-disk"), 'versions')
1414 },
1515
1616 builtin_tabs: function () {
1717 return ['/versions']

Built with git-ssb-web