Browse Source

add admin documentation hints to Federated Cloud Sharing and cron

tags/v8.1.0alpha1
Jan-Christoph Borchardt 9 years ago
parent
commit
65dc958418

+ 1
- 0
apps/files_sharing/js/settings-admin.js View File

@@ -8,4 +8,5 @@ $(document).ready(function() {
OC.AppConfig.setValue('files_sharing', $(this).attr('name'), value);
});

$('.section .icon-info').tipsy({gravity: 'w'});
});

+ 3
- 0
apps/files_sharing/templates/settings-admin.php View File

@@ -4,6 +4,9 @@
?>
<div id="fileSharingSettings">
<h3><?php p($l->t('Federated Cloud Sharing'));?></h3>
<a target="_blank" class="icon-info svg"
title="<?php p($l->t('Open documentation'));?>"
href="<?php p(link_to_docs('admin-sharing-federated')); ?>"></a>

<p>
<input type="checkbox" name="outgoing_server2server_share_enabled" id="outgoingServer2serverShareEnabled"

+ 2
- 0
core/js/backgroundjobs.js View File

@@ -22,4 +22,6 @@
// start worker once page has loaded
$(document).ready(function(){
$.get( OC.webroot+'/cron.php' );

$('.section .icon-info').tipsy({gravity: 'w'});
});

+ 8
- 0
settings/css/settings.css View File

@@ -350,6 +350,7 @@ table.grid td.date{
margin: 10px 0;
color: #ce3702;
}

#shareAPI p { padding-bottom: 0.8em; }
#shareAPI input#shareapiExpireAfterNDays {width: 25px;}
#shareAPI .indent {
@@ -358,6 +359,13 @@ table.grid td.date{
#shareAPI .double-indent {
padding-left: 56px;
}
#fileSharingSettings h3 {
display: inline-block;
}

.icon-info {
padding: 11px 20px;
}

.mail_settings p label:first-child {
display: inline-block;

+ 4
- 0
settings/templates/admin.php View File

@@ -269,6 +269,10 @@ if ($_['cronErrors']) {
endif; ?>
</p>
<?php endif; ?>
<a target="_blank" class="icon-info svg"
title="<?php p($l->t('Open documentation'));?>"
href="<?php p(link_to_docs('admin-background-jobs')); ?>"></a>

<p>
<input type="radio" name="mode" value="ajax"
id="backgroundjobs_ajax" <?php if ($_['backgroundjobs_mode'] === "ajax") {

Loading…
Cancel
Save