forked from garris/BackstopJS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·227 lines (187 loc) · 8.97 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>BackstopJS: Catch CSS curve balls</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="homepage/css/bootstrap.min.css">
<style>
/* body {
padding-top: 50px;
padding-bottom: 20px;
}
*/
</style>
<!-- <link rel="stylesheet" href="homepage/css/bootstrap-theme.min.css"> -->
<link rel="stylesheet" href="homepage/css/main.css">
<!--[if lt IE 9]>
<script src="homepage/js/vendor/html5-3.6-respond-1.1.0.min.js"></script>
<![endif]-->
</head>
<body>
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<!-- <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Project name</a>
</div>
<div class="navbar-collapse collapse">
<form class="navbar-form navbar-right" role="form">
<div class="form-group">
<input type="text" placeholder="Email" class="form-control">
</div>
<div class="form-group">
<input type="password" placeholder="Password" class="form-control">
</div>
<button type="submit" class="btn btn-success">Sign in</button>
</form>
</div>
</div>
</div>
-->
<!-- Main jumbotron for a primary marketing message or call to action -->
<div class="jumbotron">
<div class="container topHat">
<h1>BackstopJS</h1>
<h2>Catch CSS curve balls.</h2>
<p>
<span>Breaking CSS is easy.</span>
<span>Checking every responsive page element is hard.</span>
<span>That’s why there's BackstopJS.</span>
</p>
<p>
<button type="button" class="btn btn-primary">Get it on Github</button>
</p>
<p>
<small>
<!-- <strong><a href="http://expanded.me/category/backstopjs/">News: Version 0.8.0 BETA available now.</a></strong>
-->
<strong><a href="https://github.com/garris/BackstopJS#version-080-beta-available-now">News: Version 1.2.0 available now.</a></strong>
<br/>
<strong>Improved installation -- just `npm install backstopjs` and you're ready to go!</strong>
<br/>
Simulate user interactions with CasperJS scripts – Fast inline-CLI reports – detailed in-browserreports – add (node module) logic to your config files – Test html5 elements like webfonts and flexbox – also plays nice with other local services, multiple config paths and source control.</small>
</p>
</div>
</div>
<div class="container oneTwoThree">
<!-- oneTwoThree -->
<div class="row firstPanel">
<div class="col-sm-4">
<h2>ONE</h2>
<figure>
<figcaption>
BackstopJS Creates reference screenshots of your webpage/web-app at multiple sceen sizes.
</figcaption>
<img src="homepage/img/one@2x.png" class="img-responsive" ></img>
</figure>
<p>
BackstopJS is a config-driven automated screenshot test application for responsive websites and web-applications. Specify a set of DOM elements and viewport sizes and <span>BackstopJS will work like an extra set of eyes on your workflow</span>.
</p>
</div>
<div class="col-sm-4">
<h2>TWO</h2>
<figure>
<figcaption>
After editing your CSS, use BackstopJS to find any unwanted CSS regressions.
</figcaption>
<img src="homepage/img/two@2x.png" class="img-responsive" ></img>
</figure>
<p>
BackstopJS integrates into your <!-- <a href="http://gulpjs.com">Gulp.js</a> -->build process and <span>automatically checks your work before you ship it to QA/staging/production</span>. Alternatively, run BackstopJS manually whenever the need arises.
</p>
</div>
<div class="col-sm-4">
<h2>THREE</h2>
<figure>
<figcaption>
BackstopJS uses <a href="https://github.com/Huddle/Resemble.js">Resemble.js</a>, <a href="http://casperjs.org">CasperJS</a>, <a href="http://phantomjs.org">PhantomJS</a> and <a href="https://slimerjs.org/">SlimerJS</a> to report on visual changes.
</figcaption>
<img src="homepage/img/three@2x.png" class="img-responsive" ></img>
</figure>
<p>
BackstopJS helps to <span>catch the errors you might otherwise miss</span>. Get a heads-up report for each selector. Quickly zero-in on issues with side-by-side screenshots and diff images.
</p>
</div>
</div>
<hr>
<div class="row secondPanel">
<div class="col-sm-12">
<h2>
Is BackstopJS for you?
</h2>
</div>
<div class="col-sm-6">
<p>
Responsive layouts are very difficult to test. It's arguably more tedious to (re)view all of a project's screen elements at every breakpoint then it is to code them in the first place. If you develop responsive UI, you know the worst thing ever is when you've developed a beautiful, rock-solid, responsive CSS layout only to accidentally and un-knowingly hose it by adding a new module or putting in a last-minute tweak. <span class="text-nowrap">:-/</span>
</p>
</div>
<div class="col-sm-6">
<p>
If that sounds familiar then you are in the right ballpark... BackstopJS is a dead-simple way to add another line of defense between you and those unpredictable CSS curve-balls.
</p>
<p>
BackstopJS may be just the thing if you develop responsive CMS templates (e.g. Wordpress, Drupal), landing pages, static sites, or dynamic web-apps where one greedy selector can wreak havoc on your otherwise well behaved UI.
</p>
<p>
</p>
</div>
</div>
<hr>
<div class="row finalWords">
<div class="col-sm-12 ">
<h2>
<a href="https://github.com/garris/BackstopJS">Installation, Documentation, Contributation!</a>
</h2>
<p>
And while you're at it, <a href="http://tremulajs.org/">check out TremulaJS</a>, another fine project developed at Art.com labs.
</p>
<p>
BackstopJS was created by <a href="http://expanded.me/about/">Garris Shipon</a>.
<!-- TODO Need simple NG here -->
<!-- with contributions from -->
<!-- https://api.github.com/repos/garris/backstopjs/contributors -->
<!--
<ul>
<li class="contributors" ng-repeat="contributor in contributors">
<img src="{{contributor.contribImgSrc}}" class="avatar" alt="">
<a class="aname" href="/{{contributor.userName}}">{{contributor.userName}}</a>
</li>
</ul>
-->
</p>
</div>
</div>
</div> <!-- /container -->
<!-- <hr> -->
<footer>
<p>© 2014</p>
</footer>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="homepage/js/vendor/jquery-1.11.1.min.js"><\/script>')</script>
<!--<script src="homepage/js/vendor/bootstrap.min.js"></script>-->
<script src="homepage/js/main.js"></script>
<!-- Google Analytics: change UA-XXXXX-X to be your site's ID. -->
<script>
// (function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
// function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
// e=o.createElement(i);r=o.getElementsByTagName(i)[0];
// e.src='//www.google-analytics.com/analytics.js';
// r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
// ga('create','UA-XXXXX-X');ga('send','pageview');
</script>
</body>
</html>