|
@@ -33,9 +33,13 @@
|
|
|
$(document).on('click','input.copy-text',function(){
|
|
|
theButton = $(this);
|
|
|
$('input.copy-text').attr('src','images/clipboard.png');
|
|
|
- $('span.copy-animation').removeClass('copy-animation');
|
|
|
+ $('span.copy-animation,span.copy-animation-ps').removeClass('copy-animation copy-animation-ps');
|
|
|
try {
|
|
|
- $('#'+ theButton.attr('rel')).addClass('copy-animation');
|
|
|
+ if($('#'+ theButton.attr('rel')).parent('div').hasClass('PS')){
|
|
|
+ $('#'+ theButton.attr('rel')).addClass('copy-animation-ps');
|
|
|
+ } else {
|
|
|
+ $('#'+ theButton.attr('rel')).addClass('copy-animation');
|
|
|
+ }
|
|
|
navigator.clipboard.writeText(theButton.data('clipboard-text').replace(/<[^>]*>?/gm, ''));
|
|
|
theButton.attr('src','images/clipboard_active.png');
|
|
|
} catch(err) {
|
|
@@ -57,8 +61,8 @@
|
|
|
});
|
|
|
|
|
|
if(window.self !== window.top){
|
|
|
- window.parent.$('iframe.stepsFrame').height((this['scrollingElement']['scrollHeight']+20) +'px');
|
|
|
- }
|
|
|
+ window.parent.$('iframe.stepsFrame').height((this['scrollingElement']['scrollHeight']+20) +'px');
|
|
|
+ }
|
|
|
});
|
|
|
</script>
|
|
|
<link href="css/steps.css" rel="stylesheet" type="text/css" />
|
|
@@ -114,17 +118,17 @@
|
|
|
sudo nano /etc/apache2/sites-available/nextcloud.conf</div>
|
|
|
</li>
|
|
|
<li>Paste the following configuration into nextcloud.conf
|
|
|
- <p>Alias /nextcloud "/var/www/nextcloud/"</p>
|
|
|
-
|
|
|
- <p><directory html="" nextcloud="" var="" www=""><br />
|
|
|
- Options +FollowSymlinks<br />
|
|
|
- AllowOverride All<br />
|
|
|
- Require all granted<br />
|
|
|
- <ifmodule mod_dav.c=""><br />
|
|
|
- Dav off<br />
|
|
|
- </ifmodule><br />
|
|
|
- SetEnv HOME /var/www/nextcloud<br />
|
|
|
- SetEnv HTTP_HOME /var/www/nextcloud</directory></p>
|
|
|
+ <p><label for="cb_li_592529_12">Alias /nextcloud "/var/www/nextcloud/"<br />
|
|
|
+ <directory /var/www/html/nextcloud/><br />
|
|
|
+ Options +FollowSymlinks<br />
|
|
|
+ AllowOverride All<br />
|
|
|
+ Require all granted<br />
|
|
|
+ <br />
|
|
|
+ Dav off<br />
|
|
|
+ <br />
|
|
|
+ SetEnv HOME /var/www/nextcloud<br />
|
|
|
+ SetEnv HTTP_HOME /var/www/nextcloud<br />
|
|
|
+ </directory></label></p>
|
|
|
</li>
|
|
|
<li>Press CTRL+O, Enter, CTRL+X to write the changes to nextcloud.conf</li>
|
|
|
<li>Continue with the following commands to enable the site and restart Apache:
|