File tree Expand file tree Collapse file tree 4 files changed +14
-9
lines changed
src/UmbracoFileSystemProviders.Azure.Installer Expand file tree Collapse file tree 4 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 21
21
<form name =" paramForm" class =" form-horizontal" role =" form" >
22
22
<div ng-repeat =" param in parameters" class =" control-group" >
23
23
<ng-form name =" form" >
24
- <label class =" control-label" for =" param.Key " >{{ capitalizeFirstLetter(param.Key ) }}</label >
24
+ <label class =" control-label" for =" param.key " >{{ capitalizeFirstLetter(param.key ) }}</label >
25
25
<div class =" controls" >
26
- <span ng-if =" getInputType(param.Key ) === 'checkbox'" ng-include =" '/App_Plugins/UmbracoFileSystemProviders/Azure/Install/Configurator/Views/checkbox.htm'" ></span >
27
- <span ng-if =" getInputType(param.Key ) === 'text'" ng-include =" '/App_Plugins/UmbracoFileSystemProviders/Azure/Install/Configurator/Views/textfield.htm'" ></span >
26
+ <span ng-if =" getInputType(param.key ) === 'checkbox'" ng-include =" '/App_Plugins/UmbracoFileSystemProviders/Azure/Install/Configurator/Views/checkbox.htm'" ></span >
27
+ <span ng-if =" getInputType(param.key ) === 'text'" ng-include =" '/App_Plugins/UmbracoFileSystemProviders/Azure/Install/Configurator/Views/textfield.htm'" ></span >
28
28
</div >
29
- <span data-ng-show =" {{'form.'+param.Key +'.$dirty && form.'+param.Key +'.$error.required'}}" >Required!</span >
29
+ <span data-ng-show =" {{'form.'+param.key +'.$dirty && form.'+param.key +'.$error.required'}}" >Required!</span >
30
30
</ng-form >
31
31
</div >
32
32
<button preventDefault class =" btn btn-primary" ng-disabled =" paramForm.$invalid" ng-click =" submitForm($event)" >Save</button >
Original file line number Diff line number Diff line change 1
1
< input class ="input-block-level "
2
- dynamic-name ="param.Key "
2
+ dynamic-name ="param.key "
3
3
type ="checkbox "
4
- ng-model ="param.Value "
4
+ ng-model ="param.value "
5
5
ng-true-value ="true "
6
6
ng-false-value ="false ">
Original file line number Diff line number Diff line change 1
1
< input class ="input-block-level "
2
- dynamic-name ="param.Key "
2
+ dynamic-name ="param.key "
3
3
type ="text "
4
- ng-model ="param.Value "
4
+ ng-model ="param.value "
5
5
required >
Original file line number Diff line number Diff line change 1
1
// --------------------------------------------------------------------------------------------------------------------
2
2
// <copyright file="Parameter.cs" company="James Jackson-South">
3
- // Copyright (c) James Jackson-South. All rights reserved. Licensed under the Apache License, Version 2.0.
3
+ // Copyright (c) James Jackson-South. All rights reserved.
4
+ // Licensed under the Apache License, Version 2.0.
4
5
// </copyright>
5
6
// --------------------------------------------------------------------------------------------------------------------
6
7
7
8
namespace Our . Umbraco . FileSystemProviders . Azure . Installer . Models
8
9
{
10
+ using Newtonsoft . Json ;
11
+
9
12
public class Parameter
10
13
{
14
+ [ JsonProperty ( "key" ) ]
11
15
public string Key { get ; set ; }
12
16
17
+ [ JsonProperty ( "value" ) ]
13
18
public string Value { get ; set ; }
14
19
}
15
20
}
You can’t perform that action at this time.
0 commit comments