moved dialog css to sharing, fixed position
This commit is contained in:
parent
d71cca0e81
commit
d0b2a3b1ac
4 changed files with 6 additions and 6 deletions
|
@ -5,6 +5,7 @@ require_once('apps/files_sharing/sharedstorage.php');
|
||||||
|
|
||||||
OC_Filesystem::registerStorageType("shared", "OC_Filestorage_Shared", array("datadir"=>"string"));
|
OC_Filesystem::registerStorageType("shared", "OC_Filestorage_Shared", array("datadir"=>"string"));
|
||||||
OC_Util::addScript("files_sharing", "share");
|
OC_Util::addScript("files_sharing", "share");
|
||||||
|
OC_Util::addStyle( 'files_sharing', 'sharing' );
|
||||||
OC_App::addNavigationSubEntry("files_index", array(
|
OC_App::addNavigationSubEntry("files_index", array(
|
||||||
"id" => "files_sharing_list",
|
"id" => "files_sharing_list",
|
||||||
"order" => 10,
|
"order" => 10,
|
||||||
|
|
4
apps/files_sharing/css/sharing.css
Normal file
4
apps/files_sharing/css/sharing.css
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
#dialog { display:block; position:absolute; z-index:100; width:25em; right:0; margin-right:3em; background:#eee; padding-bottom:1em;
|
||||||
|
-moz-box-shadow:0 1px 1px #777; -webkit-box-shadow:0 1px 1px #777; box-shadow:0 1px 1px #777;
|
||||||
|
-moz-border-radius-bottomleft:1em; -webkit-border-bottom-left-radius:1em; border-bottom-left-radius:1em;
|
||||||
|
-moz-border-radius-bottomright:1em; -webkit-border-bottom-right-radius:1em; border-bottom-right-radius:1em; }
|
|
@ -33,7 +33,7 @@ $(document).ready(function() {
|
||||||
function createShareDialog(filenames, files) {
|
function createShareDialog(filenames, files) {
|
||||||
var html = "<div id='dialog'>";
|
var html = "<div id='dialog'>";
|
||||||
html += "<div id='private'>";
|
html += "<div id='private'>";
|
||||||
html += "<label for='uid_shared_with'>Share with</label><input placeholder='User or Group' id='uid_shared_with' />";
|
html += "<label for='uid_shared_with'><strong>Share with</strong></label><input placeholder='User or Group' id='uid_shared_with' />";
|
||||||
html += "<input type='checkbox' name='permissions' id='permissions' value='1' /><label for='permissions'>allow editing</label><br />";
|
html += "<input type='checkbox' name='permissions' id='permissions' value='1' /><label for='permissions'>allow editing</label><br />";
|
||||||
html += "<br />";
|
html += "<br />";
|
||||||
html += "<div id='shared_list'></div>";
|
html += "<div id='shared_list'></div>";
|
||||||
|
|
|
@ -49,8 +49,3 @@ table td.filename form { float:left; font-size:.85em; }
|
||||||
|
|
||||||
/* add breadcrumb divider to the File item in navigation panel */
|
/* add breadcrumb divider to the File item in navigation panel */
|
||||||
#plugins>ul>li:first-child { background-position:15.7em 0px; background-repeat:no-repeat; background-image:url("/owncloud/core/img/breadcrumb-divider-start.png"); width:15.7em; padding-right:11px; }
|
#plugins>ul>li:first-child { background-position:15.7em 0px; background-repeat:no-repeat; background-image:url("/owncloud/core/img/breadcrumb-divider-start.png"); width:15.7em; padding-right:11px; }
|
||||||
|
|
||||||
#dialog { display:block; position:absolute; z-index:100; width:25em; right:-10em; background:#eee; padding-bottom:1em;
|
|
||||||
-moz-box-shadow:0 1px 2px #777; -webkit-box-shadow:0 1px 2px #777; box-shadow:0 1px 2px #777;
|
|
||||||
-moz-border-radius-bottomleft:1em; -webkit-border-bottom-left-radius:1em; border-bottom-left-radius:1em;
|
|
||||||
-moz-border-radius-bottomright:1em; -webkit-border-bottom-right-radius:1em; border-bottom-right-radius:1em; }
|
|
||||||
|
|
Loading…
Reference in a new issue