Línea 52... |
Línea 52... |
52 |
s = s + '<td class="text-left">Seccion</td>';
|
52 |
s = s + '<td class="text-left">Seccion</td>';
|
53 |
s = s + '<td class="text-left">' + this.sections[i].name + '</td>';
|
53 |
s = s + '<td class="text-left">' + this.sections[i].name + '</td>';
|
54 |
s = s + '<td class="text-right">' + this.sections[i].value + '</td>';
|
54 |
s = s + '<td class="text-right">' + this.sections[i].value + '</td>';
|
55 |
s = s + '<td> </td>';
|
55 |
s = s + '<td> </td>';
|
56 |
s = s + '<td>';
|
56 |
s = s + '<td>';
|
57 |
s = s + '<button class="btn btn-default btn-edit-section" data-slug="' + this.sections[i].slug + '" data-toggle="tooltip" title="LABEL_EDIT Seccion"><i class="fa fa-edit" aria-hidden="true"></i> Editaaaaassssr seccion </button> ';
|
57 |
s = s + '<button class="btn btn-default btn-edit-section" data-slug="' + this.sections[i].slug + '" data-toggle="tooltip" title="LABEL_EDIT LABEL_SECTION"><i class="fa fa-edit" aria-hidden="true"></i> LABEL_EDIT LABEL_SECTION </button> ';
|
58 |
s = s + '<button class="btn btn-default btn-delete-section" data-slug="' + this.sections[i].slug + '" data-toggle="tooltip" title="Eliminar Seccion"><i class="fa fa-ban" aria-hidden="true"></i> Eliminar seccion </button> ';
|
58 |
s = s + '<button class="btn btn-default btn-delete-section" data-slug="' + this.sections[i].slug + '" data-toggle="tooltip" title="LABEL_DELETE LABEL_SECTION"><i class="fa fa-ban" aria-hidden="true"></i> LABEL_DELETE LABEL_SECTION </button> ';
|
59 |
s = s + '<button class="btn btn-default btn-add-question" data-slug="' + this.sections[i].slug + '" data-toggle="tooltip" title="Añadir Pregunta"><i class="fa fa-plus" aria-hidden="true"></i> Añadir Pregunta </button> ';
|
59 |
s = s + '<button class="btn btn-default btn-add-question" data-slug="' + this.sections[i].slug + '" data-toggle="tooltip" title="LABEL_ADD LABEL_QUESTION"><i class="fa fa-plus" aria-hidden="true"></i> LABEL_ADD LABEL_QUESTION </button> ';
|
60 |
s = s + '</td>';
|
60 |
s = s + '</td>';
|
61 |
s = s + '</tr>';
|
61 |
s = s + '</tr>';
|
62 |
$('#' + table + ' tbody').append(s);
|
62 |
$('#' + table + ' tbody').append(s);
|
Línea 117... |
Línea 117... |
117 |
s = s + ' <div class="panel-body">';
|
117 |
s = s + ' <div class="panel-body">';
|
118 |
s = s + ' <div class="table-responsive">';
|
118 |
s = s + ' <div class="table-responsive">';
|
119 |
s = s + ' <table class="table table-bordered" id="' + table + '">';
|
119 |
s = s + ' <table class="table table-bordered" id="' + table + '">';
|
120 |
s = s + ' <thead>';
|
120 |
s = s + ' <thead>';
|
121 |
s = s + ' <tr>';
|
121 |
s = s + ' <tr>';
|
122 |
s = s + ' <th>LABEL_EDIT</th>';
|
122 |
s = s + ' <th>LABEL_ELEMENT</th>';
|
123 |
s = s + ' <th>Texto</th>';
|
123 |
s = s + ' <th>LABEL_TEXT</th>';
|
124 |
s = s + ' <th>Valor</th>';
|
124 |
s = s + ' <th>LABEL_VALUE</th>';
|
125 |
s = s + ' <th>Type</th>';
|
125 |
s = s + ' <th>LABEL_TYPE</th>';
|
126 |
s = s + ' <th>Actions</th>';
|
126 |
s = s + ' <th>LABEL_ACTIONS</th>';
|
127 |
s = s + ' </tr>';
|
127 |
s = s + ' </tr>';
|
128 |
s = s + ' </thead>';
|
128 |
s = s + ' </thead>';
|
129 |
s = s + ' <tbody>';
|
129 |
s = s + ' <tbody>';
|
130 |
s = s + ' </tbody>';
|
130 |
s = s + ' </tbody>';
|
131 |
s = s + ' </table>';
|
131 |
s = s + ' </table>';
|
Línea 136... |
Línea 136... |
136 |
|
136 |
|
Línea 137... |
Línea 137... |
137 |
$('#accordion').append(s);
|
137 |
$('#accordion').append(s);
|
138 |
|
138 |
|
139 |
|
139 |
|
140 |
s = '<tr class="tr-section" data-slug="' + section_slug + '">';
|
140 |
s = '<tr class="tr-section" data-slug="' + section_slug + '">';
|
141 |
s = s + '<td class="text-left">Seccion</td>';
|
141 |
s = s + '<td class="text-left">LABEL_SECTION</td>';
|
142 |
s = s + '<td class="text-left">' + section_name + '</td>';
|
142 |
s = s + '<td class="text-left">' + section_name + '</td>';
|
143 |
s = s + '<td class="text-right">' + section_value + '</td>';
|
143 |
s = s + '<td class="text-right">' + section_value + '</td>';
|
144 |
s = s + '<td> </td>';
|
144 |
s = s + '<td> </td>';
|
145 |
s = s + '<td>';
|
145 |
s = s + '<td>';
|
146 |
s = s + '<button class="btn btn-default btn-edit-section" data-slug="' + section_slug + '" data-toggle="tooltip" title="Editar Section"><i class="fa fa-edit" aria-hidden="true"></i> Edit section</button> ';
|
146 |
s = s + '<button class="btn btn-default btn-edit-section" data-slug="' + section_slug + '" data-toggle="tooltip" title="LABEL_EDIT LABEL_SECTION"><i class="fa fa-edit" aria-hidden="true"></i> LABEL_EDIT LABEL_SECTION </button> ';
|
147 |
s = s + '<button class="btn btn-default btn-delete-section" data-slug="' + section_slug + '" data-toggle="tooltip" title="Eliminar Section"><i class="fa fa-ban" aria-hidden="true"></i> Delete section</button> ';
|
147 |
s = s + '<button class="btn btn-default btn-delete-section" data-slug="' + section_slug + '" data-toggle="tooltip" title="LABEL_DELETE LABEL_SECTION"><i class="fa fa-ban" aria-hidden="true"></i> LABEL_DELETE LABEL_SECTION </button> ';
|
148 |
s = s + '<button class="btn btn-default btn-add-question" data-slug="' + section_slug + '" data-toggle="tooltip" title="Añadir Question"><i class="fa fa-plus" aria-hidden="true"></i> Add question</button> ';
|
148 |
s = s + '<button class="btn btn-default btn-add-question" data-slug="' + section_slug + '" data-toggle="tooltip" title="LABEL_ADD LABEL_SECTION"><i class="fa fa-plus" aria-hidden="true"></i> LABEL_ADD LABEL_SECTION </button> ';
|
149 |
s = s + '</td>';
|
149 |
s = s + '</td>';
|
Línea 1754... |
Línea 1754... |
1754 |
|
1754 |
|
1755 |
tbody input[type="checkbox"]{
|
1755 |
tbody input[type="checkbox"]{
|
1756 |
margin-left: 14px;
|
1756 |
margin-left: 14px;
|
Línea 1757... |
Línea 1757... |
1757 |
}
|
1757 |
}
|
1758 |
|
1758 |
|
1759 |
.panel-heading .accordion-toggle:after {
|
1759 |
.panel-heading .accordion-toggle:before {
|
1760 |
/* symbol for "opening" panels */
|
1760 |
/* symbol for "opening" panels */
|
- |
|
1761 |
display: inline-block;
|
- |
|
1762 |
font: normal normal normal 14px/1 FontAwesome;
|
1761 |
font-family: 'Glyphicons Halflings'; /* essential for enabling glyphicon */
|
1763 |
font-size: inherit;
|
1762 |
content: "\e114"; /* adjust as needed, taken from bootstrap.css */
|
1764 |
content: "\f09e";
|
1763 |
float: right; /* adjust as needed */
|
1765 |
text-rendering: auto;
|
1764 |
color: grey; /* adjust as needed */
|
1766 |
-webkit-font-smoothing: antialiased;
|
1765 |
}
|
1767 |
}
|
1766 |
.panel-heading .accordion-toggle.collapsed:after {
|
1768 |
.panel-heading .accordion-toggle.collapsed:after {
|
1767 |
/* symbol for "collapsed" panels */
|
1769 |
/* symbol for "collapsed" panels */
|