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 2121 <form name =" paramForm" class =" form-horizontal" role =" form" >
2222 <div ng-repeat =" param in parameters" class =" control-group" >
2323 <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 >
2525 <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 >
2828 </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 >
3030 </ng-form >
3131 </div >
3232 <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 11< input class ="input-block-level "
2- dynamic-name ="param.Key "
2+ dynamic-name ="param.key "
33 type ="checkbox "
4- ng-model ="param.Value "
4+ ng-model ="param.value "
55 ng-true-value ="true "
66 ng-false-value ="false ">
Original file line number Diff line number Diff line change 11< input class ="input-block-level "
2- dynamic-name ="param.Key "
2+ dynamic-name ="param.key "
33 type ="text "
4- ng-model ="param.Value "
4+ ng-model ="param.value "
55 required >
Original file line number Diff line number Diff line change 11// --------------------------------------------------------------------------------------------------------------------
22// <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.
45// </copyright>
56// --------------------------------------------------------------------------------------------------------------------
67
78namespace Our . Umbraco . FileSystemProviders . Azure . Installer . Models
89{
10+ using Newtonsoft . Json ;
11+
912 public class Parameter
1013 {
14+ [ JsonProperty ( "key" ) ]
1115 public string Key { get ; set ; }
1216
17+ [ JsonProperty ( "value" ) ]
1318 public string Value { get ; set ; }
1419 }
1520}
You can’t perform that action at this time.
0 commit comments