commit 28f28e15105b74466a15bd27d83768029ebbea66 Author: Simon Vieille Date: Mon Mar 2 21:30:17 2015 +0100 init diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..afa1709 --- /dev/null +++ b/composer.json @@ -0,0 +1,5 @@ +{ + "require": { + "twitter/bootstrap": "dev-master" + } +} diff --git a/web/bootstrap b/web/bootstrap new file mode 120000 index 0000000..5dd1c2b --- /dev/null +++ b/web/bootstrap @@ -0,0 +1 @@ +../vendor/twitter/bootstrap/dist \ No newline at end of file diff --git a/web/bot.html b/web/bot.html new file mode 100644 index 0000000..efe4490 --- /dev/null +++ b/web/bot.html @@ -0,0 +1,10 @@ + + + + + + + +

Come on :)

+ + diff --git a/web/css/main.css b/web/css/main.css new file mode 100644 index 0000000..ce0b189 --- /dev/null +++ b/web/css/main.css @@ -0,0 +1,8 @@ +body { + padding: 10px; +} + +textarea { + width: 100%; + height: 50%; +} diff --git a/web/index.php b/web/index.php new file mode 100644 index 0000000..5bac666 --- /dev/null +++ b/web/index.php @@ -0,0 +1,61 @@ + + + + + + Markup language indenter + + + + + + +

Markup language indenter

+ +

Give me your source code and let me indent it!

+ +
+ + +

+ + +
+
+ +
+
+ +
+
+ +
+ +

Developed by Simon Vieille - Open-source project

+ + + + + diff --git a/web/js/main.js b/web/js/main.js new file mode 100644 index 0000000..05e1247 --- /dev/null +++ b/web/js/main.js @@ -0,0 +1,8 @@ +$('body').on( + 'mousemove', + function() { + $('form').each(function() { + $(this).attr('action', $(this).data('action')); + }); + } +);