Spade

Mini Shell

Directory:~$ /home/lmsyaran/public_html/joomla4/
Upload File

[Home] [System Details] [Kill Me]
Current File:~$ /home/lmsyaran/public_html/joomla4/course_progress.zip

PKn��[
��2;;tmpl/assets/step.cssnu�[���.moojla-progress-wrapper
{
    background-color: brown;
}PKn��[�"�&��tmpl/default.phpnu�[���<div
class="moojla-progress-wrapper">
    <div class="title">
        <i class="fas fa-spinner"></i>
        <span>درصد پیشرفت درس</span>
        <span> : <?=
floor($percentages['percentage']);?>%</span>
    </div>
    <div class="moojla-progress">
        <span class="moojla-progress-bar" style="width:
<?=
floor($percentages['percentage']);?>%"></span>
    </div>
</div>
<style>
    .moojla-progress-wrapper .title{
        margin-bottom: 15px;
        display: flex;
    }
    .moojla-progress-wrapper .title i{
        font-size: 1.7rem;
        padding-left: 15px;
        color: #a5afbb;
    }
    .moojla-progress-wrapper .title span{
        align-self: center;
    }
    .moojla-progress-wrapper
    {
        background: white;
        border: 1px solid #e6e6e6;
        border-radius: 5px;
        box-shadow: 2px 0px 5px #e5e5e5;
        font-weight: 100;
        font-size: 0.9rem;
        padding: 8px;
        margin: 20px 0px;
        margin-right: 0px;
    }
    .moojla-progress {
        width: 100%;
        max-width: 260px;
        height: 9px;
        background: #e1e4e8;
        border-radius: 3px;
        overflow: hidden;
    }

    .moojla-progress-bar {
        display: block;
        height: 100%;
        background: linear-gradient(90deg, #ffd33d, #ea4aaa 17%, #b34bff
34%, #01feff 51%, #ffd33d 68%, #ea4aaa 85%, #b34bff);
        background-size: 300% 100%;
        animation: progress-animation 20s linear infinite;
    }

    @keyframes progress-animation {
    0%
    {
        background-position: 0%;
    }
    100%
    {
        background-position: 100%;
    }
    }
</style>PKn��[�ׇ��
tmpl/step.phpnu�[���<?php
	$document = JFactory::getDocument();
	$document->addStyleSheet('/plugins/content/course_progress/tmpl/assets/step.css');
?>

<div class="moojla-progress-wrapper">
    <h5 class="title">
        <!-- <i class="fas fa-spinner"></i>
-->
        <span>درصد پیشرفت درس</span>
     
    </h5>
    <div class="moojla-progress">
        <span class="moojla-progress-bar" style="width:
<?=
floor($percentages['percentage']);?>%"></span>
    </div>
    <span class="progress-number"><?=
floor($percentages['percentage']);?>%</span>
</div>
<style>
    .moojla-progress-wrapper .title{
        margin-bottom: 15px;
        margin-right:10px;
        display: flex;
    }

    .moojla-progress-wrapper .progress-number{
        color: #069c35;
        text-align: center;
        display: block;
        padding-top: 10px;
        font-size: 20px;
        font-family: cursive;
    }

    .moojla-progress-wrapper .title i{
        font-size: 1.7rem;
        padding-left: 15px;
        color: #a5afbb;
    }
    .moojla-progress-wrapper .title span{
        align-self: center;
    }
    .moojla-progress-wrapper
    {
        background: white;
        border: 1px solid #ebeef1;
        border-radius: 5px;
        box-shadow: 0px 0px 13px 1px rgb(70 72 77 / 8%);
        font-weight: 100;
        font-size: 0.9rem;
        padding: 8px;
        margin: 20px 0px;
        margin-right: 0px;
    }
    .moojla-progress {
        width: 95%;
        max-width: 100%;
        height: 11px;
        background: #dce5e8;
        border-radius: 25px;
        overflow: hidden;
        border: 1px solid #ebebeb;
    }

    .moojla-progress-bar {
        display: block;
        height: 100%;
        background: linear-gradient( 
    -45deg,#4cca73 19%,#1fbd50 25%,#1fbd50 50%,#4cca73 50%,#4cca73
75%,#1fbd50 75%,#1fbd50);
        background-size: 1rem 1rem;
        animation: progress-animation 10s linear infinite;
        border-radius: 25px;
    }

    @keyframes progress-animation {
    0%
    {
        background-position: 105%;
    }
    100%
    {
        background-position: 0%;
    }
    }
</style>PKn��[
��2;;tmpl/assets/step.cssnu�[���PKn��[�"�&��tmpl/default.phpnu�[���PKn��[�ׇ��
\tmpl/step.phpnu�[���PK�0