Skip to content

Commit

Permalink
Merge pull request #13 from brambeekman/develop
Browse files Browse the repository at this point in the history
Change layout
  • Loading branch information
brambeekman authored Jun 14, 2021
2 parents 41af599 + 83a63e9 commit 932e7ea
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "brambeekman/purge-assets",
"description": "A plugin to purge your unused assets, disabled products, and more. ",
"description": "A plugin to purge your unused assets, disabled products, and more.. ",
"type": "craft-plugin",
"version": "1.1.2",
"version": "1.2.0",
"keywords": [
"craft",
"cms",
Expand Down
4 changes: 4 additions & 0 deletions src/assetbundles/indexcpsection/dist/css/Index.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ button[disabled][type=submit] {
opacity: 0.6;
cursor: default;
}

table.fullwidth th {
width: 50%;
}
14 changes: 7 additions & 7 deletions src/templates/index.twig
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<td>
<div class="field">
<div class="heading">
<label>Hard Delete Assets</label>
<label>{{ 'Hard Delete Assets?'|t }}</label>
</div>
<button type="button" class="lightswitch on" role="checkbox" aria-checked="true">
<div class="lightswitch-container">
Expand All @@ -66,7 +66,7 @@
</td>
<td class="thin">
<input type="hidden" name="action" value="purge-assets/purge/purge-unused-assets">
<button class="btn submit" type="submit">{{ 'Purge Unused Assets'|t }}</button>
<button class="btn submit" type="submit">{{ 'Run Purge'|t }}</button>
</td>
</form>
</tr>
Expand All @@ -82,7 +82,7 @@
<th>
<div class="field">
<div class="heading">
<label>{{ 'Purge Disabled Products' }}</label>
<label>{{ 'Purge Disabled Products'|t }}</label>
</div>
<div class="instructions">
<p>{{ 'Please take note that all products will be hard deleted!'|t }}</p>
Expand All @@ -94,7 +94,7 @@
<td>
<div class="field">
<div class="heading">
<label>{{ 'Hard Delete Assets'|t }}</label>
<label>{{ 'Hard Delete Disabled Products?'|t }}</label>
</div>
<button type="button" class="lightswitch on" role="checkbox" aria-checked="true">
<div class="lightswitch-container">
Expand All @@ -106,7 +106,7 @@
</td>
<td class="thin">
<input type="hidden" name="action" value="purge-assets/purge/purge-disabled-products">
<button class="btn submit" type="submit">{{ 'Purge Disabled Products'|t }}</button>
<button class="btn submit" type="submit">{{ 'Run Purge'|t }}</button>
</td>
</form>
</tr>
Expand All @@ -131,7 +131,7 @@
<td>
<div class="field">
<div class="heading">
<label>{{ 'Hard Delete Assets'|t }}</label>
<label>{{ 'Hard Delete Disabled Products?'|t }}</label>
</div>
<button type="button" class="lightswitch on" role="checkbox" aria-checked="true">
<div class="lightswitch-container">
Expand All @@ -143,7 +143,7 @@
</td>
<td class="thin">
<input type="hidden" name="action" value="purge-assets/purge/purge-disabled-products">
<button disabled class="btn submit" type="submit">{{ 'Purge Disabled Products'|t }}</button>
<button disabled class="btn submit" type="submit">{{ 'Run Purge'|t }}</button>
</td>
</form>
</tr>
Expand Down

0 comments on commit 932e7ea

Please # to comment.