mirror of
https://github.com/lxsang/ant-http
synced 2024-11-18 09:18:22 +01:00
35 lines
748 B
JavaScript
35 lines
748 B
JavaScript
// system config
|
|
var config = {
|
|
layout:{
|
|
name: 'layout',
|
|
panels: [
|
|
{
|
|
type: 'top',
|
|
size: 29,
|
|
style: 'padding: 0px;',
|
|
content: '',
|
|
title: 'RCAR HTTP Server Manager'
|
|
},
|
|
{
|
|
type: 'left',
|
|
size: 160,
|
|
style: 'padding: 0px;',
|
|
content: 'left'
|
|
},
|
|
{
|
|
type: 'main',
|
|
style: 'padding: 0px;',
|
|
content: 'main'
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|
|
// init the main layout
|
|
$(function () {
|
|
$('#layout').w2layout(config.layout);
|
|
w2ui.layout.content('left', w2ui.sidebar);
|
|
w2ui.layout.content('main', w2ui.pluginsgrid);
|
|
});
|
|
|