|
113 | 113 |
|
114 | 114 | @if (Model.RunFromPackage && string.IsNullOrEmpty(Environment.GetEnvironmentVariable(LetsEncrypt.Azure.Core.Models.AppSettingsAuthConfig.webRootPath)))
|
115 | 115 | {
|
116 |
| - <div class="alert alert-warning" role="alert"> |
117 |
| - <p>Web Site was deployed using "Run From Package", the site extension will have to configure a virtual directory to ensure the challenge file can be browsable at http://your-site/.well-known/acme-challenge. </p> |
| 116 | + <div class="alert alert-warning" role="alert"> |
| 117 | + <p>Web Site was deployed using "Run From Package", the site extension will have to configure a virtual directory to ensure the challenge file can be browsable at http://your-site/.well-known/acme-challenge. </p> |
118 | 118 |
|
119 |
| - <p>If you already host content under /.well-known then you should not continue, instead you should follow the manual setup procedure at <a href="https://github.com/sjkp/letsencrypt-siteextension/wiki/Run-From-Package">https://github.com/sjkp/letsencrypt-siteextension/wiki/Run-From-Package</a></p> |
120 |
| - </div> |
| 119 | + <p>If you already host content under /.well-known then you should not continue, instead you should follow the manual setup procedure at <a href="https://github.com/sjkp/letsencrypt-siteextension/wiki/Run-From-Package">https://github.com/sjkp/letsencrypt-siteextension/wiki/Run-From-Package</a></p> |
| 120 | + </div> |
121 | 121 | }
|
122 | 122 | @Html.ValidationSummary(true, "", new { @class = "text-danger" })
|
123 | 123 | @{
|
124 |
| - var authModel = (Model as LetsEncrypt.SiteExtension.Models.AuthenticationModel); |
| 124 | + var authModel = (Model as LetsEncrypt.SiteExtension.Models.AuthenticationModel); |
125 | 125 | }
|
126 | 126 | @if (authModel != null && authModel.Error)
|
127 | 127 | {
|
128 |
| - <div class="alert alert-danger" role="alert"> |
129 |
| - @authModel.ErrorMessage |
130 |
| - </div> |
| 128 | + <div class="alert alert-danger" role="alert"> |
| 129 | + @authModel.ErrorMessage |
| 130 | + </div> |
131 | 131 | }
|
132 | 132 | <div class="form-group">
|
133 | 133 | @Html.LabelFor(model => model.Tenant, htmlAttributes: new { @class = "control-label col-md-2" })
|
|
198 | 198 | @Html.ValidationMessageFor(model => model.SiteSlotName, "", new { @class = "text-danger" })
|
199 | 199 | </div>
|
200 | 200 | </div>
|
| 201 | + <div class="form-group"> |
| 202 | + @Html.LabelFor(model => model.DashboardConnectionString, htmlAttributes: new { @class = "control-label col-md-2" }) |
| 203 | + <div class="col-md-10"> |
| 204 | + @Html.EditorFor(model => model.DashboardConnectionString, new { htmlAttributes = new { @class = "form-control" } }) |
| 205 | + @Html.ValidationMessageFor(model => model.DashboardConnectionString, "", new { @class = "text-danger" }) |
| 206 | + </div> |
| 207 | + </div> |
| 208 | + <div class="form-group"> |
| 209 | + @Html.LabelFor(model => model.StorageConnectionString, htmlAttributes: new { @class = "control-label col-md-2" }) |
| 210 | + <div class="col-md-10"> |
| 211 | + @Html.EditorFor(model => model.StorageConnectionString, new { htmlAttributes = new { @class = "form-control" } }) |
| 212 | + @Html.ValidationMessageFor(model => model.StorageConnectionString, "", new { @class = "text-danger" }) |
| 213 | + </div> |
| 214 | + </div> |
201 | 215 | <div class="form-group">
|
202 | 216 | @Html.LabelFor(model => model.UpdateAppSettings, htmlAttributes: new { @class = "control-label col-md-2" })
|
203 | 217 | <div class="col-md-10">
|
|
0 commit comments