Skip to content

Commit

Permalink
Merge pull request #1 from JELLYHDD/hjy
Browse files Browse the repository at this point in the history
v1
  • Loading branch information
yatcc authored Dec 13, 2024
2 parents f5f5eeb + 0e31925 commit bde4767
Show file tree
Hide file tree
Showing 17 changed files with 1,553 additions and 9 deletions.
Binary file added images/Task0.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/arcsys.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/box.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/debug.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/dokcer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/friendly.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/github.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/into.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/intro.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/plug.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/sysu-lang.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/tool.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/vs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/yat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
60 changes: 60 additions & 0 deletions includes/helpers.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
/**********************************************************
ISCA Conference Template
HELPERS.JS
Author: Saugata Ghose (ghose at illinois dot edu)
Maintainer: Mark Jeffrey (mcj at ece dot utoronto dot ca)
Last Updated: October 21, 2021
**********************************************************/

window.addEventListener("load", function(){
window.cookieconsent.initialise(json)
});

function findBootstrapEnvironment() {
var envs = ['xs', 'sm', 'md', 'lg'];

var $el = $('<div>');
$el.appendTo($('body'));

for (var i = envs.length - 1; i >= 0; i--) {
var env = envs[i];

$el.addClass('hidden-'+env);
if ($el.is(':hidden')) {
$el.remove();
return env;
}
}
}

window.onscroll = function() {scrollFunction()};
window.addEventListener('resize', scrollFunction)

function scrollFunction() {
if(findBootstrapEnvironment() != 'xs') {
if (document.body.scrollTop > 200 || document.documentElement.scrollTop > 200) {
document.getElementById("navCont").classList.add('nav-scroll-down');
}
else {
document.getElementById("navCont").classList.remove('nav-scroll-down');
}
}
else {
document.getElementById("navCont").classList.remove('nav-scroll-down');
}
}

function expandSessionsOnDesktop() {
if(findBootstrapEnvironment() != 'xs') {
jQuery('div .panel-paper').collapse('show');
}
}

function collapseSessionsOnMobile() {
if(findBootstrapEnvironment() == 'xs') {
jQuery('div .panel-paper').collapse('hide');
}
}
Loading

0 comments on commit bde4767

Please sign in to comment.