Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<html> | ||
<head> | ||
<link rel="stylesheet" type="text/css" href="../extjs/resources/css/ext-all.css"> | ||
<script type="text/javascript" src="../extjs/ext-all.js"></script> | ||
|
||
<script type="text/javascript" src="../extjs/locale/ext-lang-pt_BR.js"></script> | ||
|
||
</head> | ||
<body> | ||
<div id="datefield"></div> | ||
</body> | ||
<script type="text/javascript"> | ||
Ext.onReady(function(){ | ||
Ext.create('Ext.FormPanel', { | ||
renderTo: 'datefield', | ||
labelWidth: 100, // label settings here cascade unless overridden | ||
frame: true, | ||
title: 'Datepicker', | ||
bodyStyle: 'padding:5px 5px 0', | ||
width: 380, | ||
defaults: { | ||
msgTarget: 'side', | ||
width: 340 | ||
}, | ||
defaultType: 'datefield', | ||
items: [{ | ||
fieldLabel: 'Date', | ||
name: 'date' | ||
}] | ||
}); | ||
}); | ||
</script> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed metus nibh, sodales a, porta at, vulputate eget, dui. Pellentesque ut nisl. Maecenas tortor turpis, interdum non, sodales non, iaculis ac, lacus. Vestibulum auctor, tortor quis iaculis malesuada, libero lectus bibendum purus, sit amet tincidunt quam turpis vel lacus. In pellentesque nisl non sem. Suspendisse nunc sem, pretium eget, cursus a, fringilla vel, urna. | ||
Aliquam commodo ullamcorper erat. Nullam vel justo in neque porttitor laoreet. Aenean lacus dui, consequat eu, adipiscing eget, nonummy non, nisi. Morbi nunc est, dignissim non, ornare sed, luctus eu, massa. Vivamus eget quam. Vivamus tincidunt diam nec urna. Curabitur velit. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<html> | ||
<head> | ||
|
||
<link rel="stylesheet" type="text/css" href="../extjs/resources/css/ext-all.css"> | ||
<script type="text/javascript" src="../extjs/ext-all.js"></script> | ||
|
||
<script type="text/javascript" src="../jquery/jquery.min.js"></script> | ||
|
||
</head> | ||
<body> | ||
<div id="panelCt"></div> | ||
</body> | ||
|
||
<script type="text/javascript"> | ||
//Ext.onReady(function(){ | ||
$(document).ready(function(){ | ||
|
||
Ext.create('widget.panel', { | ||
|
||
renderTo: 'panelCt', | ||
|
||
title: 'ExtJS 4 Panel', | ||
width: 400, | ||
height: 300, | ||
frame: true, | ||
|
||
html: "<div id='contentID'></div>" | ||
}); | ||
|
||
$('#contentID').load('content.html'); | ||
}); | ||
</script> | ||
|
||
</html> |
Large diffs are not rendered by default.
Oops, something went wrong.