diff --git a/.gitignore b/.gitignore index cfdf34f..842e34b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ appli/vendor -crud/vendor -crud/connect.php \ No newline at end of file +tpCrudTwig/vendor diff --git a/crud/add.php b/tpCrudTwig/add.php similarity index 100% rename from crud/add.php rename to tpCrudTwig/add.php diff --git a/crud/close.php b/tpCrudTwig/close.php similarity index 100% rename from crud/close.php rename to tpCrudTwig/close.php diff --git a/tpCrudTwig/composer.json b/tpCrudTwig/composer.json new file mode 100644 index 0000000..452d32f --- /dev/null +++ b/tpCrudTwig/composer.json @@ -0,0 +1,5 @@ +{ + "require": { + "twig/twig": "^3.14" + } +} diff --git a/crud/connect.php b/tpCrudTwig/connect.php similarity index 100% rename from crud/connect.php rename to tpCrudTwig/connect.php diff --git a/crud/delete.php b/tpCrudTwig/delete.php similarity index 100% rename from crud/delete.php rename to tpCrudTwig/delete.php diff --git a/crud/details.php b/tpCrudTwig/details.php similarity index 100% rename from crud/details.php rename to tpCrudTwig/details.php diff --git a/crud/edit.php b/tpCrudTwig/edit.php similarity index 100% rename from crud/edit.php rename to tpCrudTwig/edit.php diff --git a/crud/index.php b/tpCrudTwig/index.php similarity index 100% rename from crud/index.php rename to tpCrudTwig/index.php diff --git a/crud/modele/twig.php b/tpCrudTwig/modele/twig.php similarity index 100% rename from crud/modele/twig.php rename to tpCrudTwig/modele/twig.php diff --git a/crud/style/style.css b/tpCrudTwig/style/style.css similarity index 100% rename from crud/style/style.css rename to tpCrudTwig/style/style.css diff --git a/tpCrudTwig/test.html b/tpCrudTwig/test.html new file mode 100644 index 0000000..4e33ab7 --- /dev/null +++ b/tpCrudTwig/test.html @@ -0,0 +1,44 @@ + + + + Bootstrap Example + + + + + + + + +
+

Horizontal form

+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+ + + diff --git a/crud/vue/add.twig b/tpCrudTwig/vue/add.twig similarity index 100% rename from crud/vue/add.twig rename to tpCrudTwig/vue/add.twig diff --git a/crud/vue/details.twig b/tpCrudTwig/vue/details.twig similarity index 100% rename from crud/vue/details.twig rename to tpCrudTwig/vue/details.twig diff --git a/crud/vue/edit.twig b/tpCrudTwig/vue/edit.twig similarity index 100% rename from crud/vue/edit.twig rename to tpCrudTwig/vue/edit.twig diff --git a/crud/vue/index.twig b/tpCrudTwig/vue/index.twig similarity index 94% rename from crud/vue/index.twig rename to tpCrudTwig/vue/index.twig index a742497..16a9304 100644 --- a/crud/vue/index.twig +++ b/tpCrudTwig/vue/index.twig @@ -12,6 +12,9 @@ +

Liste des utilisateurs