Customization

This commit is contained in:
2017-10-27 14:35:10 +07:00
parent 766fe4425d
commit f687983b45
6 changed files with 49 additions and 15 deletions

View File

@@ -11,15 +11,19 @@ var header = {
return m('span', [
m('nav', [
m('span.brand', m('a.title', {
href: '',
oncreate: m.route.link
style: 'cursor: pointer;',
onclick: function() {
m.route.set('')
}
}, 'Live Info')),
// m('input#bmenug.show', {type: 'checkbox'}),
// m('label.burger.pseudo.button', {for: 'bmenug'}, m('i.fa.fa-bars', {'aria-hidden': 'true'})),
m('.menu', m('a.navy.hidden-hover.button', {
href: '/login',
'data-tooltip': 'Masuk',
oncreate: m.route.link
style: 'cursor: pointer;',
onclick: function() {
m.route.set('/login')
}
}, [
m('i.fa.fa-sign-in', {
'aria-hidden': 'true'

View File

@@ -19,7 +19,9 @@ var showPost = {
style: 'background:#FFF;text-align:left;width:100%;padding:10vh 0 0;'
}, [
m('#secondaryNav', m(secondaryNav)),
m('#mit', m(listAdmin))
m('#mit', {
style: 'padding: 0 .6em'
}, m(listAdmin))
])))
}
}