Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/serverinfo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrik Kernstock <info@pkern.at>2018-07-19 00:05:36 +0300
committerPatrik Kernstock <info@pkern.at>2018-07-19 00:05:36 +0300
commit8ab6157f9c239f95196a082eab258e0bf99f17f5 (patch)
treed919b5d6f62419a232832bd10ef30f79229266f4 /templates
parent0752b4d29ad86c9a68bb29f00053147bfd27fa0f (diff)
Added clipboard copy button for endpoint link
Signed-off-by: Patrik Kernstock <info@pkern.at>
Diffstat (limited to 'templates')
-rw-r--r--templates/settings-admin.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/settings-admin.php b/templates/settings-admin.php
index ab4359d..d55053a 100644
--- a/templates/settings-admin.php
+++ b/templates/settings-admin.php
@@ -25,6 +25,7 @@ script('serverinfo', 'smoothie');
script('serverinfo', 'Chart.min');
style('serverinfo', 'style');
+
?>
<div class="section" id="cpuSection">
@@ -72,6 +73,7 @@ style('serverinfo', 'style');
<?php p($l->t('You can connect an external monitoring tool by using this end point:')); ?>
</p>
<div>
- <input type="text" readonly="readonly" style="width: 415px;" id="monitoring-endpoint-url" value="<?php echo p($_['ocs']); ?>">
+ <input type="text" readonly="readonly" style="width: 415px;" id="monitoring-endpoint-url" value="<?php echo p($_['ocs']); ?>" />
+ <a class="clipboardButton icon icon-clippy" data-clipboard-target="#monitoring-endpoint-url"></a>
</div>
</div>