Web Interface For Lite Argus Control modules
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

55 lines
1.2 KiB

/*!
* Ext JS Library 3.3.1
* Copyright(c) 2006-2010 Sencha Inc.
* licensing@sencha.com
* http://www.sencha.com/license
*/
Ext.onReady(function(){
var p = new Ext.Panel({
title: 'My Panel',
collapsible:true,
renderTo: 'panel-basic',
width:400,
html: Ext.example.bogusMarkup
});
// preventBodyReset: true
new Ext.Panel({
title: 'A Panel with W3C-suggested body-html styling',
preventBodyReset: true,
renderTo: 'panel-reset-true',
width: 400,
html: html.join('')
});
// preventBodyReset: false
new Ext.Panel({
title: 'Same panel as above with preventBodyReset: false',
normal: false,
renderTo: 'panel-reset-false',
width: 400,
html: html.join('')
});
});
// Some sample html
var html = [
'<h1>Heading One</h1>',
'<h2>Heading Two</h2>',
'<p>This is a paragraph with <strong>STRONG</strong>, <em>EMPHASIS</em> and a <a href="#">Link</a></p>',
'<table>',
'<tr>',
'<td>Table Column One</td>',
'<td>Table Column Two</td>',
'</tr>',
'</table>',
'<ul>',
'<li>Un-ordered List-item One</li>',
'<li>Un-ordered List-item One</li>',
'</ul>',
'<ol>',
'<li>Ordered List-item One</li>',
'<li>Ordered List-item Two</li>',
'</ol>',
'<blockquote>This is a blockquote</blockquote>'
];