@(username: String, fileparts: Seq[services.generated.tables.records.UploadFilepartRecord])(implicit request: RequestHeader, webJarsUtil: org.webjars.play.WebJarsUtil) @formatSize(sizeKb: Double) = @{ val fmt = new java.text.DecimalFormat("#.#") if (sizeKb < 100) fmt.format(sizeKb) + " KB" else fmt.format(sizeKb / 1000) + " MB" } My Recogito - Upload Files @Html(webJarsUtil.script("dropzone.min.js")) @Html(webJarsUtil.script("1.12.0/jquery.min.js")) @Html(webJarsUtil.script("velocity.min.js")) @Html(webJarsUtil.requireJs(routes.Assets.versioned("javascripts/my/upload/step2.js")))

Drag Files Here

or

Choose a File to Attach Import from IIIF Service

Supported formats: plain text (UTF-8), TEI/XML, image files, CSV (UTF-8)

@for(filepart <- fileparts) {
@if(Option(filepart.getFilesizeKb).isDefined) { @formatSize(filepart.getFilesizeKb) }
@filepart.getTitle
}
NEW: automatic annotation now available for TEI!
(What's this?) Performs Named Entity Recognition (automatic identification of places and persons) on your texts. Currently limited to English only.
@helper.javascriptRouter("jsRoutes")( controllers.my.routes.javascript.UploadController.storeFilepart, controllers.my.routes.javascript.UploadController.deleteFilepart )