From 76a149a0825cf78afb836f91d3d112500d245f1a Mon Sep 17 00:00:00 2001
From: Mustafa Abualsaud This is the machine learning retrieval interface (CAL).
- The model will select and present the most likely relevant set of documents.
- The model also selects the most-likely relevant paragraph to reduce review time. You can highlight keywords by using the highlighting feature. To judge a document, you can click on any of the judging buttons or use the keyboard shortcuts.
docno:
- Please wait...
-
DocID | -Document Title | -Judgment | -
---|---|---|
{{ row.doc_id }}
- |
- {{ row.doc_title }} | -- {% if row.highlyRelevant %} - Highly relevant - {% elif row.relevant %} - Relevant - {% else %} - Non-relevant - {% endif %} - | -
Docno | +Document Title | +Judgment | +
---|---|---|
{{ row.doc_id }}
+ |
+ {{ row.doc_title|truncatechars:100 }} | ++ {% if row.highlyRelevant %} + Highly relevant + {% elif row.relevant %} + Relevant + {% else %} + Non-relevant + {% endif %} + | +
- Fetching document. Please wait... -
-Fetching document. Please wait... +
+Here you can initiate the topic of your search. You can select one of the pre-defined TREC topics or create your own topic.
-{% endblock %} - - - {% block main %} -Title: {{ user.current_task.topic.title }}
-Seed query: {{ user.current_task.topic.seed_query }}
-Description: {{ user.current_task.topic.description }}
- {% else %} -You currently don't have an active topic session. Please select or create a topic of search.
- {% endif %} -Judgment Category | -Learning model | -Search model | -All | -
---|---|---|---|
Highly relevant | -{{ total_highlyRelevant_CAL }} | -{{ total_highlyRelevant_search }} | -{{ total_highlyRelevant_CAL|add:total_highlyRelevant_search }} | -
Relevant | -{{ total_relevant_CAL }} | -{{ total_relevant_search }} | -{{ total_relevant_CAL|add:total_relevant_search }} | -
Non relevant | -{{ total_nonrelevant_CAL }} | -{{ total_nonrelevant_search }} | -{{ total_nonrelevant_CAL|add:total_nonrelevant_search }} | -
Title: {{ user.current_task.topic.title }}
+Seed query: {{ user.current_task.topic.seed_query }}
+ {% if user.current_task.topic.description %}Description: {{ user.current_task.topic.description }}
{% endif %} + {% else %} +You currently don't have an active topic session. Please create a topic first.
+ {% endif %} +Type | +CAL | +Search | +All | +
---|---|---|---|
Highly relevant | +{{ total_highlyRelevant_CAL }} | +{{ total_highlyRelevant_search }} | +{{ total_highlyRelevant_CAL|add:total_highlyRelevant_search }} | +
Relevant | +{{ total_relevant_CAL }} | +{{ total_relevant_search }} | +{{ total_relevant_CAL|add:total_relevant_search }} | +
Non relevant | +{{ total_nonrelevant_CAL }} | +{{ total_nonrelevant_search }} | +{{ total_nonrelevant_CAL|add:total_nonrelevant_search }} | +
Here you can select one of your previously started sessions.
-{% endblock %} - - - {% block main %} -There are currently no topic sessions..
- {% endif %} - - {% for task in tasks %} - {% if user.current_task == task.task_obj %} -Strategy: {{ task.task_obj.get_strategy_display }}
-Max Judgments (effort): {{ task.task_obj.max_number_of_judgments }}
-Show Full Document: {{ task.task_obj.show_full_document_content }}
-Title: {{ task.task_obj.topic.title }}
-Description: {{ task.task_obj.topic.description }}
-Created at: {{ task.created_at }}
-Total judged: {{ task.total_judged }}
-Highly Rel: {{ task.total_highlyRelevant }}
-Rel: {{ task.total_relevant }}
-NonRel: {{ task.total_nonrelevant }}
-There are currently no topic sessions..
+ {% endif %} + {% for task in tasks %} + {% if user.current_task == task.task_obj %} +Strategy: {{ task.task_obj.get_strategy_display }}
+Max Judgments (effort): {{ task.task_obj.max_number_of_judgments }}
+Show Full Document: {{ task.task_obj.show_full_document_content }}
+ {% if user.current_task == task.task_obj %} + + {% else %} + + {% endif %} + +Title: {{ task.task_obj.topic.title }}
+ {% if task.task_obj.topic.description %}Description: {{ task.task_obj.topic.description }}
{% endif %} +Created at: {{ task.created_at }}
+Total judged: {{ task.total_judged }}
+Highly Rel: {{ task.total_highlyRelevant }}
+Rel: {{ task.total_relevant }}
+NonRel: {{ task.total_nonrelevant }}
+This is the Interactive Search and Judging (ISJ) interface. - You can search for documents by submitting your query in the search box. - You can also select the number of documents to return.
- -Documents can be clicked to view their full content.
- -To judge a document, you can click on any of the judging buttons or use the keyboard shortcuts.
- +{% block navbar-center %} + {% endblock %} - {% block main %} -- Your search - {{ query }} - did not match any documents.
-Suggestions:
-+ Your search - {{ query }} - did not match any documents.
+Suggestions:
+
+
- Qfm76aMhd|Soq^b^Y-d|`ybeHoF!H5 zr)ZWBZ+}BWMMK5m@uGtl0gq;7oMCo02&CuZcDO#f(HG#;9+}rGU#YE@%e^XFYVba& zj?w#ji;>7=x1u^$#izYaUG#<1lXU=!azBVkhuJ&Q&J^sUFCro$G!ch3gXbEHoyW$J z5&8V!H*gSSVz^S};T-(+iBwrF8gla|0F<*iHp?X`(Cccb}TuhtlJ*Y#;pHuSn9j;t0S1mKJW!bXk z@rr>7i GFVD%5;gKF52Y+z2>0HupW)y;a zP!r#m>R5k44u~zVFO6tmIFA}2jU#~$w9|j8u2<(^VOgF{7h!b#HRM(dFBOd$Fv%l@ z>Acz5Z2eXbGFeDN&nZE>FtZ^zyiic%j)P)4wfsX_-&4kr)}930L2RsUodMa*^72Ms z_@UDM*#v7pQ04{eT}MZU-YRnChpl^x4fKqpqPGVpE`J$0mK&D`cXmE-sAqZa+1sse z5i;G>821-qWwcdw8Qhkho!p-9&2Nlk7wr-iQX&f>eN+wHyPKe+6TT&WOjN3eCQ>#w z4)fiaiHCmwA=l(Au;4_G`{Hy_y*3qcm}VvEIKsIVDfCl?#9Tsg|JO##(VX`pauM&q z-4&Dr4kKK6bK5ygrcG~WRq%#wY*5=FRKZB4e=$K4dX>B1Gq2;JCsfH)iA>CDFrVKq z>q%PEoR^Qw@!hkp{OmK?oMbku^+i{=-lVyYivVc+y+n0$sn$>-3WJteNI~ym$!cod zuX!`e(7<46A>(YRcI^W`TbB4qZvVY%d^~D JB!Y2Jx{
uVp)7q=qJDS}?}qs|r0X2*?g`KIBeDr#$ud#%Cq2Km?*2Bn&GBN+6x&-1C1 zE-A@bxye~ht0UC(+@b~f{mrSxBkFF(#z7Be&gV-`Yr){2(z1Ow7lqWwAz~up?|sGV zGQqgHEWqz;1W=TCyB@OoM@CDTZ?c*y8Q*~;AFe*6?QvK`_v00;h{}wLjrHhmbCRQw zFVU&yFzWe{A1unl5?~0L@+WVwT$)?>EFF=a-p*WNEck_53kS#2l7@*#^s&S%bX%nXa literal 0 HcmV?d00001 diff --git a/HiCALWeb/hicalweb/static/js/pace.min.js b/HiCALWeb/hicalweb/static/js/pace.min.js new file mode 100644 index 0000000..c47d6e5 --- /dev/null +++ b/HiCALWeb/hicalweb/static/js/pace.min.js @@ -0,0 +1,2 @@ +/*! pace 1.0.0 */ +(function(){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X=[].slice,Y={}.hasOwnProperty,Z=function(a,b){function c(){this.constructor=a}for(var d in b)Y.call(b,d)&&(a[d]=b[d]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a},$=[].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1};for(u={catchupTime:100,initialRate:.03,minTime:250,ghostTime:100,maxProgressPerFrame:20,easeFactor:1.25,startOnPageLoad:!0,restartOnPushState:!0,restartOnRequestAfter:500,target:"body",elements:{checkInterval:100,selectors:["body"]},eventLag:{minSamples:10,sampleCount:3,lagThreshold:3},ajax:{trackMethods:["GET"],trackWebSockets:!0,ignoreURLs:[]}},C=function(){var a;return null!=(a="undefined"!=typeof performance&&null!==performance&&"function"==typeof performance.now?performance.now():void 0)?a:+new Date},E=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,t=window.cancelAnimationFrame||window.mozCancelAnimationFrame,null==E&&(E=function(a){return setTimeout(a,50)},t=function(a){return clearTimeout(a)}),G=function(a){var b,c;return b=C(),(c=function(){var d;return d=C()-b,d>=33?(b=C(),a(d,function(){return E(c)})):setTimeout(c,33-d)})()},F=function(){var a,b,c;return c=arguments[0],b=arguments[1],a=3<=arguments.length?X.call(arguments,2):[],"function"==typeof c[b]?c[b].apply(c,a):c[b]},v=function(){var a,b,c,d,e,f,g;for(b=arguments[0],d=2<=arguments.length?X.call(arguments,1):[],f=0,g=d.length;g>f;f++)if(c=d[f])for(a in c)Y.call(c,a)&&(e=c[a],null!=b[a]&&"object"==typeof b[a]&&null!=e&&"object"==typeof e?v(b[a],e):b[a]=e);return b},q=function(a){var b,c,d,e,f;for(c=b=0,e=0,f=a.length;f>e;e++)d=a[e],c+=Math.abs(d),b++;return c/b},x=function(a,b){var c,d,e;if(null==a&&(a="options"),null==b&&(b=!0),e=document.querySelector("[data-pace-"+a+"]")){if(c=e.getAttribute("data-pace-"+a),!b)return c;try{return JSON.parse(c)}catch(f){return d=f,"undefined"!=typeof console&&null!==console?console.error("Error parsing inline pace options",d):void 0}}},g=function(){function a(){}return a.prototype.on=function(a,b,c,d){var e;return null==d&&(d=!1),null==this.bindings&&(this.bindings={}),null==(e=this.bindings)[a]&&(e[a]=[]),this.bindings[a].push({handler:b,ctx:c,once:d})},a.prototype.once=function(a,b,c){return this.on(a,b,c,!0)},a.prototype.off=function(a,b){var c,d,e;if(null!=(null!=(d=this.bindings)?d[a]:void 0)){if(null==b)return delete this.bindings[a];for(c=0,e=[];c Q;Q++)K=U[Q],D[K]===!0&&(D[K]=u[K]);i=function(a){function b(){return V=b.__super__.constructor.apply(this,arguments)}return Z(b,a),b}(Error),b=function(){function a(){this.progress=0}return a.prototype.getElement=function(){var a;if(null==this.el){if(a=document.querySelector(D.target),!a)throw new i;this.el=document.createElement("div"),this.el.className="pace pace-active",document.body.className=document.body.className.replace(/pace-done/g,""),document.body.className+=" pace-running",this.el.innerHTML=' \n \n\n',null!=a.firstChild?a.insertBefore(this.el,a.firstChild):a.appendChild(this.el)}return this.el},a.prototype.finish=function(){var a;return a=this.getElement(),a.className=a.className.replace("pace-active",""),a.className+=" pace-inactive",document.body.className=document.body.className.replace("pace-running",""),document.body.className+=" pace-done"},a.prototype.update=function(a){return this.progress=a,this.render()},a.prototype.destroy=function(){try{this.getElement().parentNode.removeChild(this.getElement())}catch(a){i=a}return this.el=void 0},a.prototype.render=function(){var a,b,c,d,e,f,g;if(null==document.querySelector(D.target))return!1;for(a=this.getElement(),d="translate3d("+this.progress+"%, 0, 0)",g=["webkitTransform","msTransform","transform"],e=0,f=g.length;f>e;e++)b=g[e],a.children[0].style[b]=d;return(!this.lastRenderedProgress||this.lastRenderedProgress|0!==this.progress|0)&&(a.children[0].setAttribute("data-progress-text",""+(0|this.progress)+"%"),this.progress>=100?c="99":(c=this.progress<10?"0":"",c+=0|this.progress),a.children[0].setAttribute("data-progress",""+c)),this.lastRenderedProgress=this.progress},a.prototype.done=function(){return this.progress>=100},a}(),h=function(){function a(){this.bindings={}}return a.prototype.trigger=function(a,b){var c,d,e,f,g;if(null!=this.bindings[a]){for(f=this.bindings[a],g=[],d=0,e=f.length;e>d;d++)c=f[d],g.push(c.call(this,b));return g}},a.prototype.on=function(a,b){var c;return null==(c=this.bindings)[a]&&(c[a]=[]),this.bindings[a].push(b)},a}(),P=window.XMLHttpRequest,O=window.XDomainRequest,N=window.WebSocket,w=function(a,b){var c,d,e,f;f=[];for(d in b.prototype)try{e=b.prototype[d],f.push(null==a[d]&&"function"!=typeof e?a[d]=e:void 0)}catch(g){c=g}return f},A=[],j.ignore=function(){var a,b,c;return b=arguments[0],a=2<=arguments.length?X.call(arguments,1):[],A.unshift("ignore"),c=b.apply(null,a),A.shift(),c},j.track=function(){var a,b,c;return b=arguments[0],a=2<=arguments.length?X.call(arguments,1):[],A.unshift("track"),c=b.apply(null,a),A.shift(),c},J=function(a){var b;if(null==a&&(a="GET"),"track"===A[0])return"force";if(!A.length&&D.ajax){if("socket"===a&&D.ajax.trackWebSockets)return!0;if(b=a.toUpperCase(),$.call(D.ajax.trackMethods,b)>=0)return!0}return!1},k=function(a){function b(){var a,c=this;b.__super__.constructor.apply(this,arguments),a=function(a){var b;return b=a.open,a.open=function(d,e){return J(d)&&c.trigger("request",{type:d,url:e,request:a}),b.apply(a,arguments)}},window.XMLHttpRequest=function(b){var c;return c=new P(b),a(c),c};try{w(window.XMLHttpRequest,P)}catch(d){}if(null!=O){window.XDomainRequest=function(){var b;return b=new O,a(b),b};try{w(window.XDomainRequest,O)}catch(d){}}if(null!=N&&D.ajax.trackWebSockets){window.WebSocket=function(a,b){var d;return d=null!=b?new N(a,b):new N(a),J("socket")&&c.trigger("request",{type:"socket",url:a,protocols:b,request:d}),d};try{w(window.WebSocket,N)}catch(d){}}}return Z(b,a),b}(h),R=null,y=function(){return null==R&&(R=new k),R},I=function(a){var b,c,d,e;for(e=D.ajax.ignoreURLs,c=0,d=e.length;d>c;c++)if(b=e[c],"string"==typeof b){if(-1!==a.indexOf(b))return!0}else if(b.test(a))return!0;return!1},y().on("request",function(b){var c,d,e,f,g;return f=b.type,e=b.request,g=b.url,I(g)?void 0:j.running||D.restartOnRequestAfter===!1&&"force"!==J(f)?void 0:(d=arguments,c=D.restartOnRequestAfter||0,"boolean"==typeof c&&(c=0),setTimeout(function(){var b,c,g,h,i,k;if(b="socket"===f?e.readyState<2:0<(h=e.readyState)&&4>h){for(j.restart(),i=j.sources,k=[],c=0,g=i.length;g>c;c++){if(K=i[c],K instanceof a){K.watch.apply(K,d);break}k.push(void 0)}return k}},c))}),a=function(){function a(){var a=this;this.elements=[],y().on("request",function(){return a.watch.apply(a,arguments)})}return a.prototype.watch=function(a){var b,c,d,e;return d=a.type,b=a.request,e=a.url,I(e)?void 0:(c="socket"===d?new n(b):new o(b),this.elements.push(c))},a}(),o=function(){function a(a){var b,c,d,e,f,g,h=this;if(this.progress=0,null!=window.ProgressEvent)for(c=null,a.addEventListener("progress",function(a){return h.progress=a.lengthComputable?100*a.loaded/a.total:h.progress+(100-h.progress)/2},!1),g=["load","abort","timeout","error"],d=0,e=g.length;e>d;d++)b=g[d],a.addEventListener(b,function(){return h.progress=100},!1);else f=a.onreadystatechange,a.onreadystatechange=function(){var b;return 0===(b=a.readyState)||4===b?h.progress=100:3===a.readyState&&(h.progress=50),"function"==typeof f?f.apply(null,arguments):void 0}}return a}(),n=function(){function a(a){var b,c,d,e,f=this;for(this.progress=0,e=["error","open"],c=0,d=e.length;d>c;c++)b=e[c],a.addEventListener(b,function(){return f.progress=100},!1)}return a}(),d=function(){function a(a){var b,c,d,f;for(null==a&&(a={}),this.elements=[],null==a.selectors&&(a.selectors=[]),f=a.selectors,c=0,d=f.length;d>c;c++)b=f[c],this.elements.push(new e(b))}return a}(),e=function(){function a(a){this.selector=a,this.progress=0,this.check()}return a.prototype.check=function(){var a=this;return document.querySelector(this.selector)?this.done():setTimeout(function(){return a.check()},D.elements.checkInterval)},a.prototype.done=function(){return this.progress=100},a}(),c=function(){function a(){var a,b,c=this;this.progress=null!=(b=this.states[document.readyState])?b:100,a=document.onreadystatechange,document.onreadystatechange=function(){return null!=c.states[document.readyState]&&(c.progress=c.states[document.readyState]),"function"==typeof a?a.apply(null,arguments):void 0}}return a.prototype.states={loading:0,interactive:50,complete:100},a}(),f=function(){function a(){var a,b,c,d,e,f=this;this.progress=0,a=0,e=[],d=0,c=C(),b=setInterval(function(){var g;return g=C()-c-50,c=C(),e.push(g),e.length>D.eventLag.sampleCount&&e.shift(),a=q(e),++d>=D.eventLag.minSamples&&a=100&&(this.done=!0),b===this.last?this.sinceLastUpdate+=a:(this.sinceLastUpdate&&(this.rate=(b-this.last)/this.sinceLastUpdate),this.catchup=(b-this.progress)/D.catchupTime,this.sinceLastUpdate=0,this.last=b),b>this.progress&&(this.progress+=this.catchup*a),c=1-Math.pow(this.progress/100,D.easeFactor),this.progress+=c*this.rate*a,this.progress=Math.min(this.lastProgress+D.maxProgressPerFrame,this.progress),this.progress=Math.max(0,this.progress),this.progress=Math.min(100,this.progress),this.lastProgress=this.progress,this.progress},a}(),L=null,H=null,r=null,M=null,p=null,s=null,j.running=!1,z=function(){return D.restartOnPushState?j.restart():void 0},null!=window.history.pushState&&(T=window.history.pushState,window.history.pushState=function(){return z(),T.apply(window.history,arguments)}),null!=window.history.replaceState&&(W=window.history.replaceState,window.history.replaceState=function(){return z(),W.apply(window.history,arguments)}),l={ajax:a,elements:d,document:c,eventLag:f},(B=function(){var a,c,d,e,f,g,h,i;for(j.sources=L=[],g=["ajax","elements","document","eventLag"],c=0,e=g.length;e>c;c++)a=g[c],D[a]!==!1&&L.push(new l[a](D[a]));for(i=null!=(h=D.extraSources)?h:[],d=0,f=i.length;f>d;d++)K=i[d],L.push(new K(D));return j.bar=r=new b,H=[],M=new m})(),j.stop=function(){return j.trigger("stop"),j.running=!1,r.destroy(),s=!0,null!=p&&("function"==typeof t&&t(p),p=null),B()},j.restart=function(){return j.trigger("restart"),j.stop(),j.start()},j.go=function(){var a;return j.running=!0,r.render(),a=C(),s=!1,p=G(function(b,c){var d,e,f,g,h,i,k,l,n,o,p,q,t,u,v,w;for(l=100-r.progress,e=p=0,f=!0,i=q=0,u=L.length;u>q;i=++q)for(K=L[i],o=null!=H[i]?H[i]:H[i]=[],h=null!=(w=K.elements)?w:[K],k=t=0,v=h.length;v>t;k=++t)g=h[k],n=null!=o[k]?o[k]:o[k]=new m(g),f&=n.done,n.done||(e++,p+=n.tick(b));return d=p/e,r.update(M.tick(b,d)),r.done()||f||s?(r.update(100),j.trigger("done"),setTimeout(function(){return r.finish(),j.running=!1,j.trigger("hide")},Math.max(D.ghostTime,Math.max(D.minTime-(C()-a),0)))):c()})},j.start=function(a){v(D,a),j.running=!0;try{r.render()}catch(b){i=b}return document.querySelector(".pace")?(j.trigger("start"),j.go()):setTimeout(j.start,50)},"function"==typeof define&&define.amd?define(function(){return j}):"object"==typeof exports?module.exports=j:D.startOnPageLoad&&j.start()}).call(this); \ No newline at end of file diff --git a/HiCALWeb/hicalweb/static/js/popper.min.js b/HiCALWeb/hicalweb/static/js/popper.min.js new file mode 100644 index 0000000..79ccbf5 --- /dev/null +++ b/HiCALWeb/hicalweb/static/js/popper.min.js @@ -0,0 +1,5 @@ +/* + Copyright (C) Federico Zivolo 2018 + Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT). + */(function(e,t){'object'==typeof exports&&'undefined'!=typeof module?module.exports=t():'function'==typeof define&&define.amd?define(t):e.Popper=t()})(this,function(){'use strict';function e(e){return e&&'[object Function]'==={}.toString.call(e)}function t(e,t){if(1!==e.nodeType)return[];var o=getComputedStyle(e,null);return t?o[t]:o}function o(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function n(e){if(!e)return document.body;switch(e.nodeName){case'HTML':case'BODY':return e.ownerDocument.body;case'#document':return e.body;}var i=t(e),r=i.overflow,p=i.overflowX,s=i.overflowY;return /(auto|scroll|overlay)/.test(r+s+p)?e:n(o(e))}function r(e){return 11===e?re:10===e?pe:re||pe}function p(e){if(!e)return document.documentElement;for(var o=r(10)?document.body:null,n=e.offsetParent;n===o&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&'BODY'!==i&&'HTML'!==i?-1!==['TD','TABLE'].indexOf(n.nodeName)&&'static'===t(n,'position')?p(n):n:e?e.ownerDocument.documentElement:document.documentElement}function s(e){var t=e.nodeName;return'BODY'!==t&&('HTML'===t||p(e.firstElementChild)===e)}function d(e){return null===e.parentNode?e:d(e.parentNode)}function a(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var o=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,n=o?e:t,i=o?t:e,r=document.createRange();r.setStart(n,0),r.setEnd(i,0);var l=r.commonAncestorContainer;if(e!==l&&t!==l||n.contains(i))return s(l)?l:p(l);var f=d(e);return f.host?a(f.host,t):a(e,d(t).host)}function l(e){var t=1 =o.clientWidth&&n>=o.clientHeight}),l=0 a[e]&&!t.escapeWithReference&&(n=J(f[o],a[e]-('right'===e?f.width:f.height))),ae({},o,n)}};return l.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';f=le({},f,m[t](e))}),e.offsets.popper=f,e},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,o=t.popper,n=t.reference,i=e.placement.split('-')[0],r=Z,p=-1!==['top','bottom'].indexOf(i),s=p?'right':'bottom',d=p?'left':'top',a=p?'width':'height';return o[s] r(n[s])&&(e.offsets.popper[d]=r(n[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,o){var n;if(!q(e.instance.modifiers,'arrow','keepTogether'))return e;var i=o.element;if('string'==typeof i){if(i=e.instance.popper.querySelector(i),!i)return e;}else if(!e.instance.popper.contains(i))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),e;var r=e.placement.split('-')[0],p=e.offsets,s=p.popper,d=p.reference,a=-1!==['left','right'].indexOf(r),l=a?'height':'width',f=a?'Top':'Left',m=f.toLowerCase(),h=a?'left':'top',c=a?'bottom':'right',u=S(i)[l];d[c]-u s[c]&&(e.offsets.popper[m]+=d[m]+u-s[c]),e.offsets.popper=g(e.offsets.popper);var b=d[m]+d[l]/2-u/2,y=t(e.instance.popper),w=parseFloat(y['margin'+f],10),E=parseFloat(y['border'+f+'Width'],10),v=b-e.offsets.popper[m]-w-E;return v=$(J(s[l]-u,v),0),e.arrowElement=i,e.offsets.arrow=(n={},ae(n,m,Q(v)),ae(n,h,''),n),e},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(e,t){if(W(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var o=v(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split('-')[0],i=T(n),r=e.placement.split('-')[1]||'',p=[];switch(t.behavior){case he.FLIP:p=[n,i];break;case he.CLOCKWISE:p=z(n);break;case he.COUNTERCLOCKWISE:p=z(n,!0);break;default:p=t.behavior;}return p.forEach(function(s,d){if(n!==s||p.length===d+1)return e;n=e.placement.split('-')[0],i=T(n);var a=e.offsets.popper,l=e.offsets.reference,f=Z,m='left'===n&&f(a.right)>f(l.left)||'right'===n&&f(a.left)f(l.top)||'bottom'===n&&f(a.top) f(o.right),g=f(a.top) f(o.bottom),b='left'===n&&h||'right'===n&&c||'top'===n&&g||'bottom'===n&&u,y=-1!==['top','bottom'].indexOf(n),w=!!t.flipVariations&&(y&&'start'===r&&h||y&&'end'===r&&c||!y&&'start'===r&&g||!y&&'end'===r&&u);(m||b||w)&&(e.flipped=!0,(m||b)&&(n=p[d+1]),w&&(r=G(r)),e.placement=n+(r?'-'+r:''),e.offsets.popper=le({},e.offsets.popper,C(e.instance.popper,e.offsets.reference,e.placement)),e=P(e.instance.modifiers,e,'flip'))}),e},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,o=t.split('-')[0],n=e.offsets,i=n.popper,r=n.reference,p=-1!==['left','right'].indexOf(o),s=-1===['top','left'].indexOf(o);return i[p?'left':'top']=r[o]-(s?i[p?'width':'height']:0),e.placement=T(t),e.offsets.popper=g(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!q(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,o=D(e.instance.modifiers,function(e){return'preventOverflow'===e.name}).boundaries;if(t.bottom o.right||t.top>o.bottom||t.right - {% trans "Click here to practice" %} - -{% endblock %} {% block main %} {% block inner %} -{% block help_modal_text %} -{% endblock %} - - - +-diff --git a/HiCALWeb/hicalweb/templates/base.html b/HiCALWeb/hicalweb/templates/base.html index c3c9ef3..4715224 100644 --- a/HiCALWeb/hicalweb/templates/base.html +++ b/HiCALWeb/hicalweb/templates/base.html @@ -1,275 +1,220 @@ -{% load staticfiles i18n static raven %} +{% load staticfiles i18n static raven has_group crispy_forms_tags %} - - - - - - -- --A System for Efficient High-Recall Retrieval
-++ ++A System for Efficient High-Recall Retrieval
+-+{% trans "Sign In" %}
+{% trans "Sign In" %}
-{% blocktrans %}If you have not created an account yet, then please - sign up first. {% endblocktrans %}
-If you would like to practice using the system, click on the - practice button above.
+{% blocktrans %}If you have not created an account yet, then please + sign up first. {% endblocktrans %}
+If you would like to practice using the system, click on the + practice button above.
- + -HiCAL - {% block pagetitle %}home{% endblock %} - - - - - - - - {% include "raven-config.html" %} - - - - - {% block extra_head %}{% endblock %} - - - - - -