forked from microweber-dev/screen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
24 lines (23 loc) · 803 Bytes
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Screenshot</title>
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet">
<link href="//netdna.bootstrapcdn.com/bootswatch/2.3.2/spacelab/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<form target="shot" action="shot.php" method="post">
<fieldset>
<legend>Take a screenshot</legend>
<div class="form-group">
<label for="url">URL for screenshot</label>
<input type="text" class="form-control" name="url" placeholder="Enter URL">
</div>
<button type="submit" class="btn btn-default">Submit</button>
</fieldset>
</form>
<br>
<iframe src="shot.php" name="shot" id="shot" width="100%" height="1000" frameborder="0"></iframe>
</body>
</html>