コード例 #1
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 2 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Detay.cshtml"

            ViewData["Title"] = "Detay";
            Layout            = "~/Views/Shared/_Layout.cshtml";

#line default
#line hidden
            BeginContext(107, 608, true);
            WriteLiteral(@"

<div class=""content"">
    <div>
        <div class=""row"">
            <div class=""col-lg-6"">
                <div class=""hpanel"">
                    <div class=""panel-heading"">
                        <div class=""panel-tools"">
                            <a class=""showhide""><i class=""fa fa-chevron-up""></i></a>
                            <a class=""closebox""><i class=""fa fa-times""></i></a>
                        </div>
                        Görev Detay
                    </div>
                    <div class=""panel-body"">
                        <input type=""hidden"" id=""returnUrl""");
            EndContext();
            BeginWriteAttribute("value", " value=\"", 715, "\"", 752, 1);
#line 21 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Detay.cshtml"
            WriteAttributeValue("", 723, Url.Action("Index", "Gorev"), 723, 29, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(753, 29, true);
            WriteLiteral(" />\r\n                        ");
            EndContext();
            BeginContext(782, 5552, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2f7c952c37b8b8d9bac870814338ab8c2dcd9e3f6724", async() => {
                BeginContext(921, 62, true);
                WriteLiteral("\r\n\r\n                            <input type=\"hidden\" name=\"id\"");
                EndContext();
                BeginWriteAttribute("value", " value=\"", 983, "\"", 1000, 1);
#line 24 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Detay.cshtml"
                WriteAttributeValue("", 991, Model.id, 991, 9, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(1001, 357, true);
                WriteLiteral(@" />

                            <div class=""form-group"">
                                <label class=""col-sm-4 control-label""> Kullanıcı</label>
                                <div class=""col-sm-8"">
                                    <select class=""selectKullanici"" style=""width: 100%"" name=""refKullanici"">
                                        ");
                EndContext();
                BeginContext(1358, 47, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2f7c952c37b8b8d9bac870814338ab8c2dcd9e3f7937", async() => {
                    BeginContext(1376, 20, true);
                    WriteLiteral(" Kullanıcı Seçiniz  ");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper);
                __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1405, 2, true);
                WriteLiteral("\r\n");
                EndContext();
#line 31 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Detay.cshtml"
                foreach (var item in Kullanici.Listele())
                {
                    if (Model.refKullanici == item.Id)
                    {
#line default
#line hidden
                        BeginContext(1661, 48, true);
                        WriteLiteral("                                                ");
                        EndContext();
                        BeginContext(1709, 60, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2f7c952c37b8b8d9bac870814338ab8c2dcd9e3f9937", async() => {
                            BeginContext(1743, 2, true);
                            WriteLiteral("  ");
                            EndContext();
                            BeginContext(1746, 12, false);
#line 35 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Detay.cshtml"
                            Write(item.AdSoyad);

#line default
#line hidden
                            EndContext();
                            BeginContext(1758, 2, true);
                            WriteLiteral("  ");
                            EndContext();
                        }
                                                                                    );
                        __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>();
                        __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper);
                        BeginWriteTagHelperAttribute();
                        __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                        __tagHelperExecutionContext.AddHtmlAttribute("selected", Html.Raw(__tagHelperStringValueBuffer), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.Minimized);
                        BeginWriteTagHelperAttribute();
#line 35 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Detay.cshtml"
                        WriteLiteral(item.Id);

#line default
#line hidden
                        __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                        __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = __tagHelperStringValueBuffer;
                        __tagHelperExecutionContext.AddTagHelperAttribute("value", __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1769, 2, true);
                        WriteLiteral("\r\n");
                        EndContext();
#line 36 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Detay.cshtml"
                    }
                    else
                    {
#line default
#line hidden
                        BeginContext(1915, 48, true);
                        WriteLiteral("                                                ");
                        EndContext();
                        BeginContext(1963, 51, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2f7c952c37b8b8d9bac870814338ab8c2dcd9e3f12990", async() => {
                            BeginContext(1988, 2, true);
                            WriteLiteral("  ");
                            EndContext();
                            BeginContext(1991, 12, false);
#line 39 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Detay.cshtml"
                            Write(item.AdSoyad);

#line default
#line hidden
                            EndContext();
                            BeginContext(2003, 2, true);
                            WriteLiteral("  ");
                            EndContext();
                        }
                                                                                    );
                        __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>();
                        __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper);
                        BeginWriteTagHelperAttribute();
#line 39 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Detay.cshtml"
                        WriteLiteral(item.Id);

#line default
#line hidden
                        __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                        __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = __tagHelperStringValueBuffer;
                        __tagHelperExecutionContext.AddTagHelperAttribute("value", __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(2014, 2, true);
                        WriteLiteral("\r\n");
                        EndContext();
#line 40 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Detay.cshtml"
                    }
                }

#line default
#line hidden
                BeginContext(2108, 526, true);
                WriteLiteral(@"                                    </select>
                                    <span class=""help-block m-b-none""> <i>Görev sahibini seçiniz.</i></span>
                                </div>
                            </div>

                            <div class=""form-group"">
                                <label class=""col-sm-4 control-label""> Görev Ad</label>

                                <div class=""col-sm-8"">
                                    <input type=""text"" class=""form-control"" name=""GorevAd""");
                EndContext();
                BeginWriteAttribute("value", " value=\"", 2634, "\"", 2656, 1);
