From 28f28e15105b74466a15bd27d83768029ebbea66 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Mon, 2 Mar 2015 21:30:17 +0100 Subject: [PATCH] init --- composer.json | 5 ++++ web/bootstrap | 1 + web/bot.html | 10 ++++++++ web/css/main.css | 8 +++++++ web/index.php | 61 ++++++++++++++++++++++++++++++++++++++++++++++++ web/js/main.js | 8 +++++++ 6 files changed, 93 insertions(+) create mode 100644 composer.json create mode 120000 web/bootstrap create mode 100644 web/bot.html create mode 100644 web/css/main.css create mode 100644 web/index.php create mode 100644 web/js/main.js 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')); + }); + } +);