From c14b07ae87da17fdd565c0bf3d301e59206adb88 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Wed, 30 Jan 2019 10:23:00 +0000 Subject: [PATCH] [REORG] --- .../Controllers/Survey/TestController.cs | 6 ++++- ...html => CalendarEventDateComponent.cshtml} | 1 - src/Yavsc/Views/Test/MarkdownForms.cshtml | 23 +++++++++++++++++++ 3 files changed, 28 insertions(+), 2 deletions(-) rename src/Yavsc/Views/Test/{Index.cshtml => CalendarEventDateComponent.cshtml} (99%) create mode 100644 src/Yavsc/Views/Test/MarkdownForms.cshtml diff --git a/src/Yavsc/Controllers/Survey/TestController.cs b/src/Yavsc/Controllers/Survey/TestController.cs index 578f760d..bc737fc5 100644 --- a/src/Yavsc/Controllers/Survey/TestController.cs +++ b/src/Yavsc/Controllers/Survey/TestController.cs @@ -4,7 +4,11 @@ namespace Yavsc.Controllers { public class TestController: Controller { - public IActionResult Index() + public IActionResult CalendarEventDateComponent() + { + return View(); + } + public IActionResult MarkdownForms() { return View(); } diff --git a/src/Yavsc/Views/Test/Index.cshtml b/src/Yavsc/Views/Test/CalendarEventDateComponent.cshtml similarity index 99% rename from src/Yavsc/Views/Test/Index.cshtml rename to src/Yavsc/Views/Test/CalendarEventDateComponent.cshtml index ebf113a4..24fc4cb2 100644 --- a/src/Yavsc/Views/Test/Index.cshtml +++ b/src/Yavsc/Views/Test/CalendarEventDateComponent.cshtml @@ -1,7 +1,6 @@ @model Yavsc.ViewModels.Test.CalendarViewModel @{ ViewData["Title"] = @SR["Page d'accueil"]; - int i=0; } @section header { diff --git a/src/Yavsc/Views/Test/MarkdownForms.cshtml b/src/Yavsc/Views/Test/MarkdownForms.cshtml new file mode 100644 index 00000000..95c1fc07 --- /dev/null +++ b/src/Yavsc/Views/Test/MarkdownForms.cshtml @@ -0,0 +1,23 @@ + + +# Title + +## ![get:test] (/Test/Register) + +![legacy_image](/images/logo-dev.png) + +![input:text:name](Your name:) + +!(input:email)(Email (ex:blouh&john.net)) + +!(input:phone)(Enter your phone here, (ex:555 802 45 7897)) + +!(input:textarea:message)(Enter your message, and get some terrific WTF you want to do with.(ex:blouh&john.net)) + +!(input:choice:yours)(And choose betwen [alpha,beta,gamma]) + +## ![post:Another](/test/Form) + +Or else, ![input:textarea:yours](enter you life here :-)) + + \ No newline at end of file