黄色视频

    1. <form id=QUkGStDXb><nobr id=QUkGStDXb></nobr></form>
      <address id=QUkGStDXb><nobr id=QUkGStDXb><nobr id=QUkGStDXb></nobr></nobr></address>

      Show Navigation

      grails3-uploadr

      Plugin to upload multiple files from a web page. Uses HTML5 and CSS3

      Owner: pankajtandon | 3.1.0 | Jun 11, 2016 | Package | Issues | Source | License: Apache-2.0

      1
      
      dependencies {
          compile 'com.nayidisha.grails.uploadr:grails3-uploadr:3.1.0'
      }
      
                  

      HTML5 and CSS3 based File Uploader

      About

      Grails 3 is based on Spring-Boot and plugins written pre-Grails 3 have to be "re-structured" or re-configured for Grails 3.

      This is an upgrade to grails 3.x of the excellent plugin written by Dustin Clark here

      Usage

      In the project that you would like to use the uploadr plugin, include the following in its build.gradle.

      buildscript {
      ...
          dependencies {
              classpath 'com.bertramlabs.plugins:asset-pipeline-gradle:2.5.0'
              ...
          }
      }
      

      and

      dependencies {
       ...
          compile "com.nayidisha.grails.uploadr:grails3-uploadr:3.0"
      ...
      }
      

      Then in a gsp where the uploadr needs to be installed:

      <!DOCTYPE HTML>
      <html>
      <head>
          ...
          <asset:javascript src="uploadr.manifest.js"/>
          <asset:javascript src="uploadr.demo.manifest.js"/>
          <asset:stylesheet href="uploadr.manifest.css"/>
          <asset:stylesheet href="uploadr.demo.manifest.css"/>
          ...
      </head>
      <body>
          ...
          <uploadr:demo/>
          ...
      </body>
      </html>
      

      Images

      When your gsp is configured with a tag like so:

      <uploadr:add name="aFileToUpload.png" path="/somewhereOnYourFS" maxSize="52428800" />
      

      Here is how a single file upload looks:

      uploadImage

      and after upload...

      uploadImage

      ToDo

      • i18n is still not working correctly, so all messages have been hardcoded in English.
      HoMEmenuCopyrights 2015.All rights reserved.More welcome - Collect from power by english Blok number sss85786789633111 Copyright