#line 52 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Detay.cshtml"
                WriteAttributeValue("", 2642, Model.GorevAd, 2642, 14, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(2657, 667, true);
                WriteLiteral(@">
                                </div>
                            </div>


                            <div class=""form-group"">
                                <label class=""col-sm-4 control-label""> Baslangıç</label>

                                <div class=""col-sm-8"">
                                    <div class=""input-group date"" id=""dtBaslangic"">
                                        <span class=""input-group-addon"">
                                            <span class=""fa fa-calendar""></span>
                                        </span>
                                        <input type=""text"" class=""form-control"" name=""start""");
                EndContext();
                BeginWriteAttribute("value", " value=\"", 3324, "\"", 3344, 1);
#line 65 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Detay.cshtml"
                WriteAttributeValue("", 3332, Model.start, 3332, 12, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(3345, 699, true);
                WriteLiteral(@">
                                    </div>
                                </div>
                            </div>

                            <div class=""form-group"">
                                <label class=""col-sm-4 control-label""> Bitiş</label>

                                <div class=""col-sm-8"">
                                    <div class=""input-group date"" id=""dtBitis"">
                                        <span class=""input-group-addon"">
                                            <span class=""fa fa-calendar""></span>
                                        </span>
                                        <input type=""text"" class=""form-control"" name=""end""");
                EndContext();
                BeginWriteAttribute("value", " value=\"", 4044, "\"", 4062, 1);
#line 78 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Detay.cshtml"
                WriteAttributeValue("", 4052, Model.end, 4052, 10, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(4063, 474, true);
                WriteLiteral(@">
                                    </div>
                                </div>
                            </div>

                            <div class=""form-group"">
                                <label class=""col-sm-4 control-label""> Görev Durum</label>
                                <div class=""col-sm-8"">
                                    <select class=""selectGorevDurum"" style=""width: 100%"" name=""refDurum"">
                                        ");
                EndContext();
                BeginContext(4537, 50, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2f7c952c37b8b8d9bac870814338ab8c2dcd9e3f19243", async() => {
                    BeginContext(4555, 23, true);
                    WriteLiteral(" Görev Durumu Seçiniz  ");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper);
                __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(4587, 2, true);
                WriteLiteral("\r\n");
                EndContext();
#line 88 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Detay.cshtml"
                foreach (var item in GorevDurum.Listele())
                {
                    if (Model.refDurum == item.Id)
                    {
#line default
#line hidden
                        BeginContext(4840, 48, true);
                        WriteLiteral("                                                ");
                        EndContext();
                        BeginContext(4888, 58, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2f7c952c37b8b8d9bac870814338ab8c2dcd9e3f21244", async() => {
                            BeginContext(4922, 2, true);
                            WriteLiteral("  ");
                            EndContext();
                            BeginContext(4925, 10, false);
#line 92 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Detay.cshtml"
                            Write(item.Durum);

#line default
#line hidden
                            EndContext();
                            BeginContext(4935, 2, true);
                            WriteLiteral("  ");
                            EndContext();
                        }
                                                                                    );
                        __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>();
                        __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper);
                        BeginWriteTagHelperAttribute();
                        __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                        __tagHelperExecutionContext.AddHtmlAttribute("selected", Html.Raw(__tagHelperStringValueBuffer), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.Minimized);
                        BeginWriteTagHelperAttribute();
#line 92 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Detay.cshtml"
                        WriteLiteral(item.Id);

#line default
#line hidden
                        __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                        __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = __tagHelperStringValueBuffer;
                        __tagHelperExecutionContext.AddTagHelperAttribute("value", __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(4946, 2, true);
                        WriteLiteral("\r\n");
                        EndContext();
#line 93 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Detay.cshtml"
                    }
                    else
                    {
#line default
#line hidden
                        BeginContext(5092, 48, true);
                        WriteLiteral("                                                ");
                        EndContext();
                        BeginContext(5140, 49, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2f7c952c37b8b8d9bac870814338ab8c2dcd9e3f24296", async() => {
                            BeginContext(5165, 2, true);
                            WriteLiteral("  ");
                            EndContext();
                            BeginContext(5168, 10, false);
#line 96 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Detay.cshtml"
                            Write(item.Durum);

#line default
#line hidden
                            EndContext();
                            BeginContext(5178, 2, true);
                            WriteLiteral("  ");
                            EndContext();
                        }
                                                                                    );
                        __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>();
                        __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper);
                        BeginWriteTagHelperAttribute();
#line 96 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Detay.cshtml"
                        WriteLiteral(item.Id);

#line default
#line hidden
                        __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                        __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = __tagHelperStringValueBuffer;
                        __tagHelperExecutionContext.AddTagHelperAttribute("value", __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(5189, 2, true);
                        WriteLiteral("\r\n");
                        EndContext();
#line 97 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Detay.cshtml"
                    }
                }

#line default
#line hidden
                BeginContext(5283, 409, true);
                WriteLiteral(@"                                    </select>

                                </div>
                            </div>

                            <div class=""form-group"">
                                <label class=""col-sm-4 control-label""> Not</label>

                                <div class=""col-sm-8"">
                                    <input type=""text"" class=""form-control"" name=""Not""");
                EndContext();
                BeginWriteAttribute("value", " value=\"", 5692, "\"", 5710, 1);
#line 109 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Detay.cshtml"
                WriteAttributeValue("", 5700, Model.Not, 5700, 10, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(5711, 342, true);
                WriteLiteral(@">
                                </div>
                            </div>

                            <div class=""form-group"">
                                
                                <div class=""col-sm-6 col-sm-offset-5"">
                                    <a class='btn btn-danger default-delete' data-url='/Gorev/Sil?Id=");
                EndContext();
                BeginContext(6054, 8, false);
#line 116 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Detay.cshtml"
                Write(Model.id);

#line default
#line hidden
                EndContext();
                BeginContext(6062, 13, true);
                WriteLiteral("\' data-name=\'");
                EndContext();
                BeginContext(6076, 13, false);
#line 116 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Detay.cshtml"
                Write(Model.GorevAd);

#line default
#line hidden
                EndContext();
                BeginContext(6089, 238, true);
                WriteLiteral("\' href=\'javascript:void(0)\'>Sil</a>\r\n                                    <button class=\"btn btn-primary\" type=\"submit\">Kaydet</button>\r\n                                </div>\r\n                            </div>\r\n\r\n                        ");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper);
            BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "action", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 22 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Detay.cshtml"
            AddHtmlAttributeValue("", 796, Url.Action("Guncelle", "Gorev"), 796, 32, false);

#line default
#line hidden
            EndAddHtmlAttributeValues(__tagHelperExecutionContext);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_1.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(6334, 114, true);
            WriteLiteral("\r\n                    </div>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>\r\n\r\n\r\n");
            EndContext();
            DefineSection("Scripts", async() => {
                BeginContext(6466, 549, true);
                WriteLiteral(@"


    <script type=""text/javascript"">

        $(function () {
            $("".selectKullanici"").select2({
                placeholder: ""Kullanıcı Seçiniz"",
            });

            $("".selectGorevDurum"").select2({
                placeholder: ""Durum Seçiniz"",
            });


            $('#dtBaslangic').datetimepicker({
                format: 'DD.MM.YYYY HH:mm'
            });

            $('#dtBitis').datetimepicker({
                format: 'DD.MM.YYYY HH:mm'
            });
        });
    </script>



");
                EndContext();
            }
                          );
            BeginContext(7018, 2, true);
            WriteLiteral("\r\n");
            EndContext();
        }
コード例 #2
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(0, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 2 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Olustur.cshtml"

            ViewData["Title"] = "Olustur";
            Layout            = "_Layout";

#line default
#line hidden
            BeginContext(70, 608, true);
            WriteLiteral(@"
<div class=""content"">
    <div>
        <div class=""row"">
            <div class=""col-lg-6"">
                <div class=""hpanel"">
                    <div class=""panel-heading"">
                        <div class=""panel-tools"">
                            <a class=""showhide""><i class=""fa fa-chevron-up""></i></a>
                            <a class=""closebox""><i class=""fa fa-times""></i></a>
                        </div>
                        Görev oluştur
                    </div>
                    <div class=""panel-body"">
                        <input type=""hidden"" id=""returnUrl""");
            EndContext();
            BeginWriteAttribute("value", " value=\"", 678, "\"", 715, 1);
#line 20 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Olustur.cshtml"
            WriteAttributeValue("", 686, Url.Action("Index", "Gorev"), 686, 29, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(716, 29, true);
            WriteLiteral(" />\r\n                        ");
            EndContext();
            BeginContext(745, 4426, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "de08220b4b0287073a98370f32e7c6fd2a81b13d6818", async() => {
                BeginContext(881, 354, true);
                WriteLiteral(@"

                            <div class=""form-group"">
                                <label class=""col-sm-4 control-label""> Kullanıcı</label>
                                <div class=""col-sm-8"">
                                    <select class=""selectKullanici"" style=""width: 100%"" name=""refKullanici"">
                                        ");
                EndContext();
                BeginContext(1235, 47, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "de08220b4b0287073a98370f32e7c6fd2a81b13d7565", async() => {
                    BeginContext(1253, 20, true);
                    WriteLiteral(" Kullanıcı Seçiniz  ");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper);
                __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1282, 2, true);
                WriteLiteral("\r\n");
                EndContext();
#line 28 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Olustur.cshtml"
                foreach (var item in Kullanici.Listele())
                {
#line default
#line hidden
                    BeginContext(1411, 44, true);
                    WriteLiteral("                                            ");
                    EndContext();
                    BeginContext(1455, 51, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "de08220b4b0287073a98370f32e7c6fd2a81b13d9436", async() => {
                        BeginContext(1480, 2, true);
                        WriteLiteral("  ");
                        EndContext();
                        BeginContext(1483, 12, false);
#line 30 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Olustur.cshtml"
                        Write(item.AdSoyad);

#line default
#line hidden
                        EndContext();
                        BeginContext(1495, 2, true);
                        WriteLiteral("  ");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper);
                    BeginWriteTagHelperAttribute();
#line 30 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Olustur.cshtml"
                    WriteLiteral(item.Id);

#line default
#line hidden
                    __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                    __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = __tagHelperStringValueBuffer;
                    __tagHelperExecutionContext.AddTagHelperAttribute("value", __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1506, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
#line 31 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Olustur.cshtml"
                }

#line default
#line hidden
                BeginContext(1551, 2366, true);
                WriteLiteral(@"                                    </select>
                                    <span class=""help-block m-b-none""> <i>Görev sahibini seçiniz.</i></span>
                                </div>
                            </div>

                            <div class=""form-group"">
                                <label class=""col-sm-4 control-label""> Görev Ad</label>

                                <div class=""col-sm-8"">
                                    <input type=""text"" class=""form-control"" name=""GorevAd"">
                                </div>
                            </div>


                            <div class=""form-group"">
                                <label class=""col-sm-4 control-label""> Baslangıç</label>

                                <div class=""col-sm-8"">
                                    <div class=""input-group date"" id=""dtBaslangic"">
                                        <span class=""input-group-addon"">
                                            <span clas");
                WriteLiteral(@"s=""fa fa-calendar""></span>
                                        </span>
                                        <input type=""text"" class=""form-control"" name=""start"">
                                    </div>
                                </div>
                            </div>

                            <div class=""form-group"">
                                <label class=""col-sm-4 control-label""> Bitiş</label>

                                <div class=""col-sm-8"">
                                    <div class=""input-group date"" id=""dtBitis"">
                                        <span class=""input-group-addon"">
                                            <span class=""fa fa-calendar""></span>
                                        </span>
                                        <input type=""text"" class=""form-control"" name=""end"">
                                    </div>
                                </div>
                            </div>

                            <di");
                WriteLiteral(@"v class=""form-group"">
                                <label class=""col-sm-4 control-label""> Görev Durum</label>
                                <div class=""col-sm-8"">
                                    <select class=""selectGorevDurum"" style=""width: 100%"" name=""refDurum"">
                                        ");
                EndContext();
                BeginContext(3917, 50, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "de08220b4b0287073a98370f32e7c6fd2a81b13d14504", async() => {
                    BeginContext(3935, 23, true);
                    WriteLiteral(" Görev Durumu Seçiniz  ");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper);
                __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(3967, 2, true);
                WriteLiteral("\r\n");
                EndContext();
#line 77 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Olustur.cshtml"
                foreach (var item in GorevDurum.Listele())
                {
#line default
#line hidden
                    BeginContext(4097, 44, true);
                    WriteLiteral("                                            ");
                    EndContext();
                    BeginContext(4141, 49, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "de08220b4b0287073a98370f32e7c6fd2a81b13d16380", async() => {
                        BeginContext(4166, 2, true);
                        WriteLiteral("  ");
                        EndContext();
                        BeginContext(4169, 10, false);
#line 79 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Olustur.cshtml"
                        Write(item.Durum);

#line default
#line hidden
                        EndContext();
                        BeginContext(4179, 2, true);
                        WriteLiteral("  ");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper);
                    BeginWriteTagHelperAttribute();
#line 79 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Olustur.cshtml"
                    WriteLiteral(item.Id);

#line default
#line hidden
                    __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                    __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = __tagHelperStringValueBuffer;
                    __tagHelperExecutionContext.AddTagHelperAttribute("value", __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(4190, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
#line 80 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Olustur.cshtml"
                }

#line default
#line hidden
                BeginContext(4235, 929, true);
                WriteLiteral(@"                                    </select>
                                    <span class=""help-block m-b-none""> <i>Görev sahibini seçiniz.</i></span>
                                </div>
                            </div>

                            <div class=""form-group"">
                                <label class=""col-sm-4 control-label""> Not</label>

                                <div class=""col-sm-8"">
                                    <input type=""text"" class=""form-control"" name=""Not"">
                                </div>
                            </div>

                            <div class=""form-group"">
                                <div class=""col-sm-12 col-sm-offset-10"">

                                    <button class=""btn btn-primary"" type=""submit"">Kaydet</button>
                                </div>
                            </div>

                        ");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper);
            BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "action", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 21 "D:\GithubProjeler\TaskManager\TaskWeb\Views\Gorev\Olustur.cshtml"
            AddHtmlAttributeValue("", 759, Url.Action("Kaydet", "Gorev"), 759, 30, false);

#line default
#line hidden
            EndAddHtmlAttributeValues(__tagHelperExecutionContext);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_1.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(5171, 114, true);
            WriteLiteral("\r\n                    </div>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>\r\n\r\n\r\n");
            EndContext();
            DefineSection("Scripts", async() => {
                BeginContext(5303, 561, true);
                WriteLiteral(@"


    <script type=""text/javascript"">

        $(function () {
            $("".selectKullanici"").select2({
                placeholder: ""Kullanıcı Seçiniz"",
            });

            $("".selectGorevDurum"").select2({
                placeholder: ""Durum Seçiniz"",
            });
            

            $('#dtBaslangic').datetimepicker({
                format: 'DD.MM.YYYY HH:mm'
            });

            $('#dtBitis').datetimepicker({
                format: 'DD.MM.YYYY HH:mm'
            });
        });
    </script>



");
                EndContext();
            }
                          );
        }
コード例 #3
0
 public IActionResult Kullanicilar()
 {
     return(View(Kullanici.Listele()));
 }