git ssb

0+

dangerousbeans / patchbay-bootstrap



Commit 6b0a3dda632ec4d0055d5862ecad77fc64ab8e4d

working basic bootstrap display, still glitchy

Joran committed on 9/27/2016, 12:20:39 AM
Parent: ae8ef55d5accde645cce7a92673912744ed77fb0

Files changed

modules/avatar-image.jschanged
modules/message.jschanged
style.csschanged
modules/avatar-image.jsView
@@ -79,9 +79,10 @@
7979 if(classes && 'string' === typeof classes) classes = '.avatar--'+classes
8080
8181 var img = visualize(new Buffer(author.substring(1), 'base64'), 256)
8282 ;(classes || '').split('.').filter(Boolean).forEach(function (c) {
83- img.classList.add(c)
83 + // TODO: Had to disable this for some reason
84 + // img.classList.add(c)
8485 })
8586
8687 function go () {
8788 if(avatars[author]) img.src = blob_url(avatars[author].image)
@@ -92,17 +93,4 @@
9293 else go()
9394
9495 return img
9596 }
96-
97-
98-
99-
100-
101-
102-
103-
104-
105-
106-
107-
108-
modules/message.jsView
@@ -51,9 +51,9 @@
5151 // })
5252 // )
5353 var msg = h('div.panel.panel-default', h('div.panel-body', h('div.media',
5454 h('div.media-left',
55- avatar(author, 'thumbnail media-object')
55 + avatar(author, 'avatar--thumbnail media-object')
5656 ),
5757 h('div.media-body',
5858 h('h4.media-heading',
5959 h('a', {href:'#'+author}, avatar_name(author)),
style.cssView
@@ -1,5 +1,5 @@
1-body {
1 +/*body {
22 font-family: sans-serif;
33 }
44
55 * {
@@ -334,5 +334,5 @@
334334 }
335335
336336 .hypertabs--selected .hypertabs__x {
337337 display: block;
338-}
338 +}*/

Built with git-ssb-web