diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-12-24 13:45:52 -0500 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-12-24 13:45:52 -0500 |
commit | 0dbf1d02600ef4075ceffe9c62c1ed32cc24592f (patch) | |
tree | 2db27ca226035add120fec8f2ca529c84001d0f6 /apps/files_external/templates | |
parent | 5fb4ed2d92b28bfcd0647233421a3614b00e6d4c (diff) | |
download | nextcloud-server-0dbf1d02600ef4075ceffe9c62c1ed32cc24592f.tar.gz nextcloud-server-0dbf1d02600ef4075ceffe9c62c1ed32cc24592f.zip |
Show status icons for mount points in external storage UI
Diffstat (limited to 'apps/files_external/templates')
-rw-r--r-- | apps/files_external/templates/settings.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/files_external/templates/settings.php b/apps/files_external/templates/settings.php index dd537d779a6..9702ebfb4c7 100644 --- a/apps/files_external/templates/settings.php +++ b/apps/files_external/templates/settings.php @@ -5,6 +5,7 @@ <table id="externalStorage" data-admin='<?php echo json_encode($_['isAdminPage']); ?>'> <thead> <tr> + <th></th> <th><?php echo $l->t('Mount point'); ?></th> <th><?php echo $l->t('Backend'); ?></th> <th><?php echo $l->t('Configuration'); ?></th> @@ -17,6 +18,11 @@ <?php $_['mounts'] = array_merge($_['mounts'], array('' => array())); ?> <?php foreach ($_['mounts'] as $mountPoint => $mount): ?> <tr <?php echo ($mountPoint != '') ? 'class="'.$mount['class'].'"' : 'id="addMountPoint"'; ?>> + <td class="status"> + <?php if (isset($mount['status'])): ?> + <span class="<?php echo ($mount['status']) ? 'success' : 'error'; ?>"></span> + <?php endif; ?> + </td> <td class="mountPoint"><input type="text" name="mountPoint" value="<?php echo $mountPoint; ?>" placeholder="<?php echo $l->t('Mount point'); ?>" /></td> |