-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
executable file
·56 lines (50 loc) · 1.9 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!doctype html>
<html lang="en" data-ng-app="mockupGenerator">
<head>
<meta charset="utf-8">
<title>Mockup Generator</title>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="node_modules/font-awesome/css/font-awesome.min.css">
</head>
<body ng-cloak data-ng-controller="mainCtrl">
<form class="form-horizontal">
<div class="col-xs-12">
<label for="source" class="control-label">URL:</label>
<div class="input-group">
<input class="form-control" type="text" name="url" ng-model="url" placeholder="google.com">
<div class="input-group-btn">
<button ng-click="downloadScreenshot()" class="btn btn-primary" ng-disabled="loading">
Save
<i class='fa fa-circle-o-notch fa-spin' ng-show="loading"></i>
</button>
</div>
</div>
</div>
<div class="col-xs-12">
<div class="checkbox">
<label>
<input type="checkbox" ng-model="useDevices" > Add screenshot to device?
</label>
</div>
</div>
<div class="col-xs-12" ng-show="useDevices == true">
<div class="checkbox">
<label>
<input type="checkbox" ng-model="useShadow"> Add device shadow?
</label>
</div>
</div>
<div class="col-xs-12">
<div class="select">
<label for="source" class="control-label">Screen:</label>
<select class="form-control" ng-init="screenSelect = devices[0]" ng-model="screenSelect" ng-options="item as item.name for item in devices">
</select>
</div>
</div>
</form>
<script src="js/lib/angular.min.js"></script>
<script src="js/lib/angular-electron.js"></script>
<script src="js/app.js"></script>
</body>
</html>