forked from NuGet/NuGetGallery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
LogOn.generated.cs
202 lines (121 loc) · 5.14 KB
/
LogOn.generated.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.488
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace NuGetGallery.Views.Authentication
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;
using System.Web.Helpers;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using System.Web.Mvc.Html;
using System.Web.Routing;
using System.Web.Security;
using System.Web.UI;
using System.Web.WebPages;
using Microsoft.Web.Helpers;
#line 1 "..\..\Views\Authentication\LogOn.cshtml"
using NuGetGallery;
#line default
#line hidden
[System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")]
[System.Web.WebPages.PageVirtualPathAttribute("~/Views/Authentication/LogOn.cshtml")]
public class LogOn : System.Web.Mvc.WebViewPage<SignInRequest>
{
public LogOn()
{
}
public override void Execute()
{
WriteLiteral("\r\n<h1>Log On</h1>\r\n\r\n<p>\r\n Don\'t have an account yet? <a href=\"");
#line 7 "..\..\Views\Authentication\LogOn.cshtml"
Write(Url.Action(MVC.Users.Register()));
#line default
#line hidden
WriteLiteral("\">Register now.</a>\r\n</p>\r\n\r\n");
#line 10 "..\..\Views\Authentication\LogOn.cshtml"
using (Html.BeginForm()) {
#line default
#line hidden
WriteLiteral(" <fieldset class=\"form\">\r\n <legend>Log On Form</legend>\r\n\r\n ");
#line 14 "..\..\Views\Authentication\LogOn.cshtml"
Write(Html.AntiForgeryToken());
#line default
#line hidden
WriteLiteral("\r\n ");
#line 15 "..\..\Views\Authentication\LogOn.cshtml"
Write(Html.ValidationSummary(true));
#line default
#line hidden
WriteLiteral("\r\n\r\n");
#line 17 "..\..\Views\Authentication\LogOn.cshtml"
if (ViewBag.ConfirmationRequired != null && ViewBag.ConfirmationRequired) {
#line default
#line hidden
WriteLiteral(@" <p class=""validation-summary-errors"">
Before you can log on, you’ll need to confirm your account. When you registered,
we sent you an email with a URL you can click to confirm your account.
Please check your spam folder if you did not receive the confirmation email.
</p>
");
WriteLiteral(" <p class=\"validation-summary-errors\">\r\n ");
#line 24 "..\..\Views\Authentication\LogOn.cshtml"
Write(Html.ActionLink("Lost your confirmation email?", "ResendConfirmation", "Users"));
#line default
#line hidden
WriteLiteral("\r\n </p>\r\n");
#line 26 "..\..\Views\Authentication\LogOn.cshtml"
}
#line default
#line hidden
WriteLiteral("\r\n ");
#line 28 "..\..\Views\Authentication\LogOn.cshtml"
Write(Html.EditorForModel());
#line default
#line hidden
WriteLiteral("\r\n\r\n <img src=\"");
#line 30 "..\..\Views\Authentication\LogOn.cshtml"
Write(Url.Content("~/content/images/required.png"));
#line default
#line hidden
WriteLiteral("\" alt=\"Blue border on left means required.\" />\r\n\r\n <input type=\"submit\" va" +
"lue=\"Log On\" title=\"Log On\" />\r\n ");
#line 33 "..\..\Views\Authentication\LogOn.cshtml"
Write(Html.ActionLink("Lost your Password?", "ForgotPassword", "Users"));
#line default
#line hidden
WriteLiteral("\r\n </fieldset>\r\n");
#line 35 "..\..\Views\Authentication\LogOn.cshtml"
}
#line default
#line hidden
WriteLiteral("\r\n");
DefineSection("BottomScripts", () => {
WriteLiteral("\r\n <script src=\"");
#line 38 "..\..\Views\Authentication\LogOn.cshtml"
Write(Url.Content("~/Scripts/jquery.validate.min.js"));
#line default
#line hidden
WriteLiteral("\"></script>\r\n <script src=\"");
#line 39 "..\..\Views\Authentication\LogOn.cshtml"
Write(Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js"));
#line default
#line hidden
WriteLiteral("\"></script>\r\n");
});
}
}
}
#pragma warning restore 1591