diff --git a/static/Pslab.png b/static/Pslab.png new file mode 100644 index 0000000..1bf63c6 Binary files /dev/null and b/static/Pslab.png differ diff --git a/static/blog.png b/static/blog.png new file mode 100644 index 0000000..d311116 Binary files /dev/null and b/static/blog.png differ diff --git a/static/bug.png b/static/bug.png new file mode 100644 index 0000000..23897ec Binary files /dev/null and b/static/bug.png differ diff --git a/static/code.png b/static/code.png new file mode 100644 index 0000000..bb4a7c9 Binary files /dev/null and b/static/code.png differ diff --git a/static/eventyay.png b/static/eventyay.png new file mode 100644 index 0000000..b28d119 Binary files /dev/null and b/static/eventyay.png differ diff --git a/static/fossasia.png b/static/fossasia.png new file mode 100644 index 0000000..ee2ac0b Binary files /dev/null and b/static/fossasia.png differ diff --git a/static/js/form.js b/static/js/form.js new file mode 100644 index 0000000..0dd9d0a --- /dev/null +++ b/static/js/form.js @@ -0,0 +1,24 @@ +/* global $ */ + + var customMenuButton = $(".custom-menubutton"); + var menuContent = $(".custom-menu-cont"); + var fontAwesomeIcom=$(".glyphicon-th"); + + customMenuButton.click(function() { + menuContent.toggleClass("hidden"); + $(this).toggleClass("custom-menubutton-color"); + }); + + $(".custom-menu-item").click(function () { + menuContent.addClass("hidden"); + customMenuButton.removeClass("custom-menubutton-color"); + }); + + $(document).mouseup(function(e) { + // if the target of the click is not the button, + // the container, or descendants of the container + if (!$(e.target).is(customMenuButton) && !$(e.target).is(menuContent) && menuContent.has(e.target).length === 0 && !$(e.target).is(fontAwesomeIcom)) { + menuContent.addClass("hidden"); + customMenuButton.removeClass("custom-menubutton-color"); + } + }); diff --git a/static/loklak.png b/static/loklak.png new file mode 100644 index 0000000..184d976 Binary files /dev/null and b/static/loklak.png differ diff --git a/static/phimp.png b/static/phimp.png new file mode 100644 index 0000000..8b02662 Binary files /dev/null and b/static/phimp.png differ diff --git a/static/susi.png b/static/susi.png new file mode 100644 index 0000000..780415a Binary files /dev/null and b/static/susi.png differ diff --git a/static/susper.png b/static/susper.png new file mode 100755 index 0000000..cab70c7 Binary files /dev/null and b/static/susper.png differ diff --git a/templates/icons/Pslab.png b/templates/icons/Pslab.png new file mode 100644 index 0000000..1bf63c6 Binary files /dev/null and b/templates/icons/Pslab.png differ diff --git a/templates/icons/blog.png b/templates/icons/blog.png new file mode 100644 index 0000000..d311116 Binary files /dev/null and b/templates/icons/blog.png differ diff --git a/templates/icons/bug.png b/templates/icons/bug.png new file mode 100644 index 0000000..23897ec Binary files /dev/null and b/templates/icons/bug.png differ diff --git a/templates/icons/code.png b/templates/icons/code.png new file mode 100644 index 0000000..bb4a7c9 Binary files /dev/null and b/templates/icons/code.png differ diff --git a/templates/icons/eventyay.png b/templates/icons/eventyay.png new file mode 100644 index 0000000..b28d119 Binary files /dev/null and b/templates/icons/eventyay.png differ diff --git a/templates/icons/fossasia.png b/templates/icons/fossasia.png new file mode 100644 index 0000000..ee2ac0b Binary files /dev/null and b/templates/icons/fossasia.png differ diff --git a/templates/icons/github.png b/templates/icons/github.png new file mode 100644 index 0000000..092a905 Binary files /dev/null and b/templates/icons/github.png differ diff --git a/templates/icons/loklak.png b/templates/icons/loklak.png new file mode 100644 index 0000000..184d976 Binary files /dev/null and b/templates/icons/loklak.png differ diff --git a/templates/icons/phimp.png b/templates/icons/phimp.png new file mode 100644 index 0000000..8b02662 Binary files /dev/null and b/templates/icons/phimp.png differ diff --git a/templates/icons/susi.png b/templates/icons/susi.png new file mode 100644 index 0000000..780415a Binary files /dev/null and b/templates/icons/susi.png differ diff --git a/templates/icons/susper.png b/templates/icons/susper.png new file mode 100755 index 0000000..cab70c7 Binary files /dev/null and b/templates/icons/susper.png differ diff --git a/templates/index.html b/templates/index.html index e55a34b..d9cf8ab 100644 --- a/templates/index.html +++ b/templates/index.html @@ -3,50 +3,271 @@ + - + + + + Meilix ISO Generator +
- +
+ + Meilix Generator + +
+ +
+
+
-

Meilix Generator

-

Create your own Lubuntu Distribution

diff --git a/templates/js/form.js b/templates/js/form.js new file mode 100644 index 0000000..0dd9d0a --- /dev/null +++ b/templates/js/form.js @@ -0,0 +1,24 @@ +/* global $ */ + + var customMenuButton = $(".custom-menubutton"); + var menuContent = $(".custom-menu-cont"); + var fontAwesomeIcom=$(".glyphicon-th"); + + customMenuButton.click(function() { + menuContent.toggleClass("hidden"); + $(this).toggleClass("custom-menubutton-color"); + }); + + $(".custom-menu-item").click(function () { + menuContent.addClass("hidden"); + customMenuButton.removeClass("custom-menubutton-color"); + }); + + $(document).mouseup(function(e) { + // if the target of the click is not the button, + // the container, or descendants of the container + if (!$(e.target).is(customMenuButton) && !$(e.target).is(menuContent) && menuContent.has(e.target).length === 0 && !$(e.target).is(fontAwesomeIcom)) { + menuContent.addClass("hidden"); + customMenuButton.removeClass("custom-menubutton-color"); + } + });