This repository has been archived by the owner on Sep 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: refs #0377. Display human readable quotas on the upload views
- Loading branch information
1 parent
67e5aed
commit ec55770
Showing
9 changed files
with
132 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,43 @@ | ||
<?php | ||
echo '<script type="text/javascript" src="' . $this->coreWebroot . '/public/js/upload/upload.javaupload.js"></script>'; | ||
echo '<script type="text/javascript" src="' . $this->coreWebroot . '/public/js/upload/upload.javaupload.js"></script>'; | ||
?> | ||
<b><?php echo $this->t('Step 1: Where do you want to upload your files')?>?</b> | ||
<div> | ||
<br/> | ||
<b><?php echo $this->t('Curent selected location:')?></b> | ||
<span class="destinationUpload"><?php echo $this->defaultUploadLocationText?></span> | ||
<input type="hidden" name="parent" class="destinationId" value="<?php echo $this->defaultUploadLocation?>"/> | ||
<br/> | ||
<input style="margin-left:0px;" class="browseMIDASLink globalButton" type="button" value="Change location" /> | ||
<br/> | ||
<br/> | ||
</div> | ||
<b><?php echo $this->t('Step 2: Select a license')?></b> | ||
<div> | ||
<?php | ||
echo $this->element('license')?> | ||
</div> | ||
<br/> | ||
<b><?php echo $this->t('Step 3: Select files to upload')?></b> | ||
<br/> | ||
<applet name="MidasUploader" code="com.kitware.utils.Main" | ||
archive="<?php echo $this->coreWebroot?>/public/java/uploader/dist/MidasUploader.jar?rev=3&<?php echo time()?>" | ||
width="305" height="200" mayscript=""> | ||
<param name = "type" value = "application/x-java-applet;version=1.5" /> | ||
<param name = "background" value = "ffffff" /> | ||
<param name = "loglevel" value = "WARNING" /> | ||
<param name = "sessionId" value = "<?php echo session_id();?>"/> | ||
<param name = "baseURL" value="<?php echo $this->protocol."://".$this->host . $this->webroot ?>/upload/"/> | ||
<param name = "getUploadFileOffsetBaseURL" value="gethttpuploadoffset/"/> | ||
<param name = "onSuccessfulUploadRedirectEnable" value="true"/> | ||
<param name = "onSuccessRedirectURL" value="review"/> | ||
<param name = "uploadUniqueIdentifierURL" value="gethttpuploaduniqueidentifier/"/> | ||
<param name = "uploadFileBaseURL" value="processjavaupload/?sid="/> | ||
</applet> | ||
|
||
<div> | ||
<br/> | ||
<b><?php echo $this->t('Current selected location:')?></b> | ||
<span class="destinationUpload"><?php echo $this->defaultUploadLocationText?></span> | ||
<br/><br/> | ||
<div class="belowDestinationUpload" style="display: none;"></div> | ||
<input type="hidden" name="parent" class="destinationId" value="<?php echo $this->defaultUploadLocation?>"/> | ||
<br/> | ||
<input style="margin-left:0px;" class="browseMIDASLink globalButton" type="button" value="Change location" /> | ||
<br/><br/> | ||
</div> | ||
<b><?php echo $this->t('Step 2: Select a license')?></b> | ||
<div> | ||
<?php | ||
echo $this->element('license')?> | ||
</div> | ||
<br/> | ||
<b><?php echo $this->t('Step 3: Select files to upload')?></b> | ||
<br/> | ||
<applet name="MidasUploader" code="com.kitware.utils.Main" | ||
archive="<?php echo $this->coreWebroot?>/public/java/uploader/dist/MidasUploader.jar?rev=3&<?php echo time()?>" | ||
width="305" height="200" mayscript=""> | ||
<param name = "type" value = "application/x-java-applet;version=1.5" /> | ||
<param name = "background" value = "ffffff" /> | ||
<param name = "loglevel" value = "WARNING" /> | ||
<param name = "sessionId" value = "<?php echo session_id();?>"/> | ||
<param name = "baseURL" value="<?php echo $this->protocol."://".$this->host . $this->webroot ?>/upload/"/> | ||
<param name = "getUploadFileOffsetBaseURL" value="gethttpuploadoffset/"/> | ||
<param name = "onSuccessfulUploadRedirectEnable" value="true"/> | ||
<param name = "onSuccessRedirectURL" value="review"/> | ||
<param name = "uploadUniqueIdentifierURL" value="gethttpuploaduniqueidentifier/"/> | ||
<param name = "uploadFileBaseURL" value="processjavaupload/?sid="/> | ||
</applet> | ||
<?php | ||
foreach($this->extraHtml as $module => $extra) | ||
{ | ||
echo $extra."\n"; | ||
} | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters