-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
50 lines (50 loc) · 1.81 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
<!DOCTYPE html>
<html data-ng-app="lessConverter">
<head>
<title>LESS to CSS converter</title>
<!-- Bootstrap -->
<link href="components/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
</head>
<body>
<header>
<div class="container">
<h1>On-the-fly LESS to CSS compiler</h1>
</div>
</header>
<div class="container" data-ng-controller="LessCtrl">
<div class="alert alert-error" data-ng-show="alert_message">{{ alert_message }} </div>
<div class="alert alert-success" data-ng-hide="alert_message">No error</div>
<div class="row">
<form class="span6">
<fieldset>
<legend>Input LESS</legend>
<textarea class="span6" id="input_less" placeholder="Type your less here" rows="10" data-ng-model="input_less" ng-change="convert()"></textarea>
</fieldset>
</form>
<div class="span6">
<fieldset>
<legend>Output CSS</legend>
<pre class="{{alert_message|checkoutput}}">{{ output_css }}</pre>
</fieldset>
</div>
</div>
</div>
<footer>
<div class="container">
<p>
Built by <a href="https://github.com/dikei/" target="_blank">Dikei</a> using
<a href="http://twitter.github.com/bootstrap/" target="_blank">Bootstrap</a>,
<a href="http://angularjs.org/" target="_blank">Angular.js</a> and
<a href="http://lesscss.org/" target="_blank">LESS</a>
</p>
</div>
</footer>
<script src="components/jquery/jquery.min.js"></script>
<script src="components/bootstrap//js/bootstrap.min.js"></script>
<script src="components/less.js/less-1.3.1.min.js" type="text/javascript"></script>
<script src="components/jquery-autosize/jquery.autosize.min.js"></script>
<script src="components/angular/angular.min.js"></script>
<script src="js/app.js"></script>
<script src="js/controllers.js"></script>
</body>
</html>