Skip to content

Commit 11b733c

Browse files
authored
Merge pull request #176 from kossiitkgp/update-email
Update email on the website
2 parents d290630 + ee6d4ec commit 11b733c

File tree

9 files changed

+62
-65
lines changed

9 files changed

+62
-65
lines changed

contact/index.html

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<script src="../semantic-ui/transition.js"></script>
2323
<script src="../js/homepage.js"></script>
2424
<script src="../header.js"></script>
25-
25+
2626
<style>
2727
.masthead.aligned.segment {
2828
min-height: 500px;
@@ -104,7 +104,7 @@
104104
<div class="ui text container">
105105
<div class="page-name">Contact Us</div>
106106
<div class="hn2">Have something to say or have some queries?</div>
107-
<div class="hn2">Feel free to drop us a message!</div>
107+
<div class="hn2">Email us at <i>contact@kossiitkgp.org</i></div>
108108
</div>
109109
</div>
110110
<div class="elementor-shape elementor-shape-bottom" data-negative="false">
@@ -116,11 +116,11 @@
116116
</div>
117117
<!--****** START CODING FROM HERE *****-->
118118

119-
<script type="text/javascript">
119+
<!-- <script type="text/javascript">
120120
function send(form) {
121121
document.getElementById('flag').innerHTML = "";
122122
document.getElementById('captcha-flag').innerHTML = '';
123-
123+
124124
var request = new XMLHttpRequest();
125125
var data = new FormData(form);
126126
var url = "https://test-mail-dpd.herokuapp.com/mail";
@@ -137,11 +137,11 @@
137137
document.getElementById('button').setAttribute("class","ui huge button");
138138
}
139139
}
140-
};
140+
};
141141
request.open("POST", url , true);
142142
request.send(data);
143-
144-
}
143+
144+
}
145145
146146
function captcha_verify(form){
147147
if(validate() && capcheck()){
@@ -152,9 +152,9 @@
152152
request.onreadystatechange = function() {
153153
if (request.readyState === 4) {
154154
if (request.status === 200) {
155-
send(form);
155+
send(form);
156156
return true;
157-
157+
158158
}
159159
else{
160160
document.getElementById('flag').innerHTML = "Not Sent! Verify Captcha again";
@@ -169,10 +169,10 @@
169169
}));
170170
}
171171
// return true;
172-
//
172+
//
173173
}
174174
175-
function capcheck() {
175+
function capcheck() {
176176
var data = grecaptcha.getResponse();
177177
if (data != '') {
178178
return true;
@@ -191,10 +191,10 @@
191191
//alert("Please enter your name!");
192192
document.getElementById("name-error").setAttribute("class","ui form error");
193193
flag = 1;
194-
}
194+
}
195195
else{
196196
document.getElementById("name-error").removeAttribute("class");
197-
197+
198198
}
199199
if(document.getElementById("email").value == ""){
200200
document.getElementById("email-error").setAttribute("class","ui form error");
@@ -208,7 +208,7 @@
208208
}
209209
else{
210210
document.getElementById("email-error").setAttribute("class","ui form error");
211-
flag = 1;
211+
flag = 1;
212212
}
213213
}
214214
if(flag == 1){
@@ -218,12 +218,12 @@
218218
}
219219
}
220220
221-
</script>
221+
</script> -->
222222

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

225225
<!--Below is a sample layout. You don't have to compulsorily use it-->
226-
<div class="ui vertical stripe segment">
226+
<!-- <div class="ui vertical stripe segment">
227227
<div class="ui middle aligned stackable grid container">
228228
<div class="row">
229229
<div class="wide column">
@@ -233,7 +233,7 @@ <h3 class="ui header">Contact Us</h3>
233233
<label>Name</label>
234234
<input type="text" name="name" id="name" placeholder="Your Name">
235235
</div>
236-
236+
237237
<div id="name-error">
238238
<div class="ui error message">
239239
<div class="header">Error!</div>
@@ -255,7 +255,7 @@ <h3 class="ui header">Contact Us</h3>
255255
<label>Message</label>
256256
<textarea name="msg"></textarea>
257257
</div>
258-
</form>
258+
</form>
259259
</div>
260260
</div>
261261
<div class="row">
@@ -268,11 +268,11 @@ <h3 class="ui header">Contact Us</h3>
268268
<label id="flag" >
269269
</label>
270270
<label id="captcha-flag"></label>
271-
</div>
272-
271+
</div>
272+
273273
</div>
274274
</div>
275-
</div>
275+
</div> -->
276276

