diff --git a/app/Resources/js/ModelViewer.js b/app/Resources/assets/js/ModelViewer.js similarity index 100% rename from app/Resources/js/ModelViewer.js rename to app/Resources/assets/js/ModelViewer.js diff --git a/app/Resources/assets/js/style.js b/app/Resources/assets/js/style.js new file mode 100644 index 0000000..1dd56df --- /dev/null +++ b/app/Resources/assets/js/style.js @@ -0,0 +1,5 @@ +$(document).ready(function () { + $('.ui.dropdown') + .dropdown() + ; +}); \ No newline at end of file diff --git a/app/Resources/assets/style/_variables.scss b/app/Resources/assets/style/_variables.scss new file mode 100644 index 0000000..e69de29 diff --git a/app/Resources/assets/style/main.scss b/app/Resources/assets/style/main.scss new file mode 100644 index 0000000..f61917a --- /dev/null +++ b/app/Resources/assets/style/main.scss @@ -0,0 +1,3 @@ +.ui.fixed + .ui.main { + margin-top: 5em; +} \ No newline at end of file diff --git a/app/Resources/assets/style/style.scss b/app/Resources/assets/style/style.scss new file mode 100644 index 0000000..263739b --- /dev/null +++ b/app/Resources/assets/style/style.scss @@ -0,0 +1,4 @@ +@import "variables"; + +@import "main"; + diff --git a/app/Resources/views/default/index.html.twig b/app/Resources/views/default/index.html.twig index e8b7a5f..918e8e0 100644 --- a/app/Resources/views/default/index.html.twig +++ b/app/Resources/views/default/index.html.twig @@ -1,6 +1,6 @@ {% extends 'base.html.twig' %} -{% block body %} +{% block content %} {% endblock %} diff --git a/app/Resources/views/set/browse.html.twig b/app/Resources/views/set/browse.html.twig index 5aadde4..8bab86c 100644 --- a/app/Resources/views/set/browse.html.twig +++ b/app/Resources/views/set/browse.html.twig @@ -1,20 +1,31 @@ {% extends 'base.html.twig' %} -{% block body %} +{% block content %} {{ form_start(form) }} -
{{ inventoryPart.part.id }} {{ inventoryPart.quantity }}
+{{ inventoryPart.part.number }} {{ inventoryPart.quantity }}