diff options
author | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-08-08 13:45:43 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-08-08 13:45:43 +0200 |
commit | 4b26740e9f98ab90581f513c62637c71c4bc6509 (patch) | |
tree | 534193c3b09b8d605673da5a5cbbb093aba1cec3 /admin/templates/appsinst.php | |
parent | 544c61f983571c87e0753775b53dcf2866848ed2 (diff) | |
download | nextcloud-server-4b26740e9f98ab90581f513c62637c71c4bc6509.tar.gz nextcloud-server-4b26740e9f98ab90581f513c62637c71c4bc6509.zip |
beautified backend, first iteration
Diffstat (limited to 'admin/templates/appsinst.php')
-rw-r--r-- | admin/templates/appsinst.php | 27 |
1 files changed, 7 insertions, 20 deletions
diff --git a/admin/templates/appsinst.php b/admin/templates/appsinst.php index d205d95cc34..e845cb451fd 100644 --- a/admin/templates/appsinst.php +++ b/admin/templates/appsinst.php @@ -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> |