66 |
efrain |
1 |
<?php
|
|
|
2 |
use LeadersLinked\Model\CompanyService;
|
|
|
3 |
use LeadersLinked\Model\Company;
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
//$this->headLink()->appendStylesheet($this->basePath('plugins/nprogress/nprogress.css'));
|
|
|
7 |
//$this->inlineScript()->appendFile($this->basePath('plugins/nprogress/nprogress.js'));
|
|
|
8 |
|
|
|
9 |
|
|
|
10 |
$this->inlineScript()->captureStart();
|
|
|
11 |
echo <<<JS
|
|
|
12 |
jQuery( document ).ready(function( $ ) {
|
|
|
13 |
|
|
|
14 |
|
|
|
15 |
|
|
|
16 |
|
|
|
17 |
});
|
|
|
18 |
JS;
|
|
|
19 |
$this->inlineScript()->captureEnd();
|
|
|
20 |
?>
|
83 |
steven |
21 |
<style type="text/css">
|
|
|
22 |
/*#uniform-select_all{0
|
|
|
23 |
margin-left: 15px;
|
|
|
24 |
}*/
|
66 |
efrain |
25 |
|
83 |
steven |
26 |
tbody input[type="checkbox"]{
|
|
|
27 |
margin-left: 14px;
|
|
|
28 |
}
|
|
|
29 |
|
|
|
30 |
.panel-heading .accordion-toggle:after {
|
|
|
31 |
/* symbol for "opening" panels */
|
|
|
32 |
font-family: 'Glyphicons Halflings'; /* essential for enabling glyphicon */
|
|
|
33 |
content: "\e114"; /* adjust as needed, taken from bootstrap.css */
|
|
|
34 |
float: right; /* adjust as needed */
|
|
|
35 |
color: grey; /* adjust as needed */
|
|
|
36 |
}
|
|
|
37 |
.panel-heading .accordion-toggle.collapsed:after {
|
|
|
38 |
/* symbol for "collapsed" panels */
|
|
|
39 |
content: "\e080"; /* adjust as needed, taken from bootstrap.css */
|
|
|
40 |
}
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
</style>
|
66 |
efrain |
44 |
<!-- Content Header (Page header) -->
|
|
|
45 |
<section class="content-header">
|
|
|
46 |
<div class="container-fluid">
|
|
|
47 |
<div class="row mb-2">
|
|
|
48 |
<div class="col-sm-12">
|
|
|
49 |
<h1>LABEL_TEST</h1>
|
|
|
50 |
</div>
|
|
|
51 |
</div>
|
|
|
52 |
</div><!-- /.container-fluid -->
|
|
|
53 |
</section>
|
|
|
54 |
|
|
|
55 |
<section class="content">
|
|
|
56 |
<div class="container-fluid">
|
|
|
57 |
<div class="row">
|
|
|
58 |
<div class="col-md-12 col-sm-12">
|
79 |
steven |
59 |
<!-- Content -->
|
|
|
60 |
<div class="row" id="row-forms">
|
|
|
61 |
<div class="col-md-12">
|
|
|
62 |
<!-- Begin: life time stats -->
|
80 |
steven |
63 |
<div class="portlet box blue-dark">
|
|
|
64 |
<div class="portlet-title ">
|
|
|
65 |
<div class="caption">
|
|
|
66 |
<i class="fa fa-dot-circle-o"></i>AutoEvaluacion
|
|
|
67 |
</div>
|
|
|
68 |
<div class="actions portlet-toggler">
|
|
|
69 |
<button class="btn blue btn-add-form" data-toggle="tooltip" title="Add Form">
|
|
|
70 |
<i class="fa fa-plus"></i> Add
|
|
|
71 |
</button>
|
|
|
72 |
<button class="btn red hide btn-delete-forms" data-action="delete" data-toggle="tooltip" title="Delete Selected"><i class="fa fa-minus"></i> Delete Selected</button>
|
|
|
73 |
<div class="btn-group"></div>
|
|
|
74 |
</div>
|
79 |
steven |
75 |
|
80 |
steven |
76 |
</div>
|
|
|
77 |
<div class="portlet-body portlet-toggler">
|
|
|
78 |
<table id="table-form" class="table table-striped table-bordered table-hover">
|
|
|
79 |
|
|
|
80 |
</table>
|
|
|
81 |
</div>
|
|
|
82 |
<div class="portlet-body portlet-toggler pageform" style="display:none;"></div>
|
|
|
83 |
</div>
|
|
|
84 |
</div>
|
|
|
85 |
</div>
|
|
|
86 |
<!-- End Content -->
|
|
|
87 |
<!-- Row Edit -->
|
81 |
steven |
88 |
<div class="row" id="row-edit">
|
80 |
steven |
89 |
<div class="col-xs-12 col-md-12">
|
|
|
90 |
<form action="#" name="form-main" id="form-main">
|
|
|
91 |
<input type="hidden" name="form-id" id="form-id" value="0" />
|
|
|
92 |
<input type="hidden" name="form-continue" id="form-continue" value="0" />
|
|
|
93 |
<div class="form-group">
|
|
|
94 |
<label for="form-name">Name</label>
|
|
|
95 |
<input type="text" name="form-name" id="form-name" class="form-control" maxlength="50" />
|
79 |
steven |
96 |
</div>
|
80 |
steven |
97 |
<div class="form-group">
|
|
|
98 |
<label for="form-description">Description</label>
|
|
|
99 |
<!-- ckeditor -->
|
|
|
100 |
<textarea name="form-description" id="form-description" rows="5" class="ckeditor form-control"></textarea>
|
|
|
101 |
</div>
|
|
|
102 |
<div class="form-group">
|
|
|
103 |
<label for="form-text">Text</label>
|
|
|
104 |
<!-- ckeditor -->
|
|
|
105 |
<textarea name="form-text" id="form-text" rows="5" class="ckeditor form-control"></textarea>
|
79 |
steven |
106 |
</div>
|
80 |
steven |
107 |
<div class="form-group">
|
|
|
108 |
<label for="form-language">Language</label>
|
|
|
109 |
<select name="form-language" id="form-language" class="form-control">
|
|
|
110 |
<option value="EN">English</option>
|
|
|
111 |
<option value="SP">Spanish</option>
|
|
|
112 |
</select>
|
|
|
113 |
</div>
|
|
|
114 |
<div class="form-group">
|
|
|
115 |
<label for="form-status">Status</label>
|
|
|
116 |
<select name="form-status" id="form-status" class="form-control">
|
|
|
117 |
<option value="D">Inactive</option>
|
|
|
118 |
<option value="A">Active</option>
|
|
|
119 |
</select>
|
|
|
120 |
</div>
|
|
|
121 |
<br/>
|
|
|
122 |
<div class="row">
|
|
|
123 |
<div class="col-xs-12 col-md-12 text-right">
|
|
|
124 |
<button class="btn btn-primary" id="btn-add-section" data-toggle="tooltip" title="New Section"><i class="fa fa-plus" aria-hidden="true"></i> New Section</button>
|
|
|
125 |
</div>
|
79 |
steven |
126 |
</div>
|
80 |
steven |
127 |
<br>
|
|
|
128 |
<div class="row">
|
|
|
129 |
<div class="col-xs-12 col-md-12">
|
|
|
130 |
<div class="panel-group" id="accordion">
|
|
|
131 |
|
|
|
132 |
|
|
|
133 |
|
|
|
134 |
</div>
|
|
|
135 |
</div>
|
|
|
136 |
</div>
|
|
|
137 |
|
|
|
138 |
|
|
|
139 |
<div class="form-group">
|
|
|
140 |
<button type="button" class="btn btn-info btn-form-save-continue">Save & Continue</button>
|
|
|
141 |
<button type="button" class="btn btn-primary btn-form-save-close">Save & Close</button>
|
|
|
142 |
<button type="button" class="btn btn-secondary btn-edit-cancel">Cancel</button>
|
|
|
143 |
</div>
|
|
|
144 |
</form>
|
79 |
steven |
145 |
</div>
|
|
|
146 |
</div>
|
80 |
steven |
147 |
<!-- End Row Edit -->
|
82 |
steven |
148 |
<!-- Modals -->
|
|
|
149 |
<!-- Senction Modal -->
|
|
|
150 |
<div id="modal-section" class="modal" tabindex="-1" role="dialog">
|
|
|
151 |
<div class="modal-dialog" role="document">
|
|
|
152 |
<form action="#" name="form-section" id="form-section">
|
|
|
153 |
<input type="hidden" name="section-slug" id="section-slug" value="" />
|
|
|
154 |
<div class="modal-content">
|
|
|
155 |
<div class="modal-header">
|
|
|
156 |
<h4 class="modal-title">Modal title</h4>
|
|
|
157 |
<!-- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
|
158 |
<span aria-hidden="true">×</span>
|
|
|
159 |
</button> -->
|
|
|
160 |
</div>
|
|
|
161 |
<div class="modal-body">
|
|
|
162 |
<div class="form-group">
|
|
|
163 |
<label for="section-name">Name</label>
|
|
|
164 |
<input type="text" name="section-name" id="section-name" class="form-control" maxlength="50" value="" />
|
|
|
165 |
</div>
|
|
|
166 |
<div class="form-group">
|
|
|
167 |
<label for="section-text">Text</label>
|
|
|
168 |
<!-- ckeditor -->
|
|
|
169 |
<textarea name="section-text" id="section-text" rows="5" class="ckeditor form-control"></textarea>
|
|
|
170 |
</div>
|
|
|
171 |
<div class="form-group">
|
|
|
172 |
<label for="section-value">Value</label>
|
|
|
173 |
<input type="text" name="section-value" id="section-value" class="form-control" value="0" />
|
|
|
174 |
</div>
|
|
|
175 |
</div>
|
|
|
176 |
<div class="modal-footer">
|
|
|
177 |
<button type="submit" class="btn btn-primary">Save</button>
|
|
|
178 |
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
|
|
179 |
</div>
|
|
|
180 |
</div>
|
|
|
181 |
</form>
|
|
|
182 |
</div>
|
|
|
183 |
</div>
|
|
|
184 |
<!-- End Modal Section -->
|
|
|
185 |
<!-- Question Modal -->
|
|
|
186 |
<div id="modal-question" class="modal" tabindex="-1" role="dialog">
|
|
|
187 |
<div class="modal-dialog" role="document">
|
|
|
188 |
<form action="#" name="form-question" id="form-question">
|
|
|
189 |
<input type="hidden" name="question-section" id="question-section" />
|
|
|
190 |
<input type="hidden" name="question-slug" id="question-slug" />
|
|
|
191 |
<div class="modal-content">
|
|
|
192 |
<div class="modal-header">
|
|
|
193 |
<h4 class="modal-title">Add Question</h4>
|
|
|
194 |
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
|
195 |
<span aria-hidden="true">×</span>
|
|
|
196 |
</button>
|
|
|
197 |
</div>
|
|
|
198 |
<div class="modal-body">
|
|
|
199 |
<div class="form-group">
|
|
|
200 |
<label for="question-text">Text</label>
|
|
|
201 |
<!-- ckeditor -->
|
|
|
202 |
<textarea name="question-text" id="question-text" rows="5" class="ckeditor form-control"></textarea>
|
|
|
203 |
</div>
|
|
|
204 |
<div class="form-group">
|
|
|
205 |
<label for="question-value">Value</label>
|
|
|
206 |
<input type="text" name="question-value" id="question-value" class="form-control" />
|
|
|
207 |
</div>
|
|
|
208 |
<div class="form-group">
|
|
|
209 |
<label for="question-type">Type</label>
|
|
|
210 |
<select name="question-type" id="question-type" class="form-control">
|
|
|
211 |
<option value="open">Open</option>
|
|
|
212 |
<option value="simple">Simple</option>
|
|
|
213 |
<option value="multiple">Multiple</option>
|
|
|
214 |
<option value="rating-open">Rating Open</option>
|
|
|
215 |
<option value="rating-range">Rating Range</option>
|
|
|
216 |
</select>
|
|
|
217 |
</div>
|
|
|
218 |
<div class="form-group">
|
|
|
219 |
<label for="question-max-length">MaxLength</label>
|
|
|
220 |
<input type="text" name="question-max-length" id="question-max-length" class="form-control" />
|
|
|
221 |
</div>
|
|
|
222 |
<div class="form-group">
|
|
|
223 |
<label for="question-multiline">Multiline</label>
|
|
|
224 |
<select name="question-multiline" id="question-multiline" class="form-control">
|
|
|
225 |
<option value="1">Yes</option>
|
|
|
226 |
<option value="0">No</option>
|
|
|
227 |
</select>
|
|
|
228 |
</div>
|
|
|
229 |
<div class="form-group">
|
|
|
230 |
<label for="question-range">Range</label>
|
|
|
231 |
<select name="question-range" id="question-range" class="form-control">
|
|
|
232 |
<option value="10">1-10</option>
|
|
|
233 |
<option value="6">1-6</option>
|
|
|
234 |
<option value="5">1-5</option>
|
|
|
235 |
</select>
|
|
|
236 |
</div>
|
|
|
237 |
</div>
|
|
|
238 |
<div class="modal-footer">
|
|
|
239 |
<button type="submit" class="btn btn-primary">Save</button>
|
|
|
240 |
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
|
|
241 |
</div>
|
|
|
242 |
</div>
|
|
|
243 |
</form>
|
|
|
244 |
</div>
|
|
|
245 |
</div>
|
|
|
246 |
<!-- End Modal Question -->
|
83 |
steven |
247 |
<!-- MOdal Options -->
|
|
|
248 |
<div id="modal-option" class="modal" tabindex="-1" role="dialog">
|
|
|
249 |
<div class="modal-dialog" role="document">
|
|
|
250 |
<form action="#" name="form-option" id="form-option">
|
|
|
251 |
<input type="hidden" name="option-section" id="option-section" value="" />
|
|
|
252 |
<input type="hidden" name="option-question" id="option-question" value="" />
|
|
|
253 |
<input type="hidden" name="option-slug" id="option-slug" value="" />
|
|
|
254 |
<div class="modal-content">
|
|
|
255 |
<div class="modal-header">
|
|
|
256 |
<h4 class="modal-title">Modal title</h4>
|
|
|
257 |
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
|
258 |
<span aria-hidden="true">×</span>
|
|
|
259 |
</button>
|
|
|
260 |
</div>
|
|
|
261 |
<div class="modal-body">
|
|
|
262 |
<div class="form-group">
|
|
|
263 |
<label for="option-text">Text</label>
|
|
|
264 |
<!-- ckeditor -->
|
|
|
265 |
<textarea name="option-text" id="option-text" rows="5" class="ckeditor form-control"></textarea>
|
|
|
266 |
</div>
|
|
|
267 |
<div class="form-group">
|
|
|
268 |
<label for="option-correct">Correct</label>
|
|
|
269 |
<select name="option-correct" id="option-correct" class="form-control">
|
|
|
270 |
<option value="1">Yes</option>
|
|
|
271 |
<option value="0">No</option>
|
|
|
272 |
</select>
|
|
|
273 |
</div>
|
|
|
274 |
<div class="form-group">
|
|
|
275 |
<label for="option-value">Value</label>
|
|
|
276 |
<input type="text" name="option-value" id="option-value" class="form-control" />
|
|
|
277 |
</div>
|
|
|
278 |
</div>
|
|
|
279 |
<div class="modal-footer">
|
|
|
280 |
<button type="submit" class="btn btn-primary">Save</button>
|
|
|
281 |
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
|
|
282 |
</div>
|
|
|
283 |
</div>
|
|
|
284 |
</form>
|
|
|
285 |
</div>
|
|
|
286 |
</div>
|
|
|
287 |
<!-- End Modal Options -->
|
82 |
steven |
288 |
<!-- End Modals -->
|
66 |
efrain |
289 |
</div>
|
|
|
290 |
</div>
|
|
|
291 |
</div>
|
|
|
292 |
</section>
|