+ $('#webstart-button').click(function(){
+ var platform8 = new dtjava.Platform({javafx: '8+', jvm: '1.8+'});
+ var config = {
+ java8_jnlp: 'http://jfed.iminds.be/releases/5.4-dev/r2314/webstart/experimenter/jfed-experimenter.jnlp',
+ java7_jnlp: 'http://jfed.iminds.be/releases/r2269/webstart/experimenter/jfed-experimenter.jnlp'
+ };
+ var certkey = "{{jfed_identity}}";
+
+ dtjava.launch({url: config.java8_jnlp, params: {'login-certificate-string' : certkey } } , platform8, {});
+ //launchjFed();
+ });
+ {%if 'no_creds' in user_cred or 'creds_expired' in user_cred %}
+ localStorage.clear();
+ $.post("/cache/clear/", function( data ) {
+ });
+ {% endif %}