drop unneeded code
This commit is contained in:
parent
5b189315b5
commit
d9aa8c9f0e
|
@ -88,20 +88,6 @@ thead {
|
||||||
max-width: 90%;
|
max-width: 90%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-right {
|
|
||||||
transition: opacity 500ms ease 0s;
|
|
||||||
-moz-transition: opacity 500ms ease 0s;
|
|
||||||
-ms-transition: opacity 500ms ease 0s;
|
|
||||||
-o-transition: opacity 500ms ease 0s;
|
|
||||||
-webkit-transition: opacity 500ms ease 0s;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header-right:hover, .header-right.active {
|
|
||||||
opacity: 1;
|
|
||||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
|
|
||||||
filter: alpha(opacity=100);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* within #save */
|
/* within #save */
|
||||||
#remote_address {
|
#remote_address {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -161,7 +161,6 @@ OCA.Sharing.PublicApp = {
|
||||||
|
|
||||||
$('#save > button').click(function () {
|
$('#save > button').click(function () {
|
||||||
$(this).hide();
|
$(this).hide();
|
||||||
$('.header-right').addClass('active');
|
|
||||||
$('.save-form').css('display', 'inline');
|
$('.save-form').css('display', 'inline');
|
||||||
$('#remote_address').focus();
|
$('#remote_address').focus();
|
||||||
});
|
});
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
<div class="header-right">
|
<div class="header-right">
|
||||||
<span id="details">
|
<span id="details">
|
||||||
<span id="save" data-protected="<?php p($_['protected'])?>" data-owner="<?php p($_['displayName'])?>" data-name="<?php p($_['filename'])?>">
|
<span id="save" data-protected="<?php p($_['protected'])?>" data-owner="<?php p($_['displayName'])?>" data-name="<?php p($_['filename'])?>">
|
||||||
<button><?php p($l->t('Save to ownCloud')) ?></button>
|
<button><?php p($l->t('Add to your ownCloud')) ?></button>
|
||||||
<form class="save-form hidden" action="#">
|
<form class="save-form hidden" action="#">
|
||||||
<input type="text" id="remote_address" placeholder="<?php p($l->t('example.com/owncloud')) ?>"/>
|
<input type="text" id="remote_address" placeholder="<?php p($l->t('example.com/owncloud')) ?>"/>
|
||||||
<input type="submit" value="<?php p($l->t('Save')) ?>"/>
|
<input type="submit" value="<?php p($l->t('Save')) ?>"/>
|
||||||
|
|
Loading…
Reference in New Issue