Changes for page Attachments
Last modified by Ludovic Dubost on 2024/07/22 15:50
From version 2.1
edited by Thomas Mortagne
on 2014/09/29 12:35
on 2014/09/29 12:35
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-attachment-ui-6.2]
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. ThomasMortagne1 +xwiki:XWiki.ludovic - Content
-
... ... @@ -152,7 +152,7 @@ 152 152 <form action="$targetAttachDocument.getURL('upload')" enctype="multipart/form-data" method="post" id="uploadAttachment" class="uploadAttachment xform"> 153 153 <div class="gallery_upload_input"> 154 154 #if (${options.rawfilter} != '') 155 - <span class="xHint">$ escapetool.xml($services.localization.render("${translationPrefix}.upload.hint", [${options.rawfilter}]))</span>155 + <span class="xHint">$services.localization.render("${translationPrefix}.upload.hint", [${options.rawfilter}])</span> 156 156 #end 157 157 <input type="file" name="filepath" id="attachfile" class="attachment" size="30" title="$!{escapetool.xml($options.rawfilter)}"/> 158 158 <input type="hidden" name="xredirect" value="$xwiki.getDocument($attachmentPickerDocName).getURL('get', "xaction=postUpload&docAction=$!{escapetool.url($options.get('docAction'))}&targetdocname=$!{escapetool.url($targetAttachDocument.fullName)}&docname=$!{escapetool.url($targetDocument.fullName)}&fieldname=$!{escapetool.url($options.get('classname'))}_$!{escapetool.url($options.get('object'))}_$!{escapetool.url($options.get('property'))}&form_token=$!{services.csrf.getToken()}")" />
- XWiki.StyleSheetExtension[0]
-
- Code
-
... ... @@ -10,6 +10,11 @@ 10 10 #set ($imgSize = $mathtool.sub($boxSize, $mathtool.mul($boxPadding, 2))) 11 11 #set ($actionsHeight = 20) 12 12 #set ($actionsWidth = 16) 13 +#macro (__css3 $rule) 14 + ${rule}; 15 + -moz-${rule}; 16 + -webkit-${rule}; 17 +#end 13 13 /*--------------------------------------------------------*/ 14 14 /* Attachment picker layout fixes */ 15 15 .attachment-picker p { ... ... @@ -27,7 +27,7 @@ 27 27 .gallery_attachmentbox { 28 28 background: $theme.pageContentBackgroundColor; 29 29 border: 1px solid $theme.borderColor; 30 - border-radius: 5px ;35 + #__css3('border-radius: 5px') 31 31 float: left; 32 32 margin: ${boxMargin}px; 33 33 overflow: hidden; ... ... @@ -57,7 +57,7 @@ 57 57 .gallery_attachmenttitle { 58 58 background: $theme.backgroundSecondaryColor; 59 59 border-bottom: 1px dotted $theme.borderColor; 60 - border-radius: 5px 5px 0px 0px ;65 + #__css3('border-radius: 5px 5px 0px 0px') 61 61 font-size: 85%; 62 62 padding: 3px ${boxPadding}px; 63 63 overflow: hidden;