Last active
June 12, 2018 04:11
-
-
Save Masamasamasashito/45468b348ac9073bc899592066dbf819 to your computer and use it in GitHub Desktop.
TCD プラグイン Workflow table.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
<style type="text/css"> | |
<?php if(isset($phpData['customcss'])) : | |
echo $phpData['customcss']; | |
endif; ?> | |
</style> | |
<table class="workflow_table table table-bordered table-flow tcd-workflow <?php if(!$phpData['border']) echo "borderless-table"; ?>" style="table-layout:auto; width:<?php echo $phpData['tablewidth']; ?>; background:#<?php if(isset($phpData['mainbgcol'])){echo $phpData['mainbgcol'];} ?>"> | |
<?php if( $phpData['title'] ) : ?> | |
<tr class="workflow_table_headline" style="background:#<?php echo $phpData['col1']; ?>; color:#<?php echo $phpData['textcol1']; ?>;"> | |
<th class="text-center" colspan="2"> | |
<b><?php echo $phpData['title']; ?></b> | |
</th> | |
</tr> | |
<?php endif; ?> | |
<?php foreach( $phpData['steps'] as $step ) : ?> | |
<tr> | |
<th class="active" style="vertical-align:middle; width:<?php echo $phpData['colwidth']; ?>; color:#<?php echo $phpData['textcol2']; ?>; background:#<?php echo $phpData['col2']; ?>"><span><?php echo $step['label1']; ?></span></th> | |
<td style="padding:8px 20px; white-space: pre-wrap;" ><?php echo $step['label2']; ?></td> | |
</tr> | |
<?php endforeach; ?> | |
</table> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment