Files
mad/background.html
T
2015-04-06 01:13:17 -04:00

75 lines
2.4 KiB
HTML

<!doctype html>
<html ng-app="app" ng-csp>
<head>
<title>MAD</title>
<script src="js/jquery.min.js"></script>
<script src="js/fuzzyset.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/angular.min.js"></script>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-theme.min.css">
<link rel="stylesheet" href="css/main.css">
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
<!-- Modules -->
<script src="js/verify.js"></script>
<script src="js/app.js"></script>
<!--Controllers -->
<script src="js/altController.js"></script>
</head>
<body >
<div class="text-center content">
<h1>MAD: <small>Mindful Anti Distraction</small></h1>
</div>
<div class="row content">
<h1 class="text-center">Do something more rewarding instead!</h1>
<br>
<div id="alternate" class="row text-center" ng-controller="AltController">
<div ng-repeat="alt in alternatives" class="col-md-3 col-sm-3 col-xs-3">
<a ng-href="{{ alt.href }}">
<img ng-src="{{ alt.imgsrc }}" class="img-circle">
</a>
<h3>{{ alt.text }}</h3>
<p ng-click="delete($index)">X</p>
</div>
</div>
</div>
<!--
<br>
<a href="https://www.youtube.com/watch?v=KfnUicHDNM8">
<h3><span class="glyphicon glyphicon-facetime-video" aria-hidden="true"></span> Roy Baumeister</h3>
</a>
<a href="https://www.youtube.com/watch?v=HTfYv3IEOqM">
<h3><span class="glyphicon glyphicon-facetime-video" aria-hidden="true"></span> Daniel Golemann</h3>
</a>
-->
<div class="row content-a">
<div class="col-md-8 col-md-offset-2 text-center">
<p>Read and <strong>type the text below</strong> if you <strong>REALLY HAVE</strong> to go to your site:</p>
<div class="jumbotron-cust">
<blockquote>
<p id="target"></p>
</blockquote>
</div>
</div>
</div>
<div class="text-center">
<div class="content-a">
<div class="form-inline">
<div class="form-group">
<label for="input-a">Retype</label>
<input type="text" id="input-a" class="custwidth form-control"></input>
</div>
</div>
</div>
<input id="submit1" class="btn btn-primary" type="submit" value="Verify">
<a id="submit2" class="btn btn-success" href="#" disabled="enabled">Enter Site</a>
<br><strong id="message"></strong>
</div>
</div>
</body>
</html>