277277

278278

events/detail.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ <h1 class="ui header" style="font-size: 3.5rem">About KWOC</h1>
5959
<p>Kharagpur Winter of Code is a 5-week long online program
6060
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>
6161

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

109-
109+
110110
<div class="container">
111111
<div style="float: left" >
112112
<div class="sp-name">
@@ -134,7 +134,7 @@ <h2>Sayan Sinha</h2>
134134
</div>
135135
<div class="sp-blog">
136136
<br>
137-
<a href="https://blog.kossiitkgp.in/kharagpur-winter-of-code-c4eeb4af71f1">https://blog.kossiitkgp.in/kharagpur-winter-of-code-c4eeb4af71f1</a>
137+
<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>
138138
</div>
139139
<div class="sp-name">
140140
<br>
@@ -143,7 +143,7 @@ <h2>Himanshu Mishra</h2>
143143
</div>
144144
<div class="sp-blog">
145145
<br>
146-
<a href="https://blog.kossiitkgp.in/kharagpur-winter-of-code-statistics-4403b18e171d">https://blog.kossiitkgp.in/kharagpur-winter-of-code-statistics-4403b18e171d</a>
146+
<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>
147147
</div>
148148
</div>
149149
</div>

footer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ document.write('\
1515
<h4 class="ui inverted header">Contact Us</h4>\
1616
<div class="ui inverted link list">\
1717
<a href="https://www.facebook.com/kossiitkgp/" class="item">Facebook</a>\
18-
<a href="mailto:contact@kossiitkgp.in" class="item">contact@kossiitkgp.in</a>\
18+
<a href="mailto:contact@kossiitkgp.org" class="item">contact@kossiitkgp.org</a>\
1919
</div>\
2020
</div>\
2121
<div class="six wide column">\

header.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,22 @@ function header(location)
2929
'<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>');}
3030
else if (location==="home inv right"){
3131
string=
32-
/*'<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>'/*)*/;}
32+
/*'<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>'/*)*/;}
3333
else if (location==="home right"){
3434
string=
35-
/*'<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>'/*)*/;}
35+
/*'<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>'/*)*/;}
3636
else if (location==="inv right"){
3737
string=
38-
/*'<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>'/*)*/;}
38+
/*'<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>'/*)*/;}
3939
else if (location==="right"){
4040
string=
41-
/*'<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>'/*)*/;}
41+
/*'<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>'/*)*/;}
4242
else if (location==="term inv right"){
4343
string=
44-
/*'<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>'/*)*/;}
44+
/*'<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>'/*)*/;}
4545
else if (location==="term right"){
4646
string=
47-
/*'<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>'/*)*/;}
48-
47+
/*'<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>'/*)*/;}
48+
4949
document.write(string);
5050
}

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ <h4 class="ui inverted header">Main Menu</h4>
200200
<h4 class="ui inverted header">Contact Us</h4>
201201
<div class="ui inverted link list">
202202
<a href="https://www.facebook.com/kossiitkgp/" class="item">Facebook</a>
203-
<a href="mailto:contact@kossiitkgp.in" class="item">contact@kossiitkgp.in</a>
203+
<a href="mailto:contact@kossiitkgp.org" class="item">contact@kossiitkgp.org</a>
204204
</div>
205205
</div>
206206
<div class="six wide column">

index.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ Every year KOSS plans to hold events for familiarizing students with UNIX tools,
200200
<h4 class="ui inverted header">Contact Us</h4>
201201
<div class="ui inverted link list">
202202
<a href="https://www.facebook.com/kossiitkgp/" class="item">Facebook</a>
203-
<a href="mailto:contact@kossiitkgp.in" class="item">contact@kossiitkgp.in</a>
203+
<a href="mailto:contact@kossiitkgp.org" class="item">contact@kossiitkgp.org</a>
204204
</div>
205205
</div>
206206
<div class="six wide column">

out

Lines changed: 0 additions & 3 deletions
This file was deleted.

profiles/dibyadas.html

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115

116116

117117

