XNAT SimpleUploadPlugin - How to include jQuery plugins

52 views Asked by At

I am making changes to the XNAT SimpleUploadPlugin and wish to include validation using jQuery Validate. I can not find out where to include the cdns:

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.17.0/jquery.validate.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.17.0/additional-methods.min.js"></script>

I placed them in the SimpleUploadPlugin.vm above the bootstrap style sheet cdn:

<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" rel="stylesheet"/>

However, this did not work. I have tried looking for where the jquery.min.js is included so I can place the CDNs there; however, I can not find that. I also checked build.gradle and could not see anything obvious in there.

0

There are 0 answers