From c65a9d92c45d020ffc0c348bcb894816fdbe3db8 Mon Sep 17 00:00:00 2001 From: suryan123 Date: Sat, 17 Sep 2016 16:28:04 +0530 Subject: [PATCH 001/280] [imad-console] Updates ui/index.html --- ui/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/index.html b/ui/index.html index 5a28644db4..f0741a01c6 100644 --- a/ui/index.html +++ b/ui/index.html @@ -9,7 +9,7 @@
- Hi! I am your webapp. + Hi! I am Suryan.
From 124f3605016f56204a289d17bcdc8f085010e008 Mon Sep 17 00:00:00 2001 From: suryan123 Date: Thu, 22 Sep 2016 18:46:49 +0530 Subject: [PATCH 002/280] [imad-console] Updates ui/index.html --- ui/index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/index.html b/ui/index.html index f0741a01c6..dac7c9a46a 100644 --- a/ui/index.html +++ b/ui/index.html @@ -10,6 +10,9 @@
Hi! I am Suryan. + + A new heading by me.... +
From 82628e5c0ae38e6cc7741f78ad90c9a9609e6e3d Mon Sep 17 00:00:00 2001 From: suryan123 Date: Thu, 22 Sep 2016 18:47:33 +0530 Subject: [PATCH 003/280] [imad-console] Updates ui/index.html --- ui/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/index.html b/ui/index.html index dac7c9a46a..26fb9493e0 100644 --- a/ui/index.html +++ b/ui/index.html @@ -10,9 +10,9 @@
Hi! I am Suryan. - +

A new heading by me.... - +

From e5b9e0491e777da78353245c350416abe68507b5 Mon Sep 17 00:00:00 2001 From: suryan123 Date: Thu, 22 Sep 2016 18:49:31 +0530 Subject: [PATCH 004/280] [imad-console] Updates ui/index.html --- ui/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/index.html b/ui/index.html index 26fb9493e0..31cb91a001 100644 --- a/ui/index.html +++ b/ui/index.html @@ -13,6 +13,7 @@

A new heading by me....

