这是indexloc提供的服务,不要输入任何密码
Skip to content
Open

p1 #49

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
159 commits
Select commit Hold shift + click to select a range
2f57dec
[imad-console] Updates ui/index.html
krlalliram Sep 16, 2016
7e9e603
[imad-console] Updates ui/index.html
krlalliram Sep 16, 2016
483fb6e
[imad-console] Updates ui/index.html
krlalliram Sep 16, 2016
1ec414e
[imad-console] Updates ui/style.css
krlalliram Sep 16, 2016
6b54dce
[imad-console] Updates ui/style.css
krlalliram Sep 16, 2016
6f53895
[imad-console] Updates ui/index.html
krlalliram Sep 16, 2016
04ab831
[imad-console] Updates ui/index.html
krlalliram Sep 16, 2016
847dd15
[imad-console] Updates ui/index.html
krlalliram Sep 17, 2016
cccab4e
[imad-console] Updates ui/index.html
krlalliram Sep 17, 2016
0e6dfbb
[imad-console] Updates ui/index.html
krlalliram Sep 17, 2016
eca3c85
[imad-console] Updates ui/index.html
krlalliram Sep 18, 2016
a7bc01d
Update and rename index.html to index1.html
krlalliram Sep 18, 2016
247d5a5
Create index1.html
krlalliram Sep 18, 2016
7f75aa9
Add files via upload
krlalliram Sep 18, 2016
ba76936
Create index.html
krlalliram Sep 18, 2016
a067ea3
[imad-console] Updates ui/index.html
krlalliram Sep 18, 2016
37df663
[imad-console] Updates ui/index.html
krlalliram Sep 18, 2016
0e7f054
[imad-console] Updates ui/index.html
krlalliram Sep 18, 2016
ef0e359
[imad-console] Updates ui/index.html
krlalliram Sep 18, 2016
2235ead
[imad-console] Updates ui/style.css
krlalliram Sep 19, 2016
9b19ec5
[imad-console] Updates ui/style.css
krlalliram Sep 19, 2016
0d40a71
[imad-console] Updates index1.html
krlalliram Sep 19, 2016
ade2780
[imad-console] Updates ui/index1.html
krlalliram Sep 19, 2016
dbe029f
[imad-console] Updates ui/index1.html
krlalliram Sep 19, 2016
ce35c6a
[imad-console] Updates ui/index.html
krlalliram Sep 19, 2016
ce96527
[imad-console] Updates ui/index.html
krlalliram Sep 19, 2016
9b9a070
[imad-console] Updates ui/index.html
krlalliram Sep 19, 2016
ed6f42d
[imad-console] Updates ui/index.html
krlalliram Sep 19, 2016
1bb5d5d
[imad-console] Updates ui/index.html
krlalliram Sep 19, 2016
4d09100
[imad-console] Updates ui/index.html
krlalliram Sep 19, 2016
428723f
[imad-console] Updates ui/index.html
krlalliram Sep 19, 2016
9a18436
[imad-console] Updates ui/index.html
krlalliram Sep 19, 2016
df6b558
[imad-console] Updates ui/index.html
krlalliram Sep 19, 2016
d642285
[imad-console] Updates ui/index.html
krlalliram Sep 19, 2016
e8e3c00
[imad-console] Updates ui/index.html
krlalliram Sep 19, 2016
deeabda
[imad-console] Updates ui/index.html
krlalliram Sep 19, 2016
1f70d09
[imad-console] Updates ui/index.html
krlalliram Sep 19, 2016
31007e5
[imad-console] Updates ui/index.html
krlalliram Sep 19, 2016
dc216c2
[imad-console] Updates ui/index.html
krlalliram Sep 20, 2016
599657d
[imad-console] Updates ui/style.css
krlalliram Sep 21, 2016
85b0ba1
[imad-console] Updates ui/index1.html
krlalliram Sep 21, 2016
9c52abe
[imad-console] Updates server.js
krlalliram Sep 21, 2016
72705d4
Create kr6.htm
krlalliram Sep 21, 2016
8ddc6b4
Create kr6.html
krlalliram Sep 21, 2016
2a38980
[imad-console] Updates server.js
krlalliram Sep 21, 2016
34d7ec7
[imad-console] Updates ui/kr6.html
krlalliram Sep 21, 2016
59264b4
[imad-console] Updates ui/kr6.html
krlalliram Sep 21, 2016
d8ae227
[imad-console] Updates ui/kr6.html
krlalliram Sep 21, 2016
1031298
Create kr7.html
krlalliram Sep 21, 2016
8f55115
[imad-console] Updates server.js
krlalliram Sep 21, 2016
ac137f9
[imad-console] Updates ui/style.css
krlalliram Sep 21, 2016
43068df
Create kr11.html
krlalliram Sep 21, 2016
ad9dd56
[imad-console] Updates ui/kr11.html
krlalliram Sep 21, 2016
b395fb1
[imad-console] Updates ui/style.css
krlalliram Sep 21, 2016
8dccb33
[imad-console] Updates server.js
krlalliram Sep 21, 2016
e6803ce
[imad-console] Updates ui/kr11.html
krlalliram Sep 21, 2016
ef9d01c
[imad-console] Updates ui/kr11.html
krlalliram Sep 21, 2016
16f7102
[imad-console] Updates ui/kr11.html
krlalliram Sep 21, 2016
58bc848
[imad-console] Updates ui/kr11.html
krlalliram Sep 21, 2016
ac5fcfa
[imad-console] Updates ui/kr11.html
krlalliram Sep 21, 2016
ceb5975
[imad-console] Updates ui/kr11.html
krlalliram Sep 21, 2016
fd8bb21
[imad-console] Updates ui/kr11.html
krlalliram Sep 21, 2016
7533547
[imad-console] Updates ui/kr11.html
krlalliram Sep 21, 2016
5c2608e
[imad-console] Updates ui/kr6.html
krlalliram Sep 22, 2016
ab25e3d
[imad-console] Updates ui/kr7.html
krlalliram Sep 22, 2016
cddd2bf
[imad-console] Updates ui/kr6.html
krlalliram Sep 22, 2016
a56e780
[imad-console] Updates server.js
krlalliram Sep 22, 2016
4654015
[imad-console] Updates ui/kr6.html
krlalliram Sep 22, 2016
c6bcaf6
[imad-console] Updates ui/kr6.html
krlalliram Sep 22, 2016
e6c4fe5
[imad-console] Updates ui/kr6.html
krlalliram Sep 22, 2016
0f21a24
[imad-console] Updates ui/kr7.html
krlalliram Sep 22, 2016
7b92c87
[imad-console] Updates ui/kr6.html
krlalliram Sep 22, 2016
e0bcf94
[imad-console] Updates ui/index.html
krlalliram Sep 28, 2016
b5f8c88
[imad-console] Updates ui/index1.html
krlalliram Sep 28, 2016
4abc7a7
[imad-console] Updates server.js
krlalliram Sep 28, 2016
c280a7c
[imad-console] Updates server.js
krlalliram Sep 28, 2016
35cfb53
[imad-console] Updates server.js
krlalliram Sep 28, 2016
8fb5e2e
[imad-console] Updates ui/kr6.html
krlalliram Sep 28, 2016
2ae6a05
[imad-console] Updates server.js
krlalliram Sep 28, 2016
9b3af78
[imad-console] Updates server.js
krlalliram Sep 29, 2016
268c60b
[imad-console] Updates server.js
krlalliram Sep 29, 2016
c77c4c1
[imad-console] Updates ui/index1.html
krlalliram Sep 29, 2016
1145a7e
[imad-console] Updates server.js
krlalliram Sep 29, 2016
bb17bba
[imad-console] Updates server.js
krlalliram Oct 4, 2016
8e2b7b4
[imad-console] Updates server.js
krlalliram Oct 4, 2016
60fba75
[imad-console] Updates server.js
krlalliram Oct 17, 2016
76f619d
[imad-console] Updates server.js
krlalliram Oct 17, 2016
c9b0f13
[imad-console] Updates server.js
krlalliram Oct 17, 2016
3982a51
[imad-console] Updates server.js
krlalliram Oct 17, 2016
d49757f
[imad-console] Updates server.js
krlalliram Oct 17, 2016
e6b700f
[imad-console] Updates server.js
krlalliram Oct 25, 2016
fbbf75b
[imad-console] Updates server.js
krlalliram Oct 25, 2016
d93ce84
[imad-console] Updates server.js
krlalliram Oct 27, 2016
45874f8
[imad-console] Updates server.js
krlalliram Oct 27, 2016
ba0af48
[imad-console] Updates server.js
krlalliram Oct 27, 2016
63281b5
Add files via upload
krlalliram Oct 27, 2016
37552c1
[imad-console] Updates server.js
krlalliram Oct 27, 2016
7a3a3cb
[imad-console] Updates server.js
krlalliram Oct 27, 2016
8a20322
[imad-console] Updates server.js
krlalliram Oct 27, 2016
c2bd832
[imad-console] Updates ui/style.css
krlalliram Oct 27, 2016
3acc5c3
[imad-console] Updates ui/style.css
krlalliram Oct 27, 2016
fd26f30
[imad-console] Updates ui/style.css
krlalliram Oct 27, 2016
6b1195d
[imad-console] Updates server.js
krlalliram Oct 27, 2016
deddf39
[imad-console] Updates ui/style.css
krlalliram Oct 27, 2016
8d482b4
[imad-console] Updates ui/style.css
krlalliram Oct 27, 2016
43d495e
[imad-console] Updates server.js
krlalliram Oct 27, 2016
945a5cd
[imad-console] Updates server.js
krlalliram Oct 28, 2016
68bd3e6
[imad-console] Updates server.js
krlalliram Oct 28, 2016
e0b3769
[imad-console] Updates server.js
krlalliram Oct 28, 2016
d5ba295
[imad-console] Updates server.js
krlalliram Oct 28, 2016
5916746
[imad-console] Updates server.js
krlalliram Oct 28, 2016
2cc7c57
[imad-console] Updates server.js
krlalliram Oct 28, 2016
b65c46e
[imad-console] Updates ui/kr6.html
krlalliram Oct 28, 2016
e312105
[imad-console] Updates ui/kr6.html
krlalliram Oct 28, 2016
c7301e9
Add files via upload
krlalliram Oct 31, 2016
cb7ab95
Update index.html
krlalliram Oct 31, 2016
f53ec3d
Create server.js
krlalliram Nov 4, 2016
438e8c6
Update server.js
krlalliram Nov 4, 2016
c61681b
Update kr7.html
krlalliram Nov 4, 2016
e293a6f
Update server.js
krlalliram Nov 6, 2016
2ab696f
[imad-console] Updates server.js
krlalliram Nov 6, 2016
e75a3f6
[imad-console] Updates server.js
krlalliram Nov 6, 2016
fdfa529
[imad-console] Updates server.js
krlalliram Nov 6, 2016
1013052
[imad-console] Updates server.js
krlalliram Nov 6, 2016
bfc4357
[imad-console] Updates server.js
krlalliram Nov 6, 2016
9c02a6f
[imad-console] Updates server.js
krlalliram Nov 6, 2016
b52b757
[imad-console] Updates server.js
krlalliram Nov 6, 2016
07f0464
[imad-console] Updates server.js
krlalliram Nov 6, 2016
f766aeb
[imad-console] Updates server.js
krlalliram Nov 6, 2016
ccbd824
[imad-console] Updates server.js
krlalliram Nov 6, 2016
170be26
[imad-console] Updates server.js
krlalliram Nov 6, 2016
a81c1dd
[imad-console] Updates ui/kr6.html
krlalliram Nov 7, 2016
cd4f691
[imad-console] Updates ui/index.html
krlalliram Nov 7, 2016
832705b
[imad-console] Updates server.js
krlalliram Nov 7, 2016
d57d490
[imad-console] Updates server.js
krlalliram Nov 7, 2016
a320cc1
[imad-console] Updates ui/kr6.html
krlalliram Nov 7, 2016
6dec908
[imad-console] Updates ui/kr6.html
krlalliram Nov 7, 2016
2a1d198
[imad-console] Updates server.js
krlalliram Nov 7, 2016
8356683
[imad-console] Updates ui/style.css
krlalliram Nov 7, 2016
d5010c4
[imad-console] Updates server.js
krlalliram Nov 7, 2016
f5fa826
[imad-console] Updates ui/kr6.html
krlalliram Nov 7, 2016
2344ba4
[imad-console] Updates ui/kr6.html
krlalliram Nov 7, 2016
22ac084
[imad-console] Updates ui/kr6.html
krlalliram Nov 7, 2016
d0d1677
[imad-console] Updates ui/style.css
krlalliram Nov 7, 2016
efc5b7f
[imad-console] Updates ui/style.css
krlalliram Nov 7, 2016
cbc394a
[imad-console] Updates server.js
krlalliram Nov 7, 2016
4037bb4
[imad-console] Updates ui/index.html
krlalliram Nov 7, 2016
e35a51b
[imad-console] Updates ui/index.html
krlalliram Nov 7, 2016
8a27bfe
[imad-console] Updates ui/index.html
krlalliram Nov 8, 2016
cffc901
[imad-console] Updates ui/index.html
krlalliram Nov 8, 2016
4891d98
[imad-console] Updates ui/index.html
krlalliram Nov 8, 2016
b330256
[imad-console] Updates ui/index.html
krlalliram Nov 8, 2016
c04ba2e
[imad-console] Updates ui/index.html
krlalliram Nov 8, 2016
417befb
[imad-console] Updates ui/index.html
krlalliram Nov 8, 2016
470b59b
[imad-console] Updates server.js
krlalliram Nov 18, 2016
496fce3
[imad-console] Updates server.js
krlalliram Dec 4, 2016
254850e
[imad-console] Updates server.js
krlalliram Dec 4, 2016
5e7df24
[imad-console] Updates server.js
krlalliram Dec 4, 2016
4d5e47a
[imad-console] Updates server.js
krlalliram Dec 4, 2016
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
43 changes: 43 additions & 0 deletions index1.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<!DOCTYPE html>
<html>
<body>

<p>ENTER a number and click the button:</p>

<input id="no" value="1" />

<button onclick="prime()">Try it</button>

<p id="demo"></p>

<script>


function prime()
{
var x = Number(document.getElementById("no").value);
var p="a prime";
if(x>3)
{
if(x%2==0)
p="not a prime";
else
{
for(var i=3, hx=x/2; i<=hx; i=i+2)
{
if(x%i==0) {p="not a prime";break;}
}
}
}
document.getElementById("demo").innerHTML=("The given no. "+x+" is "+p);
}


</script>

</body>
</html>




43 changes: 43 additions & 0 deletions kr3.htm
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<!DOCTYPE html>
<html>
<body>

<p>ENTER a number and click the button:</p>

<input id="no" value="5" />

<button onclick="prime()">Try it</button>

<p id="demo"></p>

<script>


function prime()
{
var x = Number(document.getElementById("no").value);
var p="a prime";
if(x>3)
{
if(x%2==0)
p="not a prime";
else
{
for(var i=3, hx=x/2; i<=hx; i=i+2)
{
if(x%i==0) {p="not a prime";break;}
}
}
}
document.getElementById("demo").innerHTML=("The given no. "+x+" is "+p);
}


</script>

</body>
</html>




11 changes: 8 additions & 3 deletions server.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

