mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-25 12:34:47 -04:00
Width hack.
This commit is contained in:
parent
c486962ff8
commit
e52b3dd440
19 changed files with 132 additions and 90 deletions
|
@ -1,7 +1,7 @@
|
|||
const {dom} = require('../util');
|
||||
|
||||
const rootSelector = 'body';
|
||||
const tplTopbar =
|
||||
const topbarTpl =
|
||||
`<div id="topbar">
|
||||
<div id="toolbar"></div>
|
||||
<div id="flowbar"></div>
|
||||
|
@ -10,7 +10,7 @@ const tplTopbar =
|
|||
<div>by h5ai</div>
|
||||
</a>
|
||||
</div>`;
|
||||
const tplMainrow =
|
||||
const mainrowTpl =
|
||||
`<div id="mainrow">
|
||||
<div id="content"></div>
|
||||
</div>`;
|
||||
|
@ -20,8 +20,8 @@ const init = () => {
|
|||
|
||||
const $root = dom(rootSelector)
|
||||
.attr('id', 'root')
|
||||
.app(tplTopbar)
|
||||
.app(tplMainrow);
|
||||
.app(topbarTpl)
|
||||
.app(mainrowTpl);
|
||||
|
||||
return {
|
||||
$root,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue