Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 22 additions & 22 deletions contact/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<script src="../semantic-ui/transition.js"></script>
<script src="../js/homepage.js"></script>
<script src="../header.js"></script>

<style>
.masthead.aligned.segment {
min-height: 500px;
Expand Down Expand Up @@ -104,7 +104,7 @@
<div class="ui text container">
<div class="page-name">Contact Us</div>
<div class="hn2">Have something to say or have some queries?</div>
<div class="hn2">Feel free to drop us a message!</div>
<div class="hn2">Email us at <i>contact@kossiitkgp.org</i></div>
</div>
</div>
<div class="elementor-shape elementor-shape-bottom" data-negative="false">
Expand All @@ -116,11 +116,11 @@
</div>
<!--****** START CODING FROM HERE *****-->

<script type="text/javascript">
<!-- <script type="text/javascript">
function send(form) {
document.getElementById('flag').innerHTML = "";
document.getElementById('captcha-flag').innerHTML = '';

var request = new XMLHttpRequest();
var data = new FormData(form);
var url = "https://test-mail-dpd.herokuapp.com/mail";
Expand All @@ -137,11 +137,11 @@
document.getElementById('button').setAttribute("class","ui huge button");
}
}
};
};
request.open("POST", url , true);
request.send(data);
}

}

function captcha_verify(form){
if(validate() && capcheck()){
Expand All @@ -152,9 +152,9 @@
request.onreadystatechange = function() {
if (request.readyState === 4) {
if (request.status === 200) {
send(form);
send(form);
return true;

}
else{
document.getElementById('flag').innerHTML = "Not Sent! Verify Captcha again";
Expand All @@ -169,10 +169,10 @@
}));
}
// return true;
//
//
}

function capcheck() {
function capcheck() {
var data = grecaptcha.getResponse();
if (data != '') {
return true;
Expand All @@ -191,10 +191,10 @@
//alert("Please enter your name!");
document.getElementById("name-error").setAttribute("class","ui form error");
flag = 1;
}
}
else{
document.getElementById("name-error").removeAttribute("class");

}
if(document.getElementById("email").value == ""){
document.getElementById("email-error").setAttribute("class","ui form error");
Expand All @@ -208,7 +208,7 @@
}
else{
document.getElementById("email-error").setAttribute("class","ui form error");
flag = 1;
flag = 1;
}
}
if(flag == 1){
Expand All @@ -218,12 +218,12 @@
}
}

</script>
</script> -->

<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<!-- <script src="https://www.google.com/recaptcha/api.js" async defer></script> -->

<!--Below is a sample layout. You don't have to compulsorily use it-->
<div class="ui vertical stripe segment">
<!-- <div class="ui vertical stripe segment">
<div class="ui middle aligned stackable grid container">
<div class="row">
<div class="wide column">
Expand All @@ -233,7 +233,7 @@ <h3 class="ui header">Contact Us</h3>
<label>Name</label>
<input type="text" name="name" id="name" placeholder="Your Name">
</div>

<div id="name-error">
<div class="ui error message">
<div class="header">Error!</div>
Expand All @@ -255,7 +255,7 @@ <h3 class="ui header">Contact Us</h3>
<label>Message</label>
<textarea name="msg"></textarea>
</div>
</form>
</form>
</div>
</div>
<div class="row">
Expand All @@ -268,11 +268,11 @@ <h3 class="ui header">Contact Us</h3>
<label id="flag" >
</label>
<label id="captcha-flag"></label>
</div>
</div>

</div>
</div>
</div>
</div> -->



Expand Down
8 changes: 4 additions & 4 deletions events/detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ <h1 class="ui header" style="font-size: 3.5rem">About KWOC</h1>
<p>Kharagpur Winter of Code is a 5-week long online program
for students who are new to open source software development. The program will not only help students to get involved in open source, but will also prep them for many open source summer programs, Google Summer of Code being one of them. KWoC is open to mentors and students across the country.<br><br></p>

<a href="https://kwoc.kossiitkgp.in/#resources">
<a href="https://kwoc.kossiitkgp.org/#resources">
<div class="ui huge primary button" style="margin-top:40px;">Checkout the Resources
<i class="right arrow icon"></i></div>
</div>
Expand Down Expand Up @@ -106,7 +106,7 @@ <h1 class="ui header" style="font-size: 3.5rem">About KWOC</h1>
</div>
</div> -->


<div class="container">
<div style="float: left" >
<div class="sp-name">
Expand Down Expand Up @@ -134,7 +134,7 @@ <h2>Sayan Sinha</h2>
</div>
<div class="sp-blog">
<br>
<a href="https://blog.kossiitkgp.in/kharagpur-winter-of-code-c4eeb4af71f1">https://blog.kossiitkgp.in/kharagpur-winter-of-code-c4eeb4af71f1</a>
<a href="https://medium.com/kharagpur-open-source-society/kharagpur-winter-of-code-c4eeb4af71f1">https://medium.com/kharagpur-open-source-society/kharagpur-winter-of-code-c4eeb4af71f1</a>
</div>
<div class="sp-name">
<br>
Expand All @@ -143,7 +143,7 @@ <h2>Himanshu Mishra</h2>
</div>
<div class="sp-blog">
<br>
<a href="https://blog.kossiitkgp.in/kharagpur-winter-of-code-statistics-4403b18e171d">https://blog.kossiitkgp.in/kharagpur-winter-of-code-statistics-4403b18e171d</a>
<a href="https://medium.com/kharagpur-open-source-society/kharagpur-winter-of-code-statistics-4403b18e171d">https://medium.com/kharagpur-open-source-society/kharagpur-winter-of-code-statistics-4403b18e171d</a>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ document.write('\
<h4 class="ui inverted header">Contact Us</h4>\
<div class="ui inverted link list">\
<a href="https://www.facebook.com/kossiitkgp/" class="item">Facebook</a>\
<a href="mailto:contact@kossiitkgp.in" class="item">contact@kossiitkgp.in</a>\
<a href="mailto:contact@kossiitkgp.org" class="item">contact@kossiitkgp.org</a>\
</div>\
</div>\
<div class="six wide column">\
Expand Down
14 changes: 7 additions & 7 deletions header.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,22 @@ function header(location)
'<a class="item" href="../'.concat(home_loc,'">Home</a><a class="item" href="../',team_loc,'">About Us</a><a class="item" href="../',events_loc,'">Events</a><a class="item" href="../',projects_loc,'">Projects</a><a class="active item" href="../',contact_loc,'">Contact Us</a>');}
else if (location==="home inv right"){
string=
/*'<a class="ui inverted button" href="./'.concat(terminal_loc,'">Terminal</a>&nbsp&nbsp&nbsp*/'<a class="ui inverted button" target="_blank" href="https://blog.kossiitkgp.in">Blog</a>'/*)*/;}
/*'<a class="ui inverted button" href="./'.concat(terminal_loc,'">Terminal</a>&nbsp&nbsp&nbsp*/'<a class="ui inverted button" target="_blank" href="https://blog.kossiitkgp.org">Blog</a>'/*)*/;}
else if (location==="home right"){
string=
/*'<a class="ui button" href="./'.concat(terminal_loc,'">Terminal</a>&nbsp&nbsp&nbsp*/'<a class="ui button" target="_blank" href="https://blog.kossiitkgp.in">Blog</a>'/*)*/;}
/*'<a class="ui button" href="./'.concat(terminal_loc,'">Terminal</a>&nbsp&nbsp&nbsp*/'<a class="ui button" target="_blank" href="https://blog.kossiitkgp.org">Blog</a>'/*)*/;}
else if (location==="inv right"){
string=
/*'<a class="ui inverted button" href="../'.concat(terminal_loc,'">Terminal</a>*/'<a class="ui inverted button" target="_blank" href="https://blog.kossiitkgp.in">Blog</a>'/*)*/;}
/*'<a class="ui inverted button" href="../'.concat(terminal_loc,'">Terminal</a>*/'<a class="ui inverted button" target="_blank" href="https://blog.kossiitkgp.org">Blog</a>'/*)*/;}
else if (location==="right"){
string=
/*'<a class="ui button" href="../'.concat(terminal_loc,'">Terminal</a>&nbsp&nbsp&nbsp*/'<a class="ui button" target="_blank" href="https://blog.kossiitkgp.in">Blog</a>'/*)*/;}
/*'<a class="ui button" href="../'.concat(terminal_loc,'">Terminal</a>&nbsp&nbsp&nbsp*/'<a class="ui button" target="_blank" href="https://blog.kossiitkgp.org">Blog</a>'/*)*/;}
else if (location==="term inv right"){
string=
/*'<a class="ui inverted secondary button" href="./'.concat(terminal_loc,'">Terminal</a>*/'<a class="ui inverted button" target="_blank" href="https://blog.kossiitkgp.in">Blog</a>'/*)*/;}
/*'<a class="ui inverted secondary button" href="./'.concat(terminal_loc,'">Terminal</a>*/'<a class="ui inverted button" target="_blank" href="https://blog.kossiitkgp.org">Blog</a>'/*)*/;}
else if (location==="term right"){
string=
/*'<a class="ui primary button" href="./'.concat(terminal_loc,'">Terminal</a>&nbsp&nbsp&nbsp*/'<a class="ui button" target="_blank" href="https://blog.kossiitkgp.in">Blog</a>'/*)*/;}
/*'<a class="ui primary button" href="./'.concat(terminal_loc,'">Terminal</a>&nbsp&nbsp&nbsp*/'<a class="ui button" target="_blank" href="https://blog.kossiitkgp.org">Blog</a>'/*)*/;}

document.write(string);
}
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ <h4 class="ui inverted header">Main Menu</h4>
<h4 class="ui inverted header">Contact Us</h4>
<div class="ui inverted link list">
<a href="https://www.facebook.com/kossiitkgp/" class="item">Facebook</a>
<a href="mailto:contact@kossiitkgp.in" class="item">contact@kossiitkgp.in</a>
<a href="mailto:contact@kossiitkgp.org" class="item">contact@kossiitkgp.org</a>
</div>
</div>
<div class="six wide column">
Expand Down
2 changes: 1 addition & 1 deletion index.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ Every year KOSS plans to hold events for familiarizing students with UNIX tools,
<h4 class="ui inverted header">Contact Us</h4>
<div class="ui inverted link list">
<a href="https://www.facebook.com/kossiitkgp/" class="item">Facebook</a>
<a href="mailto:contact@kossiitkgp.in" class="item">contact@kossiitkgp.in</a>
<a href="mailto:contact@kossiitkgp.org" class="item">contact@kossiitkgp.org</a>
</div>
</div>
<div class="six wide column">
Expand Down
3 changes: 0 additions & 3 deletions out

This file was deleted.

48 changes: 24 additions & 24 deletions profiles/dibyadas.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@




<!--****** START CODING FROM HERE *****-->
<img src="images/top.jpeg" class="ui centered image">
<div class="ui grid">
Expand All @@ -128,12 +128,12 @@ <h3 class="ui header left aligned" id="name">Dibya Prakash Das</h3>
<div class="centered"> SOFTWARE DEVELOPER </div><br>
<img src="images/lhs.png" class="ui image" /img>
<div>
&nbsp;&nbsp;<i class="mail icon"></i> dibyadas@kossiitkgp.in<br>
&nbsp;&nbsp;<i class="mail icon"></i> dibyadas@kossiitkgp.org<br>

<br></div>
<a href="https://github.com/dibyadas" class="ui small button" aria-label="Follow @dibyadas on GitHub"><i class="github icon" ></i> <span>Follow @dibyadas</span></a>
</div>

<!-- <div class="two wide column"></div> -->
<div class="eight wide column">
<br><br>
Expand All @@ -142,72 +142,72 @@ <h3 class="ui header left aligned" id="name">Dibya Prakash Das</h3>
<img src="images/right.png" class="ui image" /img>
Indian Institute of Technology, Kharagpur</div>
<div class="ui segment"> I am a 2nd year undergraduate student of IIT Kharagpur, enrolled in its Integrated M.Sc ,5 year, Mathematics and Computing course of Department of Mathematics. </div>

<div class="ui segment"> <h2>PROJECTS</h2>
<div class="ui list">


<div class="item">
<i class="angle double right icon"></i>
<div class="content">
<a class="header" href="https://github.com/dibyadas/read-it"><h3>read-it</h3></a>
<a class="header" href="https://github.com/dibyadas/read-it"><h3>read-it</h3></a>
<div class="description">'read' in past tense [Work In Progress] </div>
</div>
</div>

<div class="item">
<i class="angle double right icon"></i>
<div class="content">
<a class="header" href="https://github.com/dibyadas/railway-reservation"><h3>railway-reservation</h3></a>
<a class="header" href="https://github.com/dibyadas/railway-reservation"><h3>railway-reservation</h3></a>
<div class="description">KOSS IITKGP task </div>
</div>
</div>

<div class="item">
<i class="angle double right icon"></i>
<div class="content">
<a class="header" href="https://github.com/kossiitkgp/profile-generator"><h3>profile-generator</h3></a>
<a class="header" href="https://github.com/kossiitkgp/profile-generator"><h3>profile-generator</h3></a>
<div class="description">Flask backend for easy gathering of profile information for website </div>
</div>
</div>

<div class="item">
<i class="angle double right icon"></i>
<div class="content">
<a class="header" href="https://github.com/sendgrid/sendgrid-python"><h3>sendgrid-python</h3></a>
<a class="header" href="https://github.com/sendgrid/sendgrid-python"><h3>sendgrid-python</h3></a>
<div class="description">SendGrids Official Community Led Python API Library </div>
</div>
</div>

<div class="item">
<i class="angle double right icon"></i>
<div class="content">
<a class="header" href="https://github.com/sendgrid/python-http-client"><h3>python-http-client</h3></a>
<a class="header" href="https://github.com/sendgrid/python-http-client"><h3>python-http-client</h3></a>
<div class="description">SendGrid's Python HTTP Client for calling APIs </div>
</div>
</div>

<div class="item">
<i class="angle double right icon"></i>
<div class="content">
<a class="header" href="https://github.com/kossiitkgp/kossiitkgp.github.io"><h3>kossiitkgp.github.io</h3></a>
<a class="header" href="https://github.com/kossiitkgp/kossiitkgp.github.io"><h3>kossiitkgp.github.io</h3></a>
<div class="description">Website of KOSS </div>
</div>
</div>



</div>
</div>

<a class="ui large button" href="http://dibyadas.tk">Blog</a><a class="ui large button" href="https://github.com/dibyadas"><i class="github icon"></i> GitHub</a><br><br>

</div>
<div class="two wide column">
<img src="images/rhs.jpeg" class="ui image" /img>
</div>
</div>
</div>

<!--****** END YOUR CODE HERE *****-->


Expand All @@ -221,4 +221,4 @@ <h3 class="ui header left aligned" id="name">Dibya Prakash Das</h3>

</body>

</html>
</html>
4 changes: 2 additions & 2 deletions push.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

setup_git() {
git config --global user.email "contact@kossiitkgp.in"
git config --global user.email "contact@kossiitkgp.org"
git config --global user.name "KOSS"
}

Expand All @@ -13,7 +13,7 @@ commit_website_files() {

upload_files() {
git remote add origin-here https://${OUATH_KEY}@github.com/kossiitkgp/kossiitkgp.github.io.git
git push --quiet --set-upstream origin-here master
git push --quiet --set-upstream origin-here master
}

setup_git
Expand Down