Spaces:
Sleeping
Sleeping
File size: 2,055 Bytes
07c3cdd | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 | <div style="padding: 15px">
<div id="list-panel"></div>
</div>
<style type="text/css">
.x-viewport {
overflow:auto;
}
a {
color: #006699;cursor: pointer;text-decoration: none;
}
a:hover {
color:orange !important;
cursor:pointer
}
body {
/* overflow-x: hidden !important;*/
/* background-color:white !important;*/
border-color: #D0D0D0;
}
.x-panel-body {
/*background-color:white !important;*/
border-color: #F1F1F1;
overflow:auto;
}
.ux-layout-center-item {
margin:0 auto;
text-align:left;
}
.ux-layout-center .x-panel-body {
text-align:center;
}
/*!Grid*/
.x-grid3 .x-window-ml{
padding-left: 0;
}
.x-grid3 .x-window-mr {
padding-right: 0;
}
.x-grid3 .x-window-tl {
padding-left: 0;
}
.x-grid3 .x-window-tr {
padding-right: 0;
}
.x-grid3 .x-window-tc .x-window-header {
height: 3px;
padding:0;
overflow:hidden;
}
.x-grid3 .x-window-mc {
border-width: 0;
background: #cdd9e8;
}
.x-grid3 .x-window-bl {
padding-left: 0;
}
.x-grid3 .x-window-br {
padding-right: 0;
}
.x-grid3 .x-panel-btns {
padding:0;
}
.x-grid3 .x-panel-btns td.x-toolbar-cell {
padding:3px 3px 0;
}
.x-box-inner {
zoom:1;
}
.icon-user-add {
background-image: url(/images/add-row-after.png) !important;
}
.icon-user-delete {
background-image: url(/images/delete-row.png) !important;
}
/*!Grid*/
</style>
<script type="text/javascript">
var a, b, c;
function addField(){
fordata= Ext.getCmp('fordata1');
dynForm = fordata;
a = new Ext.form.TextField({
fieldLabel: "A"
});
b = new Ext.form.TextField({
fieldLabel: "B"
});
c = new Ext.form.TextField({
fieldLabel: "C"
});
dynForm.add( a );
dynForm.add( b );
dynForm.addAfter( a, c );
dynForm.doLayout();
}
function remove(){
var e = b.el.up( '.x-form-item' );
dynForm.remove( b );
e.remove();
dynForm.doLayout();
}
</script>
|