-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Praesidiarius
committed
Mar 30, 2021
1 parent
34318df
commit e9181f8
Showing
3 changed files
with
43 additions
and
14 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
view/partial/basic_card.phtml → view/templates/card/basic.phtml
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,4 +1,17 @@ | ||
<?php | ||
/** | ||
* basic.phtml - Basic Card | ||
* | ||
* Main Template file for Basic Bootstrap Card | ||
* | ||
* @category Template | ||
* @package Template | ||
* @author Verein onePlace | ||
* @copyright (C) 2021 Verein onePlace <[email protected]> | ||
* @license https://opensource.org/licenses/BSD-3-Clause | ||
* @version 1.0.0 | ||
* @since 1.0.0 | ||
*/ | ||
$sCardClassFinal = (!isset($sCardClass)) ? 'col-md-12' : $sCardClass; | ||
?> | ||
<div class="<?=$sCardClassFinal?>"> | ||
|
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,30 @@ | ||
<?php | ||
/** | ||
* basic_footer.phtml - Basic Card Footer | ||
* | ||
* Footer Template file for Basic Bootstrap Card | ||
* | ||
* @category Template | ||
* @package Template | ||
* @author Verein onePlace | ||
* @copyright (C) 2021 Verein onePlace <[email protected]> | ||
* @license https://opensource.org/licenses/BSD-3-Clause | ||
* @version 1.0.0 | ||
* @since 1.0.0 | ||
*/ | ||
?> | ||
|
||
<?php if(isset($sButtonLabel)) { ?> | ||
<button type="submit" class="btn btn-success btn-lg plc-card-savebutton"> | ||
<?=(isset($sButtonIcon)) ? '<i class="'.$sButtonIcon.'"></i> ' : ''?><?=$sButtonLabel?> | ||
</button> | ||
<?php } ?> | ||
|
||
<?php if(isset($bCancelButton)) { | ||
if($bCancelButton) { ?> | ||
<a href="<?=$sCancelButtonAction?>" class="btn <?=(isset($sCancelButtonClass)) ? $sCancelButtonClass : 'btn-secondary'?> btn-lg"> | ||
<?=$this->translate((isset($sCancelButtonLabel)) ? $sCancelButtonLabel : 'Cancel')?> | ||
</a> | ||
<?php | ||
} | ||
} |