Skip to content

Commit 9e4235d

Browse files
committed
First commit
0 parents  commit 9e4235d

13 files changed

Lines changed: 176 additions & 0 deletions

‎html/css/bootstrap.min.css‎

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎html/css/main.css‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
.width_60 {
2+
width: 60%;
3+
float: left;
4+
}
5+
6+
.width_5 {
7+
width: 5%;
8+
float: right;
9+
}
10+
11+
.height_45 {
12+
height: 45px;
13+
}
14+
15+
.margin_top_15 {
16+
margin-top: 15%;
17+
}

‎html/img/mini.jpg‎

13.6 KB
Loading

‎html/img/photographer.jpg‎

781 KB
Loading

‎html/img/woman.jpg‎

256 KB
Loading

‎html/index.php‎

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head lang="pl">
4+
<meta charset="UTF-8">
5+
<title>Snail project</title>
6+
<!-- Latest compiled and minified CSS -->
7+
<!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> -->
8+
<!-- Latest compiled and minified JavaScript
9+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> -->
10+
<link href="css/bootstrap.min.css" rel="stylesheet">
11+
<link href="css/main.css" rel="stylesheet">
12+
</head>
13+
<body>
14+
15+
16+
17+
<div class="container-fluid">
18+
<p><h1>Snail project</h1></p>
19+
</div>
20+
21+
<div class="container-fluid">
22+
<div class="container-fluid margin_top_15">
23+
<input id="address" type="text" class="form-control width_60 height_45" placeholder="Podaj URL">
24+
<button id="runTest" class="btn btn-success btn-lg">Test</button>
25+
</div>
26+
<?php include 'ip.php'; ?>
27+
</div>
28+
29+
30+
<div class="container">
31+
<table id="insightResultTable" class="table table-striped table-bordered table-hover">
32+
<thead>
33+
<tr>
34+
<td>1</td>
35+
<td>2</td>
36+
<td>3</td>
37+
</tr>
38+
</thead>
39+
<tbody>
40+
</tbody>
41+
</table>
42+
</div>
43+
44+
45+
46+
47+
<script src="js/jquery-2.1.1.min.js"></script>
48+
<script src="js/bootstrap.min.js"></script>
49+
<script>
50+
var URL_TO_GET_RESULTS_FOR = '';
51+
$("#runTest").click(function(e) {
52+
URL_TO_GET_RESULTS_FOR = $("#address").val();
53+
$("#insightResultTable tbody").html('');
54+
setTimeout(runPagespeed, 0);
55+
});
56+
</script>
57+
<script src="js/scripts/insight.js"></script>
58+
</body>
59+
</html>

‎html/ip.php‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?php
2+
3+
echo $_SERVER["REMOTE_ADDR"];
4+
5+
?>

‎html/js/Dokument bez nazwy~‎

Whitespace-only changes.

‎html/js/bootstrap.min.js‎

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎html/js/jquery-2.1.1.min.js‎

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)