var express = require('express');
var morgan = require('morgan');
var path = require('path');
Expand All @@ -6,15 +7,19 @@ var app = express();
app.use(morgan('combined'));

app.get('/', function (req, res) {
res.sendFile(path.join(__dirname, 'ui', 'index.html'));
res.sendFile(path.join(__dirname, 'ui', 'index1.html'));
});

app.get('/ui/style.css', function (req, res) {
res.sendFile(path.join(__dirname, 'ui', 'style.css'));
});
app.get('/ui/madi.png', function (req, res) {
res.sendFile(path.join(__dirname, 'ui', 'madi.png'));


app.get('/ui/madi.png', function (req, res) {
res.sendFile(path.join(__dirname, 'ui', 'madi.png'));
/* app.get('/ui/tpty.jpg', function (req, res) {
res.sendFile(path.join(__dirname, 'ui', 'tpty.jpg')); */

});


Expand Down
74 changes: 57 additions & 17 deletions ui/index.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,57 @@
<!doctype html>
<html>
<head>
<link href="/ui/style.css" rel="stylesheet" />
</head>
<body>
<div class="center">
<img src="/ui/madi.png" class="img-medium"/>
</div>
<br>
<div class="center text-big bold">
Hi! I am your webapp.
</div>
<script type="text/javascript" src="/ui/main.js">
</script>
</body>
</html>
<!doctype html>
<html>
<head>
<link href="/ui/style.css" rel="stylesheet" />
</head>
<body>
<div class="center">
<img src="/ui/madi.png" class="img-medium"/>
</div>
<br>

<div class="center text-big bold">
Hi! I am your webapp.
<br>
<img src="/ui/tpty.jpg" alt="No image" style="width:400px;hight:200px;">
</div>
<script type="text/javascript" src="/ui/main.js">
</script>
</body>
</html>

<!--
<!doctype html>
<html>
<head>
<link href="/ui/style.css" rel="stylesheet" />
</head>
<body>
<div class="container">
<div class="center">
<img id='madi' src="https://pbs.twimg.com/profile_images/774927785059987456/7ghr_M-D.jpg" class="img-medium"/>
</div>
<h3>Personal</h3>
<div>
Hi. My name is Tanmai Gopal
</div>
<hr/>
<h3>Professional</h3>
<div>
I work in Hasura
</div>
<hr/>
<div class="footer">
This button <button id="counter">Click me!</button> has been clicked <span id="count">0</span> times.
<hr/>
<input type="text" id="name" placeholder="name">

<input type="submit" value="Submit" id="submit_btn">
<ul id="namelist">
</ul>
</div>
</div>
<script type="text/javascript" src="/ui/main.js">
</script>
</body>
</html>
-->
49 changes: 49 additions & 0 deletions ui/index1.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<!DOCTYPE html>
<html>
<body>

<style>
body {
font-family: sans-serif;
background-color: pink;
margin-top: 75px;
color:green;
text-align:center;
}
</style>

<p>ENTER a number and click the button:</p>

<input id="no" value="1"/>

<button onclick="prime()">Try it</button>

<p id="demo"></p>

<script>


function prime()
{
var x = Number(document.getElementById("no").value);
var p="a prime";
if(x>3)
{
if(x%2==0)
p="not a prime";
else
{
for(var i=3, hx=x/2; i<=hx; i=i+2)
{
if(x%i==0) {p="not a prime";break;}
}
}
}
document.getElementById("demo").innerHTML=("The given no. "+x+" is "+p);
}

</script>

</body>
</html>

29 changes: 29 additions & 0 deletions ui/kr11.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<!DOCTYPE html>
<html>
<head>

<STYLE>
body
{
text-align:center;
font-family: sans-serif;
background-color: pink;
margin-top: 75px;
color:red;
}
P1
{
text-align:right;
color:blue;
background-color:yellow;
}
</STYLE>

</head>

<body>
<h1 class:center>This is my own first HTML</h1>
<p1>This paragraph is specially designed dlnslkdnskcnkk f ddc cw c cdocis csc c socios csc cjoc ci oc oocco coa c cocjo c</p1>
<p> This para follows the body design</p>
</body>
</html>
18 changes: 18 additions & 0 deletions ui/kr6.htm
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<style>
#des
{
color:red;
text-align: center;
}
</style>
<h1 id="des">This is a Heading</h1>
<p id="des">This is a paragraph.</p>

</body>
</html>
12 changes: 12 additions & 0 deletions ui/kr6.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="ui/style.css">
</head>
<body>
<h1>This is a heading</h1>
<p>paragraph</p>

</body>
</html>

36 changes: 36 additions & 0 deletions ui/kr7.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<!DOCTYPE html>
<html>
<head>
<style>
body {
color: red;
}

h1 {
color: #ffff00;
}

p.ex {
color: rgb(0,0,255);
}
</style>
</head>
<body>

<h1>This is heading 1</h1>

<p>This is an ordinary paragraph. Notice that this text is red. The default text-color for a page is defined in the body selector.</p>

<p class="ex">This is a paragraph with class="ex". This text is blue.</p>

</body>
</html>









Loading