Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dev: array, 10 point choice, human readable view
- Loading branch information
LouisGac
committed
Apr 1, 2016
1 parent
fe107ed
commit 633c0c0
Showing
17 changed files
with
90 additions
and
151 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
43 changes: 43 additions & 0 deletions
43
application/views/survey/questions/arrays/10point/answer.php
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,43 @@ | ||
<?php | ||
/** | ||
* array 10 point choice Html : Header | ||
* | ||
* @var $sColumns : the columns, generated with the view columns/col.php | ||
* @var $sHeaders : the headers, generated with the view rows/cell/thead.php | ||
* @var $sRows : the rows, generated with the view rows/answer_row.php | ||
* @var $extraclass | ||
* @var $answerwidth | ||
*/ | ||
?> | ||
<!-- Array 10 point choice --> | ||
|
||
<!-- answer --> | ||
<div class="no-more-tables no-more-tables-10-point"> | ||
<table class="table question subquestion-list questions-list <?php echo $extraclass; ?>"> | ||
<colgroup class="col-responses"> | ||
<col class="col-answers" width="<?php echo $answerwidth;?>%"/> | ||
<?php | ||
// columns/col.php | ||
echo $sColumns; | ||
?> | ||
</colgroup> | ||
<thead> | ||
<tr class="array1 dontread"> | ||
<th> </th> | ||
|
||
<?php | ||
// rows/cell/thead.php | ||
echo $sHeaders; | ||
?> | ||
|
||
</tr> | ||
</thead> | ||
<tbody> | ||
<?php | ||
// rows/answer_row.php | ||
echo $sRows; | ||
?> | ||
</tbody> | ||
</table> | ||
</div> | ||
<!-- end of answer --> |
2 changes: 0 additions & 2 deletions
2
application/views/survey/questions/arrays/10point/close_row.php
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
application/views/survey/questions/arrays/10point/close_table.php
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
application/views/survey/questions/arrays/10point/close_table_head.php
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
9 changes: 5 additions & 4 deletions
9
application/views/survey/questions/arrays/10point/columns/col.php
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 |
---|---|---|
@@ -1,11 +1,12 @@ | ||
<?php | ||
/** | ||
* Array 5pointchoice, column | ||
* Array 10pointchoice, column | ||
* | ||
* @var $odd_even | ||
* @var $cellwidth | ||
*/ | ||
?> | ||
|
||
<!-- col.php --> | ||
<col class="<?php //TODO: alternation ?>" style='width: <?php echo $cellwidth; ?>%;' /> | ||
<!-- end of col.php --> | ||
<!-- col --> | ||
<col class="<?php echo $odd_even; ?>" style='width: <?php echo $cellwidth; ?>%;' /> | ||
<!-- end of col --> |
13 changes: 0 additions & 13 deletions
13
application/views/survey/questions/arrays/10point/header.php
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
application/views/survey/questions/arrays/10point/open_table_head.php
This file was deleted.
Oops, something went wrong.
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
12 changes: 0 additions & 12 deletions
12
application/views/survey/questions/arrays/10point/rows/cells/answer_td_answertext.php
This file was deleted.
Oops, something went wrong.
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
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
12 changes: 0 additions & 12 deletions
12
application/views/survey/questions/arrays/10point/table_headers.php
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
application/views/survey/questions/arrays/10point/td_input.php
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
application/views/survey/questions/arrays/10point/tr_open.php
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -38,7 +38,6 @@ | |
|
||
<!-- Table Body --> | ||
<tbody> | ||
|
||
<?php | ||
// rows/answer_row.php | ||
echo $sRows; | ||
|