+ I made some changes... From bbbc672ddada2ff7a582af93ca9b5a38bee783fa Mon Sep 17 00:00:00 2001 From: suryan123 Date: Thu, 22 Sep 2016 19:09:06 +0530 Subject: [PATCH 005/280] [imad-console] Updates server.js --- server.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/server.js b/server.js index 3d5cece3ab..12ef9ba8e6 100644 --- a/server.js +++ b/server.js @@ -9,6 +9,15 @@ app.get('/', function (req, res) { res.sendFile(path.join(__dirname, 'ui', 'index.html')); }); +app.get('/article-one', function (req, res) { + res.send('article one requested and will be served here'); +} +app.get('/article-two', function (req, res) { + res.send('article two requested and will be served here'); + + app.get('/article-three', function (req, res) { + res.send('article three requested and will be served here'); + app.get('/ui/style.css', function (req, res) { res.sendFile(path.join(__dirname, 'ui', 'style.css')); }); From acec5a4758e195927c36bcfcc5ecd37ce57722ae Mon Sep 17 00:00:00 2001 From: suryan123 Date: Thu, 22 Sep 2016 19:13:15 +0530 Subject: [PATCH 006/280] [imad-console] Updates server.js --- server.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/server.js b/server.js index 12ef9ba8e6..7db72df7bf 100644 --- a/server.js +++ b/server.js @@ -9,14 +9,15 @@ app.get('/', function (req, res) { res.sendFile(path.join(__dirname, 'ui', 'index.html')); }); -app.get('/article-one', function (req, res) { + app.get('/article-one', function (req, res) { res.send('article one requested and will be served here'); } -app.get('/article-two', function (req, res) { - res.send('article two requested and will be served here'); + res.send('article two requested and will be served here') ; + } - app.get('/article-three', function (req, res) { - res.send('article three requested and will be served here'); + app.get('/article-three', function (req, res) '{' + res.send('article three requested and will be served here') ; + app.get('/ui/style.css', function (req, res) { res.sendFile(path.join(__dirname, 'ui', 'style.css')); From a7dc27642bfdb88d78d0d7abdf69c12beb0ab60c Mon Sep 17 00:00:00 2001 From: suryan123 Date: Thu, 22 Sep 2016 19:15:54 +0530 Subject: [PATCH 007/280] [imad-console] Updates server.js --- server.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/server.js b/server.js index 7db72df7bf..5f5fe32494 100644 --- a/server.js +++ b/server.js @@ -11,9 +11,10 @@ app.get('/', function (req, res) { app.get('/article-one', function (req, res) { res.send('article one requested and will be served here'); -} - res.send('article two requested and will be served here') ; - } + + app.get('/article-two', function (req, res) { + res.send('article two requested and will be served here') ; + app.get('/article-three', function (req, res) '{' res.send('article three requested and will be served here') ; From 3d7f544128ca239555c0fea1b20fb66b6d564568 Mon Sep 17 00:00:00 2001 From: suryan123 Date: Thu, 22 Sep 2016 19:18:09 +0530 Subject: [PATCH 008/280] [imad-console] Updates server.js --- server.js | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/server.js b/server.js index 5f5fe32494..cc2a16425a 100644 --- a/server.js +++ b/server.js @@ -9,16 +9,10 @@ app.get('/', function (req, res) { res.sendFile(path.join(__dirname, 'ui', 'index.html')); }); - app.get('/article-one', function (req, res) { - res.send('article one requested and will be served here'); - - app.get('/article-two', function (req, res) { - res.send('article two requested and will be served here') ; - - - app.get('/article-three', function (req, res) '{' - res.send('article three requested and will be served here') ; - + app.get('/article-one', function (req, res) + [] + res.send('article one requested and will be served here'); + } app.get('/ui/style.css', function (req, res) { res.sendFile(path.join(__dirname, 'ui', 'style.css')); @@ -32,4 +26,4 @@ app.get('/ui/madi.png', function (req, res) { var port = 8080; // Use 8080 for local development because you might already have apache running on 80 app.listen(8080, function () { console.log(`IMAD course app listening on port ${port}!`); -}); +}); \ No newline at end of file From d0e9de0642bae4d26b0106b034e7cd2cdd15f836 Mon Sep 17 00:00:00 2001 From: suryan123 Date: Thu, 22 Sep 2016 19:19:28 +0530 Subject: [PATCH 009/280] [imad-console] Updates server.js --- server.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/server.js b/server.js index cc2a16425a..0801ba9f0c 100644 --- a/server.js +++ b/server.js @@ -9,11 +9,6 @@ app.get('/', function (req, res) { res.sendFile(path.join(__dirname, 'ui', 'index.html')); }); - app.get('/article-one', function (req, res) - [] - res.send('article one requested and will be served here'); - } - app.get('/ui/style.css', function (req, res) { res.sendFile(path.join(__dirname, 'ui', 'style.css')); }); From 0f0155083a54a3e0b390afb4c41a6a66086ac2b1 Mon Sep 17 00:00:00 2001 From: suryan123 Date: Mon, 26 Sep 2016 17:45:36 +0530 Subject: [PATCH 010/280] [imad-console] Updates ui/index.html --- ui/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/index.html b/ui/index.html index 31cb91a001..b0015b4283 100644 --- a/ui/index.html +++ b/ui/index.html @@ -14,6 +14,7 @@

A new heading by me....

I made some changes... + thats all.... by me testing..... From 59696a1d8ff601a24faf1a9975eb376e4f84bddf Mon Sep 17 00:00:00 2001 From: suryan123 Date: Mon, 26 Sep 2016 17:47:33 +0530 Subject: [PATCH 011/280] [imad-console] Updates ui/index.html --- ui/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/index.html b/ui/index.html index b0015b4283..4bb3f233d7 100644 --- a/ui/index.html +++ b/ui/index.html @@ -14,7 +14,7 @@

A new heading by me....

I made some changes... - thats all.... by me testing..... + thats all.... by me testing.....hghkuhj From 32f0937f444d2a91afc9327e6ac396c2aebabfff Mon Sep 17 00:00:00 2001 From: suryan123 Date: Mon, 26 Sep 2016 17:51:26 +0530 Subject: [PATCH 012/280] [imad-console] Updates ui/index.html --- ui/index.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ui/index.html b/ui/index.html index 4bb3f233d7..6f18916856 100644 --- a/ui/index.html +++ b/ui/index.html @@ -15,6 +15,10 @@

I made some changes... thats all.... by me testing.....hghkuhj + + + + From 660af82c4c720bfd1b71b88639987f8a498153e4 Mon Sep 17 00:00:00 2001 From: suryan123 Date: Wed, 28 Sep 2016 17:46:26 +0530 Subject: [PATCH 013/280] [imad-console] Updates ui/index.html --- ui/index.html | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/ui/index.html b/ui/index.html index 6f18916856..fa6055df72 100644 --- a/ui/index.html +++ b/ui/index.html @@ -4,23 +4,22 @@ -
- -
-
-
- Hi! I am Suryan. -

- A new heading by me.... -

- I made some changes... - thats all.... by me testing.....hghkuhj - - - - -
- From 371bb7b947d056db6e3371fa3a87c90d8f3ad794 Mon Sep 17 00:00:00 2001 From: suryan123 Date: Wed, 28 Sep 2016 17:48:13 +0530 Subject: [PATCH 014/280] [imad-console] Updates ui/index.html --- ui/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/index.html b/ui/index.html index fa6055df72..95c0a351a2 100644 --- a/ui/index.html +++ b/ui/index.html @@ -15,6 +15,7 @@

Personal


Professional

+ I work at Tuttu Developers
From a84d15715390cfc15c069889f343a4c5b35040b5 Mon Sep 17 00:00:00 2001 From: suryan123 Date: Wed, 28 Sep 2016 17:56:36 +0530 Subject: [PATCH 015/280] [imad-console] Updates server.js --- server.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/server.js b/server.js index 0801ba9f0c..731dfe714b 100644 --- a/server.js +++ b/server.js @@ -5,6 +5,12 @@ var path = require('path'); var app = express(); app.use(morgan('combined')); + var counter = 0; + app.get('/counter', function (req,res){ + counter=counter+1; + res.send(counter.toString()); +}); + app.get('/', function (req, res) { res.sendFile(path.join(__dirname, 'ui', 'index.html')); }); From 117f4f684281365ac82a78eeb88409a3ed04c907 Mon Sep 17 00:00:00 2001 From: suryan123 Date: Wed, 28 Sep 2016 17:57:32 +0530 Subject: [PATCH 016/280] [imad-console] Updates server.js --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 731dfe714b..17308ae9f1 100644 --- a/server.js +++ b/server.js @@ -7,7 +7,7 @@ app.use(morgan('combined')); var counter = 0; app.get('/counter', function (req,res){ - counter=counter+1; + counter=counter+100; res.send(counter.toString()); }); From d6e7efdfaf95c92932a8ecf5c1910832e8522a5e Mon Sep 17 00:00:00 2001 From: suryan123 Date: Wed, 28 Sep 2016 17:58:06 +0530 Subject: [PATCH 017/280] [imad-console] Updates server.js --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 17308ae9f1..731dfe714b 100644 --- a/server.js +++ b/server.js @@ -7,7 +7,7 @@ app.use(morgan('combined')); var counter = 0; app.get('/counter', function (req,res){ - counter=counter+100; + counter=counter+1; res.send(counter.toString()); }); From 13f0b32bc7cb98f570b6a79e15749ea7ea353cec Mon Sep 17 00:00:00 2001 From: suryan123 Date: Wed, 28 Sep 2016 18:02:22 +0530 Subject: [PATCH 018/280] [imad-console] Updates ui/index.html --- ui/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/index.html b/ui/index.html index 95c0a351a2..874b24ef4c 100644 --- a/ui/index.html +++ b/ui/index.html @@ -18,6 +18,7 @@

Professional

I work at Tuttu Developers
From 79c983a3b67fe45f12b19722b270336099c39827 Mon Sep 17 00:00:00 2001 From: suryan123 Date: Wed, 28 Sep 2016 19:06:06 +0530 Subject: [PATCH 027/280] [imad-console] Updates ui/index.html --- ui/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/index.html b/ui/index.html index 53004c2929..060f17b88c 100644 --- a/ui/index.html +++ b/ui/index.html @@ -19,8 +19,10 @@

Professional


- + + From d663f653164f6abaf20a9d98b993756ab53c8b68 Mon Sep 17 00:00:00 2001 From: suryan123 Date: Wed, 28 Sep 2016 19:12:57 +0530 Subject: [PATCH 028/280] [imad-console] Updates ui/index.html --- ui/index.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ui/index.html b/ui/index.html index 060f17b88c..e9c39590ce 100644 --- a/ui/index.html +++ b/ui/index.html @@ -20,6 +20,14 @@

Professional

From de4a5dc9e80d46a93e5504ab45266cdb4f98f2e3 Mon Sep 17 00:00:00 2001 From: suryan123 Date: Thu, 29 Sep 2016 18:28:55 +0530 Subject: [PATCH 030/280] [imad-console] Updates ui/main.js --- ui/main.js | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/ui/main.js b/ui/main.js index ca0606134d..202352d243 100644 --- a/ui/main.js +++ b/ui/main.js @@ -26,4 +26,31 @@ request.send (null); }; + + // Submit name + + var nameInput = document.getElementById('name'); + var name = nameInput.value; + var submit = document.getElementById('sibmit_btn'); + submit.onclick = function () { + + // Make a request to the server and send the name + + // Capture a list of names and render it as a list. + + var names = ['name1','name2','name3','name4']; + var list =''; + for (var i=0; i Date: Fri, 30 Sep 2016 18:22:13 +0530 Subject: [PATCH 031/280] [imad-console] Updates ui/index.html --- ui/index.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ui/index.html b/ui/index.html index 0523aff3a2..6ffbc54005 100644 --- a/ui/index.html +++ b/ui/index.html @@ -19,7 +19,12 @@

Professional