-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·133 lines (126 loc) · 6.53 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>res.preview - Responsive Design Testing</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<!-- Custom styles for this template -->
<link href='https://fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'>
<script src="https://use.fontawesome.com/ff38da812c.js"></script>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<!-- <div id="statusBar" class="alert alert-warning text-center status" role="alert">
Firebase sign-in status: <span id="quickstart-sign-in-status">Unknown</span>
</div> -->
<div class="container hidden-xs hidden" id="forms">
<div class="text-center"><img src="img/res-preview_logo.png" class="logo"></div>
<form class="form-signin" id="form-signin">
<h2 class="form-signin-heading">Please sign in</h2>
<label for="inputEmail" class="sr-only">Email address</label>
<input type="email" id="inputEmail" class="form-control" placeholder="Email address" required autofocus>
<label for="inputPassword" class="sr-only">Password</label>
<input type="password" id="inputPassword" class="form-control" placeholder="Password" required>
<a class="btn btn-lg btn-default btn-block" type="submit" id="signIn">Sign in</a>
<a class="btn btn-link btn-block toggle" role="button">Create an Account</a>
</form>
<form class="form-signin hidden" id="form-create">
<h2 class="form-signin-heading">Create an account</h2>
<label for="createEmail" class="sr-only">Email address</label>
<input type="email" id="createEmail" class="form-control" placeholder="Email address" required autofocus>
<label for="createPassword" class="sr-only">Password</label>
<input type="password" id="createPassword" class="form-control" placeholder="Password" required>
<a class="btn btn-lg btn-default btn-block" type="submit" id="create">Create</a>
<a class="btn btn-link btn-block toggle" role="button">Sign In</a>
</form>
</div>
<!-- /container -->
<!-- dashboard -->
<div id="dashboard" class="hidden-xs hidden">
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="#">res.preview</a>
</div>
<form class="navbar-form navbar-left" id="newPost">
<input type="text" class="form-control" placeholder="Enter URL" id="txtSRC">
<button type="button" class="btn btn-default" onclick="SetSrc()" id="go">Go</button>
<button type="submit" class="btn btn-default">Save URL </button>
</form>
<div id="navbar" class="navbar-collapse ">
<ul class="nav navbar-nav pull-right">
<li><a class="btn btn-link" type="submit" id="signOut">Sign out</a></li>
</ul>
<!-- <p class="navbar-text pull-right">Signed in as <a href="#" class="navbar-link">Log out</a></p> -->
</div>
</div>
</nav>
<div class="container ">
<div class="row">
<div class="sidebar collapsed">
<!-- class="menu" -->
<i class="fa fa-caret-square-o-right" aria-hidden="true" id="collapseMenu"></i>
<div class="row text-center">
<div class="col-md-12 hidden" id="sidebarTitle">
<h2>Saved Sites</h2>
</div>
</div>
<div class="row">
<div class="col-md-12">
<ul class="nav nav-sidebar" id="saved_menu">
</ul>
</div>
</div>
</div>
<div class="wrapper">
<div class="frame">
<h2>320 × 480 <small>(mobile)</small></h2>
<iframe id="Iframe" seamless width="320" height="480"></iframe>
</div>
<div class="frame">
<h2>480 × 640 <small>(small tablet)</small></h2>
<iframe id="Iframe2" seamless width="480" height="640"></iframe>
</div>
<div class="frame">
<h2>768 × 1024 <small>(tablet - portrait)</small></h2>
<iframe id="Iframe3" seamless width="768" height="1024"></iframe>
</div>
<div class="frame">
<h2>1024 × 768 <small>(tablet - landscape)</small></h2>
<iframe id="Iframe4" seamless width="1024" height="768"></iframe>
</div>
<div class="frame">
<h2>1200 × 800 <small>(desktop)</small></h2>
<iframe id="Iframe5" seamless width="1200" height="800"></iframe>
</div>
</div>
</div>
</div>
</div>
<!-- end dashboard -->
<!-- Firebase code here -->
<script src="https://www.gstatic.com/firebasejs/live/3.0/firebase.js"></script>
<script>
// Initialize Firebase
var config = {
apiKey: "AIzaSyAvQBqSQqG0jNo0dezinl2e8g_W-lKZzLU",
authDomain: "responsivepreview.firebaseapp.com",
databaseURL: "https://responsivepreview.firebaseio.com",
storageBucket: "responsivepreview.appspot.com",
};
firebase.initializeApp(config);
</script>
<!-- Jquery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script type="text/javascript" src="js/app.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-87715607-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>