some work on cloud actionspanel and minor cleanup

This commit is contained in:
marijus 2014-12-29 22:45:07 +01:00
parent d801c361d6
commit f2bfdf0c76
5 changed files with 15 additions and 30 deletions

View File

@ -2,7 +2,10 @@
#files-upload-tools, #files-upload-tools,
[id^="perms-panel-"] { [id^="perms-panel-"] {
display: none; display: none;
padding: 3px 10px 3px 10px !important; }
[id^="perms-panel-"] {
padding: 3px 10px 0px 10px !important;
} }
#attach-code, #attach-code,
@ -33,3 +36,7 @@
.cloud-index-tool { .cloud-index-tool {
padding: 7px 10px; padding: 7px 10px;
} }
#files-upload {
padding: 2px;
}

View File

@ -25,6 +25,5 @@
} }
#photos-upload-choose { #photos-upload-choose {
border: unset; padding: 2px;
padding: unset;
} }

View File

@ -3,16 +3,6 @@ var ispublic = aStr['everybody'];
$(document).ready(function() { $(document).ready(function() {
$("a#photos-upload-perms-menu").colorbox({
'inline' : true,
'transition' : 'elastic'
});
$("a#settings-default-perms-menu").colorbox({
'inline' : true,
'transition' : 'elastic'
});
var a; var a;
a = $("#photo-edit-newtag").autocomplete({ a = $("#photo-edit-newtag").autocomplete({
serviceUrl: baseurl + '/acl', serviceUrl: baseurl + '/acl',

View File

@ -689,18 +689,6 @@ footer {
overflow: hidden; overflow: hidden;
} }
#photos-upload-perms-menu, #photos-upload-perms-menu:visited, #photos-upload-perms-menu:link {
color: #8888FF;
text-decoration: none;
cursor: pointer;
}
#photos-upload-perms-menu:hover {
color: #0000FF;
text-decoration: underline;
cursor: pointer;
}
#photo-view-wrapper { #photo-view-wrapper {
background-color: $item_colour; background-color: $item_colour;
} }

View File

@ -2,16 +2,17 @@
<label for="files-mkdir">{{$folder_header}}</label> <label for="files-mkdir">{{$folder_header}}</label>
<form method="post" action=""> <form method="post" action="">
<input type="hidden" name="sabreAction" value="mkcol"> <input type="hidden" name="sabreAction" value="mkcol">
<input id="files-mkdir" type="text" name="name"> <input id="files-mkdir" type="text" name="name" class="form-control form-group">
<input type="submit" value="{{$folder_submit}}"> <button class="btn btn-primary btn-sm pull-right" type="submit" value="{{$folder_submit}}">{{$folder_submit}}</button>
</form> </form>
<div class="clear"></div>
</div> </div>
<div id="files-upload-tools" class="section-content-tools-wrapper form-group"> <div id="files-upload-tools" class="section-content-tools-wrapper form-group">
<label for="files-upload">{{$upload_header}}</label>
<form method="post" action="" enctype="multipart/form-data"> <form method="post" action="" enctype="multipart/form-data">
<input type="hidden" name="sabreAction" value="put"> <input type="hidden" name="sabreAction" value="put">
<input id="files-upload" type="file" name="file" style="display: inline;"> <input class="pull-left" id="files-upload" type="file" name="file">
<input type="submit" value="{{$upload_submit}}"> <button class="btn btn-primary btn-sm pull-right" type="submit" value="{{$upload_submit}}">{{$upload_submit}}</button>
<!-- Name (optional): <input type="text" name="name"> we should rather provide a rename action in edit form--> <!-- Name (optional): <input type="text" name="name"> we should rather provide a rename action in edit form-->
</form> </form>
<div class="clear"></div>
</div> </div>