Skip to content
This repository was archived by the owner on Jul 25, 2023. It is now read-only.

Commit 8f9adc1

Browse files
committed
Add some styles to the table
1 parent acae8da commit 8f9adc1

File tree

2 files changed

+13
-13
lines changed
  • app/design/adminhtml/default/default/template/meanbee/cacheviewer
  • skin/adminhtml/default/default/meanbee/cacheviewer

2 files changed

+13
-13
lines changed

app/design/adminhtml/default/default/template/meanbee/cacheviewer/report.phtml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,20 @@
2323
</table>
2424
</div>
2525

26-
<table class="cacheview-report" id="cacheview-report">
27-
<thead>
28-
<tr>
26+
<div class="grid">
27+
<table class="cacheview-report data" id="cacheview-report">
28+
<thead>
29+
<tr class="headings">
2930
<th>Cache ID</th>
3031
<th>Last Modified</th>
3132
<th>Expires</th>
3233
<th>Lifetime</th>
3334
<th>Size</th>
3435
<th>Tags</th>
36+
<th>Actions</th>
3537
</tr>
36-
</thead>
37-
<tbody>
38+
</thead>
39+
<tbody>
3840
<?php $now = time() ?>
3941
<?php foreach ($this->getCacheItems() as $item): ?>
4042
<?php /** @var Meanbee_CacheViewer_Model_CacheItemInfo $item */ ?>
@@ -54,8 +56,9 @@
5456
<td colspan="7" class="code" style="display: none;">Loading..</td>
5557
</tr>
5658
<?php endforeach ?>
57-
</tbody>
58-
</table>
59+
</tbody>
60+
</table>
61+
</div>
5962

6063
<script type="text/javascript">
6164
function loadCacheData(cache_id, cache_view_id) {

skin/adminhtml/default/default/meanbee/cacheviewer/report.css

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
.cacheview-report td, .cacheview-report th {
2-
padding: 2px;
3-
}
4-
51
.cacheview-report .code {
62
font-family: consolas, "courier new", courier;
73
background: #eee;
@@ -18,11 +14,12 @@
1814
}
1915

2016
.cacheview-report .col-actions, .cacheview-report .col-modified, .cacheview-report .col-expires {
21-
min-width: 200px;
17+
padding: 0 2px;
18+
white-space: nowrap;
2219
}
2320

2421
.cacheview-report .col-actions {
25-
text-align: right;
22+
text-align: center;
2623
}
2724

2825
.cacheview-report tr:hover {

0 commit comments

Comments
 (0)