This repository has been archived by the owner on Jan 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
10 lines (10 loc) · 13.4 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
<!DOCTYPE html><html><head><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><meta name="viewport" content="width=device-width, initial-scale=1"><title>NUSMods - Unofficial NUS Module Finder and Timetable Builder</title><link href="css/NUSMods-0.1.0.css" rel="stylesheet"></head><body><div id="overlay"><br><span class="logo">NUS<span class="mods">Mods</span></span> supports Chrome 5+, Firefox 4+, iPad, Opera 11.5+ and Safari 5+.<br>
<!--[if IE]>Sorry IE users, please <a href="http://browsehappy.com/">
upgrade to a different browser</a> or
<a href="http://www.google.com/chromeframe/?redirect=true">
install Google Chrome Frame</a> to experience this site.<br><![endif]-->
Please be patient, it may take awhile to load 1767 modules.</div><script>(function(a,b,c){function g(a,c){var d=b.createElement(a||"div"),e;for(e in c)d[e]=c[e];return d}function h(a){for(var b=1,c=arguments.length;b<c;b++)a.appendChild(arguments[b]);return a}function j(a,b,c,d){var g=["opacity",b,~~(a*100),c,d].join("-"),h=.01+c/d*100,j=Math.max(1-(1-a)/b*(100-h),a),k=f.substring(0,f.indexOf("Animation")).toLowerCase(),l=k&&"-"+k+"-"||"";return e[g]||(i.insertRule("@"+l+"keyframes "+g+"{"+"0%{opacity:"+j+"}"+h+"%{opacity:"+a+"}"+(h+.01)+"%{opacity:1}"+(h+b)%100+"%{opacity:"+a+"}"+"100%{opacity:"+j+"}"+"}",0),e[g]=1),g}function k(a,b){var e=a.style,f,g;if(e[b]!==c)return b;b=b.charAt(0).toUpperCase()+b.slice(1);for(g=0;g<d.length;g++){f=d[g]+b;if(e[f]!==c)return f}}function l(a,b){for(var c in b)a.style[k(a,c)||c]=b[c];return a}function m(a){for(var b=1;b<arguments.length;b++){var d=arguments[b];for(var e in d)a[e]===c&&(a[e]=d[e])}return a}function n(a){var b={x:a.offsetLeft,y:a.offsetTop};while(a=a.offsetParent)b.x+=a.offsetLeft,b.y+=a.offsetTop;return b}var d=["webkit","Moz","ms","O"],e={},f,i=function(){var a=g("style");return h(b.getElementsByTagName("head")[0],a),a.sheet||a.styleSheet}(),o={lines:12,length:7,width:5,radius:10,rotate:0,color:"#000",speed:1,trail:100,opacity:.25,fps:20,zIndex:2e9,className:"spinner",top:"auto",left:"auto"},p=function q(a){if(!this.spin)return new q(a);this.opts=m(a||{},q.defaults,o)};p.defaults={},m(p.prototype,{spin:function(a){this.stop();var b=this,c=b.opts,d=b.el=l(g(0,{className:c.className}),{position:"relative",zIndex:c.zIndex}),e=c.radius+c.length+c.width,h,i;a&&(a.insertBefore(d,a.firstChild||null),i=n(a),h=n(d),l(d,{left:(c.left=="auto"?i.x-h.x+(a.offsetWidth>>1):c.left+e)+"px",top:(c.top=="auto"?i.y-h.y+(a.offsetHeight>>1):c.top+e)+"px"})),d.setAttribute("aria-role","progressbar"),b.lines(d,b.opts);if(!f){var j=0,k=c.fps,m=k/c.speed,o=(1-c.opacity)/(m*c.trail/100),p=m/c.lines;!function q(){j++;for(var a=c.lines;a;a--){var e=Math.max(1-(j+a*p)%m*o,c.opacity);b.opacity(d,c.lines-a,e,c)}b.timeout=b.el&&setTimeout(q,~~(1e3/k))}()}return b},stop:function(){var a=this.el;return a&&(clearTimeout(this.timeout),a.parentNode&&a.parentNode.removeChild(a),this.el=c),this},lines:function(a,b){function e(a,d){return l(g(),{position:"absolute",width:b.length+b.width+"px",height:b.width+"px",background:a,boxShadow:d,transformOrigin:"left",transform:"rotate("+~~(360/b.lines*c+b.rotate)+"deg) translate("+b.radius+"px"+",0)",borderRadius:(b.width>>1)+"px"})}var c=0,d;for(;c<b.lines;c++)d=l(g(),{position:"absolute",top:1+~(b.width/2)+"px",transform:b.hwaccel?"translate3d(0,0,0)":"",opacity:b.opacity,animation:f&&j(b.opacity,b.trail,c,b.lines)+" "+1/b.speed+"s linear infinite"}),b.shadow&&h(d,l(e("#000","0 0 4px #000"),{top:"2px"})),h(a,h(d,e(b.color,"0 0 1px rgba(0,0,0,.1)")));return a},opacity:function(a,b,c){b<a.childNodes.length&&(a.childNodes[b].style.opacity=c)}}),!function(){function a(a,b){return g("<"+a+' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">',b)}var b=l(g("group"),{behavior:"url(#default#VML)"});!k(b,"transform")&&b.adj?(i.addRule(".spin-vml","behavior:url(#default#VML)"),p.prototype.lines=function(b,c){function f(){return l(a("group",{coordsize:e+" "+e,coordorigin:-d+" "+ -d}),{width:e,height:e})}function k(b,e,g){h(i,h(l(f(),{rotation:360/c.lines*b+"deg",left:~~e}),h(l(a("roundrect",{arcsize:1}),{width:d,height:c.width,left:c.radius,top:-c.width>>1,filter:g}),a("fill",{color:c.color,opacity:c.opacity}),a("stroke",{opacity:0}))))}var d=c.length+c.width,e=2*d,g=-(c.width+c.length)*2+"px",i=l(f(),{position:"absolute",top:g,left:g}),j;if(c.shadow)for(j=1;j<=c.lines;j++)k(j,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)");for(j=1;j<=c.lines;j++)k(j);return h(b,i)},p.prototype.opacity=function(a,b,c,d){var e=a.firstChild;d=d.shadow&&d.lines||0,e&&b+d<e.childNodes.length&&(e=e.childNodes[b+d],e=e&&e.firstChild,e=e&&e.firstChild,e&&(e.opacity=c))}):f=k(b,"animation")}(),a.Spinner=p})(window,document);
var spinner = new Spinner().spin(document.getElementById('overlay'));</script><div data-ex-item-types="Module" data-ex-role="collection"></div><div data-ex-developer-mode="false" data-ex-hover-reveal="false" data-ex-role="exhibit-controlPanel" data-ex-show-bookmark="false"></div><div class="navbar-fixed-top"><ul class="nav nav-tabs"><li class="active"><a data-toggle="tab" href="#module-finder">Module Finder</a></li><li><a data-toggle="tab" href="#timetable-builder">Timetable Builder</a></li></ul><div id="fb"><div id="notice">Please leave any comments/suggestions at our <a href="http://www.facebook.com/NUSMods">Facebook page</a> [=</div><div id="fb-like"><div data-href="http://www.facebook.com/NUSMods" data-layout="button_count" class="fb-like"></div></div></div><a href="/" class="logo">NUS<span class="mods">Mods</span><div class="beta">BETA</div></a></div><div class="container-fluid"><div class="row-fluid"><div class="tab-content"><div id="module-finder" class="tab-pane active"><div id="sidebar" class="span3"><span class="exhibit-facet-header-title">Selected Modules</span><input id="select2" style="width:100%" type="hidden"><div data-ex-expressions=".label, .title, .description" data-ex-facet-class="TextSearch" data-ex-facet-label="Filter by Code / Title / Description" data-ex-role="exhibit-facet"></div><div data-ex-expressions=".prereq" data-ex-facet-class="TextSearch" data-ex-facet-label="Filter by Prerequisite" data-ex-role="exhibit-facet"></div><div data-ex-collapsible="true" data-ex-expression=".department" data-ex-facet-class="Hierarchical" data-ex-facet-label="Faculty / Department" data-ex-height="270" data-ex-role="exhibit-facet" data-ex-uniform-grouping=".faculty"></div><div class="lessons"><div data-ex-collapsible="true" data-ex-expression=".lectures" data-ex-facet-class="Hierarchical" data-ex-facet-label="Lectures" data-ex-height="160" data-ex-others-label="No Lectures" data-ex-role="exhibit-facet" data-ex-uniform-grouping=".day"></div><div data-ex-collapsible="true" data-ex-expression=".tutorials" data-ex-facet-class="Hierarchical" data-ex-facet-label="Tutorials" data-ex-height="160" data-ex-others-label="No Tutorials" data-ex-role="exhibit-facet" data-ex-uniform-grouping=".day"></div></div><div class="notes"><strong>Note:</strong> For the lectures/tutorials filters above,<br><ul><li><strong>Morning:</strong> before 12pm<br></li><li><strong>Afternoon:</strong> between 12pm and 6pm<br></li><li><strong>Evening:</strong> after 6pm<br></li></ul></div></div><div id="content" class="span9"><div data-ex-expression=".types" data-ex-facet-label="Type" data-ex-role="exhibit-facet" data-ex-scroll="false"></div><div data-ex-expression=".mc" data-ex-facet-label="MC" data-ex-role="exhibit-facet" data-ex-scroll="false"></div><div data-ex-expression=".level" data-ex-facet-label="Level" data-ex-role="exhibit-facet" data-ex-scroll="false"></div><div data-ex-role="exhibit-viewPanel"><div data-ex-border="0" data-ex-column-labels="Code, Details, MC, Exam, Department" data-ex-columns=".label, .title, .mc, .exam, .department" data-ex-label="Table" data-ex-page-size="20" data-ex-paginate="true" data-ex-role="exhibit-view" data-ex-show-toolbox="false" data-ex-table-styler="tableStyler" data-ex-view-class="Exhibit.TabularView"><table data-ex-role="lens" style="display:none"><tr><td data-ex-content=".label" class="code"></td><td class="details"><div><strong data-ex-content=".title"></strong><a data-ex-data-code-content=".label" href="" class="add btn btn-mini"><i class="icon-plus-sign"></i> Add</a></div><div data-ex-content=".description"></div><div data-ex-if-exists=".prereq"><strong>Prerequisites: </strong><span data-ex-content=".prereq"></span></div><div data-ex-if-exists=".preclusion"><strong>Preclusions: </strong><span data-ex-content=".preclusion"></span></div><div data-ex-if-exists=".workload"><strong>Workload: </strong><span data-ex-content=".workload"></span></div></td><td data-ex-content=".mc" class="mc"></td><td data-ex-content=".exam" class="exam"></td><td data-ex-content=".department" class="department"></td></tr></table></div><div data-ex-label="List" data-ex-paginate="true" data-ex-role="exhibit-view" data-ex-show-toolbox="false"><div data-ex-role="lens" style="display:none"><dl class="dl-horizontal"><dt>Code</dt><dd data-ex-content=".label"></dd><dt>Title</dt><dd data-ex-content=".title"></dd><div data-ex-if-exists=".description"><dt>Description</dt><dd data-ex-content=".description"></dd></div><div data-ex-if-exists=".exam"><dt>Exam</dt><dd data-ex-content=".exam"></dd></div><dt>Modular Credits</dt><dd data-ex-content=".mc"></dd><div data-ex-if-exists=".prereq"><dt>Prerequisites</dt><dd data-ex-content=".prereq"></dd></div><div data-ex-if-exists=".preclusion"><dt>Preclusions</dt><dd data-ex-content=".preclusion"></dd></div><div data-ex-if-exists=".workload"><dt>Workload</dt><dd data-ex-content=".workload"></dd></div><dt>Department</dt><dd data-ex-content=".department"></dd></dl></div></div><div data-ex-column-count="2" data-ex-label="Overview" data-ex-page-size="100" data-ex-paginate="true" data-ex-role="exhibit-view" data-ex-show-toolbox="false" data-ex-view-class="Exhibit.ThumbnailView"><div data-ex-role="lens" style="display:none"><blockquote><p data-ex-content=".title"></p><small data-ex-content="concat(.label, ' | ', .mc, ' MCs')"></small></blockquote></div></div></div></div><a id="toggle" href="#"><i class="icon-chevron-left"></i></a></div><div id="timetable-builder" class="tab-pane"><div id="clash" class="alert alert-error"><strong>Warning:</strong> There are
<strong class="loud">clashes</strong> in your
<a href="#exam-timetable">exam timetable</a>.</div><div id="timetable"><table id="times"><tr><td>0800</td><td>0900</td><td>1000</td><td>1100</td><td>1200</td><td>1300</td><td>1400</td><td>1500</td><td>1600</td><td>1700</td><td>1800</td><td>1900</td><td>2000</td><td>2100</td><td>2200</td><td>2300</td><td>0000</td></tr></table><table id="days"><colgroup span="2"></colgroup><colgroup span="2"></colgroup><colgroup span="2"></colgroup><colgroup span="2"></colgroup><colgroup span="2"></colgroup><colgroup span="2"></colgroup><colgroup span="2"></colgroup><colgroup span="2"></colgroup><colgroup span="2"></colgroup><colgroup span="2"></colgroup><colgroup span="2"></colgroup><colgroup span="2"></colgroup><colgroup span="2"></colgroup><colgroup span="2"></colgroup><colgroup span="2"></colgroup><colgroup span="2"></colgroup><tbody id="0" class="day mon"></tbody><tr class="spacer mon"><td>Monday</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tbody id="1" class="day"></tbody><tr class="spacer"><td>Tuesday</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tbody id="2" class="day"></tbody><tr class="spacer"><td>Wednesday</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tbody id="3" class="day"></tbody><tr class="spacer"><td>Thursday</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tbody id="4" class="day"></tbody><tr class="spacer"><td>Friday</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tbody id="5" class="day sat"></tbody><tr class="spacer sat"><td>Saturday</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr></table></div><h2 id="exam-timetable">Exam Timetable</h2><table id="exams" class="table table-bordered table-condensed"><thead><tr><th>Module Code</th><th>Title</th><th>Exam Time</th></tr></thead><tbody></tbody></table></div></div></div></div><script src="js/NUSCORS-0.1.0.min.js"></script><script src="js/NUSMods-0.1.0.min.js"></script>
</body></html>