Skip to content

Commit

Permalink
Cleanup Code
Browse files Browse the repository at this point in the history
  • Loading branch information
aljawaid committed May 6, 2023
1 parent b2b27f3 commit 4e8a033
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 12 deletions.
14 changes: 7 additions & 7 deletions Assets/css/content-cleaner.css
Original file line number Diff line number Diff line change
Expand Up @@ -399,19 +399,19 @@ li.job-result-title i.fa-check::before {
font-size: .9em;
}

td a.list-item-table:hover {
text-decoration: none !important;
border: 1px solid var(--pp-orange-c-cleaner);
color: var(--pp-black) !important;
}

td a.list-item-table {
margin-right: 3px;
text-decoration: none !important;
line-height: 27px;
color: var(--pp-red-alt-2);
}

td a.list-item-table:hover {
text-decoration: none !important;
border: 1px solid var(--pp-orange-c-cleaner);
color: var(--pp-black) !important;
}

.extra-table-item i.fa-table {
line-height: 1.5;
}
Expand Down Expand Up @@ -555,6 +555,6 @@ fieldset.plugin-job-wrapper .form-actions {
right: 13px;
}

li.job-plugin-version {
li.job-plugin-version, li.no-tables {
background: none;
}
16 changes: 11 additions & 5 deletions Template/cleaning-jobs/plugin-clean.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
<legend class="job-title">
<span class="content-cleaner-icon"></span> <?= t('%s Plugin', $plugin_job_name) ?>
<!-- ContentCleaner: DO NOT CHANGE JOB NUMBERS -->
<span class="job-number-wrapper" title="<?= t('Cleaning Job Number') ?>"><span class="job-number">01</span></span>
<span class="job-number-wrapper" title="<?= t('Cleaning Job Number') ?>">
<span class="job-number">01</span>
</span>
</legend>
<p class="job-desc">
<?= t('Remove all traces, content and plugin registration data for %s.', $plugin_job_name) ?>
Expand All @@ -20,7 +22,7 @@
<div class="job-content">
<ul class="job-tables fa-ul">
<li class="job-tables-title">
<i class="fa fa-table fa-li" aria-hidden="true"></i><?= t('Plugin Tables') ?> (2)
<i class="fa fa-table fa-li" aria-hidden="true"></i><?= t('Plugin Tables') ?>
<span class="tooltip content-cleaner-tooltip">
<i class="fa fa-info-circle" aria-hidden="true"></i>
<script type="text/template">
Expand All @@ -33,7 +35,7 @@
</ul>
<ul class="job-table-size fa-ul">
<li class="job-tables-title">
<i class="fa fa-table fa-li" aria-hidden="true"></i><?= t('Core Tables') ?> (3)
<i class="fa fa-table fa-li" aria-hidden="true"></i><?= t('Core Tables') ?>
<span class="tooltip content-cleaner-tooltip">
<i class="fa fa-info-circle" aria-hidden="true"></i>
<script type="text/template">
Expand Down Expand Up @@ -71,8 +73,12 @@
<li class="job-tables-table job-plugin-table job-plugin-version">v<?= $plugin['checked_upto_plugin_version'] ?></li>
</ul>
<ul class="job-result fa-ul">
<li class="job-result-title"><i class="fa fa-check fa-li" aria-hidden="true"></i><?= t('Job Result') ?></li>
<li class="job-result-text"><?= t('%s will not exist on your system in any form.', $plugin_job_name) ?></li>
<li class="job-result-title">
<i class="fa fa-check fa-li" aria-hidden="true"></i><?= t('Job Result') ?>
</li>
<li class="job-result-text">
<?= t('%s will not exist on your system in any form.', $plugin_job_name) ?>
</li>
</ul>
</div>
<div class="form-actions">
Expand Down

0 comments on commit 4e8a033

Please sign in to comment.