git ssb

30+

cel / git-ssb-web



Commit b460e646757a25a1561fa141222ddcec1acf5239

clean up

Ev Bogue committed on 9/3/2016, 9:00:52 PM
Parent: 878d7c26f377fc18f5dc6196c1aa22160f765d57

Files changed

index.jschanged
static/styles.csschanged
index.jsView
@@ -427,9 +427,9 @@
427427 var self = this
428428 if (read === undefined)
429429 return this.serveTemplate.bind(this, req, title, code)
430430 var q = req._u.query.q && u.escape(req._u.query.q) || ''
431- var app = 'git ssb'
431 + var app = 'GitMX'
432432 var appName = this.ssbAppname
433433 if (req._t) app = req._t(app)
434434 return cat([
435435 pull.values([
@@ -464,11 +464,11 @@
464464 '<input class="search-bar" name="q" size="60"' +
465465 ' placeholder="🔍" value="' + q + '" />' +
466466 '</form>' +
467467 '</header>' +
468- '<article>'),
468 + '<article><hr />'),
469469 this.renderTry(read),
470- pull.once('<hr/></article></body></html>')
470 + pull.once('<hr/><p style="font-size: .8em;">Built with <a href="http://git-ssb.celehner.com">git-ssb-web</a></p></article></body></html>')
471471 ])
472472 }
473473
474474 G.serveError = function (req, err, status) {
static/styles.cssView
@@ -1,9 +1,9 @@
11 body {
22 margin: 1em;
33 line-height: 1.6;
44 color: #333;
5- background: #white;
5 + background: #fff;
66 font-family: 'Source Sans Pro', sans-serif;
77 }
88
99 article, header {
@@ -28,9 +28,9 @@
2828
2929 section code {
3030 padding: .5ex;
3131 border-radius: .5ex;
32- background-color: #f5f5f5;
32 + background-color: #fff;
3333 }
3434
3535 pre > code {
3636 padding: 0;
@@ -39,9 +39,9 @@
3939
4040 /* header */
4141
4242 header h1 {
43- font-weight: inherit;
43 + font-weight: bold;
4444 font-size: 1.5em;
4545 display: inline;
4646 }
4747
@@ -67,9 +67,11 @@
6767
6868 .profile-icon {
6969 height: 1.5em;
7070 width: 1.5em;
71- margin: .5em .5ex 0 .2ex;
71 + margin-right: .2em;
72 + margin-left: .2em;
73 + margin-top: .4em;
7274 border: 1px solid #eee;
7375 float: left;
7476 }
7577
@@ -99,18 +101,18 @@
99101 margin-top: 1em;
100102 }
101103
102104 a:link, a:visited {
103- color: #0088cc;
105 + color: #08c;
104106 text-decoration: none;
105107 }
106108 a:hover {
107109 color: #005580;
108110 }
109111
110112 hr {
111113 border: 0;
112- border-bottom: 1px solid #ddd;
114 + border-bottom: 1px solid #eee;
113115 }
114116
115117 section img {
116118 max-width: 100%;

Built with git-ssb-web