parent
544c61f983
commit
4b26740e9f
@ -1,9 +1,14 @@ |
||||
/* APPS TABLE */ |
||||
table td.date { width:5em; padding:.5em 1em; text-align:right; } |
||||
table td.version, table td.enabled, table td.disabled { padding:.5em 1em; text-align:center; } |
||||
table td.date { width:5em; padding:.5em 1em; text-align:left; } |
||||
table td.version, table td.enabled, table td.disabled { padding:.5em 1em; text-align:left; } |
||||
.preview { padding:3px; text-align:left; } |
||||
table td.date { width:11em; color:#555555; } |
||||
table td.selection, table th.selection, table td.fileaction { width:2em; text-align:center; } |
||||
table td.name a { padding:6px; text-decoration:none; color:#555555; } |
||||
.type { text-decoration:none; color:#888888; font-size:.8em; } |
||||
.description { text-decoration:none; color:#666666; font-size:.9em; } |
||||
table td.date { width:11em; color:#555; } |
||||
table td.selection, table th.selection, table td.fileaction { width:2em; text-align:left; } |
||||
table td.name a { padding:6px; text-decoration:none; color:#555; } |
||||
.type { text-decoration:none; color:#888; font-size:.8em; } |
||||
.description { text-decoration:none; color:#666; font-size:.9em; } |
||||
|
||||
ul#apps { width:40em; list-style:none; } |
||||
ul#apps li { display:block; padding:.2em; clear:right; } |
||||
ul#apps em { color:#555; } |
||||
ul#apps input { float:right; } |
||||
|
@ -1,20 +1,7 @@ |
||||
<table> |
||||
<thead> |
||||
<tr> |
||||
<th><?php echo $l->t( 'Name' ); ?></th>
|
||||
<th><?php echo $l->t( 'Version' ); ?></th>
|
||||
<th><?php echo $l->t( 'Author' ); ?></th>
|
||||
<th><?php echo $l->t( 'Status' ); ?></th>
|
||||
</tr> |
||||
</thead> |
||||
<tbody> |
||||
<?php foreach($_["apps"] as $app): ?> |
||||
<tr x-uid="<?php echo($app['id']); ?>">
|
||||
<td class="name" width="200"><?php echo($app['name']); ?></td>
|
||||
<td class="version"><?php echo($app['version']); ?></td>
|
||||
<td><?php echo($app['author']); ?></td>
|
||||
<td><input x-use="appenablebutton" type="submit" value="<?php echo $l->t( $app['enabled'] ? 'enabled' : 'disabled' ); ?>" class="appbutton <?php echo( $app['enabled'] ? 'enabled' : 'disabled' ); ?>" /></td>
|
||||
</tr> |
||||
<?php endforeach; ?> |
||||
</tbody> |
||||
</table> |
||||
<ul id="apps"> |
||||
<?php foreach($_["apps"] as $app): ?> |
||||
<li x-uid="<?php echo($app['id']); ?>"><strong><?php echo($app['name']); ?></strong> <?php echo($app['version']); ?> <em>by <?php echo($app['author']); ?></em>
|
||||
<input x-use="appenablebutton" type="submit" value="<?php echo $l->t( $app['enabled'] ? 'enabled' : 'disabled' ); ?>" class="appbutton <?php echo( $app['enabled'] ? 'enabled' : 'disabled' ); ?>" />
|
||||
</li> |
||||
<?php endforeach; ?> |
||||
</ul> |
||||
|
Loading…
Reference in new issue