118-
118+
119119
<!--****** START CODING FROM HERE *****-->
120120
<img src="images/top.jpeg" class="ui centered image">
121121
<div class="ui grid">
@@ -128,12 +128,12 @@ <h3 class="ui header left aligned" id="name">Dibya Prakash Das</h3>
128128
<div class="centered"> SOFTWARE DEVELOPER </div><br>
129129
<img src="images/lhs.png" class="ui image" /img>
130130
<div>
131-
&nbsp;&nbsp;<i class="mail icon"></i> dibyadas@kossiitkgp.in<br>
132-
131+
&nbsp;&nbsp;<i class="mail icon"></i> dibyadas@kossiitkgp.org<br>
132+
133133
<br></div>
134134
<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>
135135
</div>
136-
136+
137137
<!-- <div class="two wide column"></div> -->
138138
<div class="eight wide column">
139139
<br><br>
@@ -142,72 +142,72 @@ <h3 class="ui header left aligned" id="name">Dibya Prakash Das</h3>
142142
<img src="images/right.png" class="ui image" /img>
143143
Indian Institute of Technology, Kharagpur</div>
144144
<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>
145-
145+
146146
<div class="ui segment"> <h2>PROJECTS</h2>
147147
<div class="ui list">
148-
149-
148+
149+
150150
<div class="item">
151151
<i class="angle double right icon"></i>
152152
<div class="content">
153-
<a class="header" href="https://github.com/dibyadas/read-it"><h3>read-it</h3></a>
153+
<a class="header" href="https://github.com/dibyadas/read-it"><h3>read-it</h3></a>
154154
<div class="description">'read' in past tense [Work In Progress] </div>
155155
</div>
156156
</div>
157-
157+
158158
<div class="item">
159159
<i class="angle double right icon"></i>
160160
<div class="content">
161-
<a class="header" href="https://github.com/dibyadas/railway-reservation"><h3>railway-reservation</h3></a>
161+
<a class="header" href="https://github.com/dibyadas/railway-reservation"><h3>railway-reservation</h3></a>
162162
<div class="description">KOSS IITKGP task </div>
163163
</div>
164164
</div>
165-
165+
166166
<div class="item">
167167
<i class="angle double right icon"></i>
168168
<div class="content">
169-
<a class="header" href="https://github.com/kossiitkgp/profile-generator"><h3>profile-generator</h3></a>
169+
<a class="header" href="https://github.com/kossiitkgp/profile-generator"><h3>profile-generator</h3></a>
170170
<div class="description">Flask backend for easy gathering of profile information for website </div>
171171
</div>
172172
</div>
173-
173+
174174
<div class="item">
175175
<i class="angle double right icon"></i>
176176
<div class="content">
177-
<a class="header" href="https://github.com/sendgrid/sendgrid-python"><h3>sendgrid-python</h3></a>
177+
<a class="header" href="https://github.com/sendgrid/sendgrid-python"><h3>sendgrid-python</h3></a>
178178
<div class="description">SendGrids Official Community Led Python API Library </div>
179179
</div>
180180
</div>
181-
181+
182182
<div class="item">
183183
<i class="angle double right icon"></i>
184184
<div class="content">
185-
<a class="header" href="https://github.com/sendgrid/python-http-client"><h3>python-http-client</h3></a>
185+
<a class="header" href="https://github.com/sendgrid/python-http-client"><h3>python-http-client</h3></a>
186186
<div class="description">SendGrid's Python HTTP Client for calling APIs </div>
187187
</div>
188188
</div>
189-
189+
190190
<div class="item">
191191
<i class="angle double right icon"></i>
192192
<div class="content">
193-
<a class="header" href="https://github.com/kossiitkgp/kossiitkgp.github.io"><h3>kossiitkgp.github.io</h3></a>
193+
<a class="header" href="https://github.com/kossiitkgp/kossiitkgp.github.io"><h3>kossiitkgp.github.io</h3></a>
194194
<div class="description">Website of KOSS </div>
195195
</div>
196196
</div>
197-
197+
198198

199199

200200
</div>
201201
</div>
202-
202+
203203
<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>
204-
204+
205205
</div>
206206
<div class="two wide column">
207207
<img src="images/rhs.jpeg" class="ui image" /img>
208208
</div>
209-
</div>
210-
209+
</div>
210+
211211
<!--****** END YOUR CODE HERE *****-->
212212

213213

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

222222
</body>
223223

224-
</html>
224+
</html>

push.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

33
setup_git() {
4-
git config --global user.email "contact@kossiitkgp.in"
4+
git config --global user.email "contact@kossiitkgp.org"
55
git config --global user.name "KOSS"
66
}
77

@@ -13,7 +13,7 @@ commit_website_files() {
1313

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

1919
setup_git

0 commit comments

Comments
 (0)