NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="static/extjs/ext-all-6.0.2.js">

</script>
<script type="text/javascript" src="static/js/hrc.js">

</script>
<script type="text/javascript" src="static/js/util.js">

</script>
<link rel="stylesheet" type="text/css"
href="static/extjs/theme-triton-all.css" />
<link rel="shortcut icon" href="static/extjs/images/favicon.ico"
type="image/x-icon" />

<script type="text/javascript">
Ext.onReady(function() {
var itemsPerPage = 5;
Ext.create('Ext.data.Store',
{
storeId : 'student_data',
pageSize : itemsPerPage,
fields : [ 'id', 'name', 'email', 'phone', 'branch',
'roll_number' ],
data : [ {
id : '001',
name : 'Lisa',
email : '[email protected]',
phone : '555-111-1224',
branch : 'CSE',
roll_number : '16882'
}, {
id : '002',
name : 'Bart',
email : '[email protected]',
phone : '555-222-1234',
branch : 'CSE',
roll_number : '16881'
}, {
id : '003',
name : 'Homer',
email : '[email protected]',
phone : '555-222-1244',
branch : 'CSE',
roll_number : '16883'
}, {
id : '004',
name : 'Marge',
email : '[email protected]',
phone : '555-222-1254',
branch : 'CSE',
roll_number : '16884'
}, {
id : '005',
name : 'Marge',
email : '[email protected]',
phone : '555-222-1254',
branch : 'CSE',
roll_number : '16884'
}, {
id : '006',
name : 'Marge',
email : '[email protected]',
phone : '555-222-1254',
branch : 'CSE',
roll_number : '16884'
}, {
id : '007',
name : 'Marge',
email : '[email protected]',
phone : '555-222-1254',
branch : 'CSE',
roll_number : '16884'
}, {
id : '004',
name : 'Marge',
email : '[email protected]',
phone : '555-222-1254',
branch : 'CSE',
roll_number : '16884'
}, {
id : '005',
name : 'Marge',
email : '[email protected]',
phone : '555-222-1254',
branch : 'CSE',
roll_number : '16884'
}, {
id : '006',
name : 'Marge',
email : '[email protected]',
phone : '555-222-1254',
branch : 'CSE',
roll_number : '16884'
}, {
id : '004',
name : 'Marge',
email : '[email protected]',
phone : '555-222-1254',
branch : 'CSE',
roll_number : '16884'
}, {
id : '004',
name : 'Marge',
email : '[email protected]',
phone : '555-222-1254',
branch : 'CSE',
roll_number : '16884'
}, {
id : '004',
name : 'Marge',
email : '[email protected]',
phone : '555-222-1254',
branch : 'CSE',
roll_number : '16884'
}, {
id : '007',
name : 'Marge',
email : '[email protected]',
phone : '555-222-1254',
branch : 'CSE',
roll_number : '16884'
}, {
id : '008',
name : 'Marge',
email : '[email protected]',
phone : '555-222-1254',
branch : 'CSE',
roll_number : '16884'
}, {
id : '009',
name : 'Marge',
email : '[email protected]',
phone : '555-222-1254',
branch : 'CSE',
roll_number : '16884'
}, {
id : '001',
name : 'Marge',
email : '[email protected]',
phone : '555-222-1254',
branch : 'CSE',
roll_number : '16884'
}, {
id : '004',
name : 'Marge',
email : '[email protected]',
phone : '555-222-1254',
branch : 'CSE',
roll_number : '16884'
}, {
id : '002',
name : 'Marge',
email : '[email protected]',
phone : '555-222-1254',
branch : 'CSE',
roll_number : '16884'
}, {
id : '003',
name : 'Marge',
email : '[email protected]',
phone : '555-222-1254',
branch : 'CSE',
roll_number : '16884'
}, {
id : '003',
name : 'Marge',
email : '[email protected]',
phone : '555-222-1254',
branch : 'CSE',
roll_number : '16884'
}, {
id : '005',
name : 'Marge',
email : '[email protected]',
phone : '555-222-1254',
branch : 'CSE',
roll_number : '16884'
}, {
id : '005',
name : 'Marge',
email : '[email protected]',
phone : '555-222-1254',
branch : 'CSE',
roll_number : '16884'
}, {
id : '006',
name : 'Marge',
email : '[email protected]',
phone : '555-222-1254',
branch : 'CSE',
roll_number : '16884'
}, {
id : '007',
name : 'Marge',
email : '[email protected]',
phone : '555-222-1254',
branch : 'CSE',
roll_number : '16884'
}, {
id : '004',
name : 'Marge',
email : '[email protected]',
phone : '555-222-1254',
branch : 'CSE',
roll_number : '16884'
}, {
id : '008',
name : 'Marge',
email : '[email protected]',
phone : '555-222-1254',
branch : 'CSE',
roll_number : '16884'
}, {
id : '009',
name : 'Marge',
email : '[email protected]',
phone : '555-222-1254',
branch : 'CSE',
roll_number : '16884'
}, {
id : '000',
name : 'Marge',
email : '[email protected]',
phone : '555-222-1254',
branch : 'CSE',
roll_number : '16884'
}, {
id : '005',
name : 'Marge',
email : '[email protected]',
phone : '555-222-1254',
branch : 'CSE',
roll_number : '16884'
}, {
id : '004',
name : 'Marge',
email : '[email protected]',
phone : '555-222-1254',
branch : 'CSE',
roll_number : '16884'
}, {
id : '0045',
name : 'Marge',
email : '[email protected]',
phone : '555-222-1254',
branch : 'CSE',
roll_number : '16884'
}, {
id : '0043',
name : 'Marge',
email : '[email protected]',
phone : '555-222-1254',
branch : 'CSE',
roll_number : '16884'
}, {
id : '0044',
name : 'Marge',
email : '[email protected]',
phone : '555-222-1254',
branch : 'CSE',
roll_number : '16884'
}, {
id : '004',
name : 'Marge',
email : '[email protected]',
phone : '555-222-1254',
branch : 'CSE',
roll_number : '16889'
} ],
proxy : {
type : 'memory',
enablePaging : true,
reader : {
type : 'json'
}
}
});

Ext.create('Ext.TabPanel', {
renderTo: Ext.getBody(),
width: 500,
style : {
marginRight : 'auto',
marginTop : '10px',
bodyStyle: 'background-color:white;'
},

items: [
{
title: 'All Invoices',
},
{
title: 'Open Invoices',
},
{
title: 'Closed Invoices',
}
],
listeners: {
render: function() {
this.items.each(function(i){
i.tab.on('click', function(){
if(i.title == "All Invoices"){
closed_invoices.hide();
open_invoices.hide();
all_invoices.show();
}
else if(i.title == "Open Invoices"){
all_invoices.hide();
closed_invoices.hide();
open_invoices.show();
}
else if(i.title == "Closed Invoices"){
all_invoices.hide();
open_invoices.hide();
closed_invoices.show();
}
});
});
}
}
});


var adv_isVisible = false;
Ext.create('Ext.panel.Panel', {
title : '<div style="text-align:center">Student Database</div>',
buttonAlign : 'right',
buttons : [ {
xtype : 'button',
itemId : 'adv_search',
text : 'Advanced search',
listeners : {
click : function() {
if (!adv_isVisible) {
adv_search_form.show();
} else
adv_search_form.hide();
adv_isVisible = !adv_isVisible;
}
}
} ],
renderTo : Ext.getBody()
});

var adv_search_form = Ext.create('Ext.form.Panel', {
title : 'Simple Form',
bodyPadding : 5,
width : 400,
style : {
marginLeft : 'auto',
marginRight : 'auto'
},
// The form will submit an AJAX request to this URL when submitted
//url : 'save-form.php',

// Fields will be arranged vertically, stretched to full width
layout : 'anchor',
defaults : {
anchor : '100%'
},

// The fields
defaultType : 'textfield',
items : [ {
fieldLabel : 'First Name',
name : 'first',
allowBlank : false
}, {
fieldLabel : 'Last Name',
name : 'last',
allowBlank : false
} ],

// Reset and Submit buttons
buttons : [ {
text : 'Reset',
handler : function() {
this.up('form').getForm().reset();
}
}, {
text : 'Submit',
formBind : true, //only enabled once the form is valid
disabled : true,
handler : function() {
var form = this.up('form').getForm();
if (form.isValid()) {
form.submit({
success : function(form, action) {
Ext.Msg.alert('Success', action.result.msg);
},
failure : function(form, action) {
Ext.Msg.alert('Failed', action.result.msg);
}
});
}
}
} ],
renderTo : Ext.getBody()
}).hide();

Ext.create('Ext.panel.Panel', {
border : false,
buttonAlign : 'left',
buttons : [ {
xtype : 'button',
itemId : 'edit',
text : 'Edit',
}, {
xtype : 'button',
itemId : 'predict',
text : 'Predict'
} ],
renderTo : Ext.getBody()
});

var all_invoices = Ext.create('Ext.grid.Panel', {
title : '<div style="text-align:center;">Student form</div>',
store : Ext.data.StoreManager.lookup('student_data'),
columns : [ {
text : 'Id',
dataIndex : 'id',
flex : 1
}, {
text : 'Name',
dataIndex : 'name',
flex : 1
}, {
text : 'Email',
dataIndex : 'email',
flex : 1
}, {
text : 'Phone',
dataIndex : 'phone',
flex : 1
}, {
text : 'Branch',
dataIndex : 'branch',
flex : 1
}, {
text : 'Roll number',
dataIndex : 'roll_number',
flex : 1
} ],
dockedItems : [ {
xtype : 'pagingtoolbar',
store : Ext.data.StoreManager.lookup('student_data'), // same store GridPanel is using
dock : 'top',
displayInfo : true,
} ],
renderTo : Ext.getBody()
});

var open_invoices = Ext.create('Ext.grid.Panel', {
title : '<div style="text-align:center;">Student form</div>',
store : Ext.data.StoreManager.lookup('student_data'),
columns : [ {
text : 'Id',
dataIndex : 'id',
flex : 1
}, {
text : 'Name',
dataIndex : 'name',
flex : 1
}, {
text : 'Email',
dataIndex : 'email',
flex : 1
}, {
text : 'Phone',
dataIndex : 'phone',
flex : 1
}, {
text : 'Branch',
dataIndex : 'branch',
flex : 1
}, {
text : 'Roll number',
dataIndex : 'roll_number',
flex : 1
} ],
dockedItems : [ {
xtype : 'pagingtoolbar',
store : Ext.data.StoreManager.lookup('student_data'), // same store GridPanel is using
dock : 'top',
displayInfo : true,
} ],
renderTo : Ext.getBody()
}).hide();

var closed_invoices = Ext.create('Ext.grid.Panel', {
title : '<div style="text-align:center;">Student form</div>',
store : Ext.data.StoreManager.lookup('student_data'),
columns : [ {
text : 'Id',
dataIndex : 'id',
flex : 1
}, {
text : 'Name',
dataIndex : 'name',
flex : 1
}, {
text : 'Email',
dataIndex : 'email',
flex : 1
}, {
text : 'Phone',
dataIndex : 'phone',
flex : 1
}, {
text : 'Branch',
dataIndex : 'branch',
flex : 1
}, {
text : 'Roll number',
dataIndex : 'roll_number',
flex : 1
} ],
dockedItems : [ {
xtype : 'pagingtoolbar',
store : Ext.data.StoreManager.lookup('student_data'), // same store GridPanel is using
dock : 'top',
displayInfo : true,
} ],
renderTo : Ext.getBody()
}).hide();
});
</script>
</head>

<body>
</body>
</html>
     
 
what is notes.io
 

Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 14 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.