File tree Expand file tree Collapse file tree 4 files changed +26
-26
lines changed
src/UmbracoFileSystemProviders.Azure.Installer Expand file tree Collapse file tree 4 files changed +26
-26
lines changed Original file line number Diff line number Diff line change 1212 < div >
1313 < fieldset >
1414 < legend > < h4 > To complete installation, please enter the required parameters for the Azure storage provider below</ h4 > </ legend >
15- < form name ="paramForm " class ="form-horizontal " role ="form ">
15+ < ng- form name ="paramForm " class ="form-horizontal " role ="form ">
1616 < div ng-repeat ="param in parameters " class ="control-group ">
17- < ng-form name ="form ">
18- < label class ="control-label " for ="{{param.key}} " style ="width:160px "> {{ capitalizeFirstLetter(param.key) }}</ label >
19- < div class ="controls ">
20- < span ng-if ="getInputType(param.key) === 'checkbox' " ng-include ="'/App_Plugins/UmbracoFileSystemProviders/Azure/Install/Configurator/Views/checkbox.htm' "> </ span >
21- < span ng-if ="getInputType(param.key) === 'text' " ng-include ="'/App_Plugins/UmbracoFileSystemProviders/Azure/Install/Configurator/Views/textfield.htm' "> </ span >
22- </ div >
23- < span data-ng-show ="{{'form.' + param.key + '.$dirty && form.' + param.key + '.$error.required'}} "> Required!</ span >
24- </ ng-form >
17+ < label class ="control-label " for ="{{param.key}} " style ="width:160px "> {{ capitalizeFirstLetter(param.key) }}</ label >
18+ < div class ="controls ">
19+ < span ng-if ="getInputType(param.key) === 'checkbox' ">
20+ < input class ="input-block-level "
21+ style ="width:600px "
22+ name ="{{param.key}} "
23+ type ="checkbox "
24+ ng-model ="param.value "
25+ ng-true-value ="'true' "
26+ ng-false-value ="'false' "
27+ ng-init ="param.value ">
28+ </ span >
29+ < span ng-if ="getInputType(param.key) === 'text' ">
30+ < input class ="input-block-level "
31+ style ="width:600px "
32+ name ="{{param.key}} "
33+ type ="text "
34+ ng-model ="param.value "
35+ required >
36+ </ span >
37+ </ div >
38+ < span data-ng-show ="{{'paramForm.' + param.key + '.$dirty && paramForm.' + param.key + '.$error.required'}} "> Required!</ span >
39+
2540 </ div >
26- < button preventDefault class ="btn btn-primary " ng-disabled ="paramForm.$invalid " ng-click =" submitForm($event) "> Save</ button >
27- </ form >
41+ < button preventDefault class ="btn btn-primary " ng-click ="paramForm.$valid && submitForm($event) "> Save</ button >
42+ </ ng- form>
2843 </ fieldset >
2944 </ div >
3045 </ div >
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 316316 </ItemGroup >
317317 <ItemGroup >
318318 <Content Include =" Configurator\Controllers\Configure.js" />
319- <Content Include =" Configurator\Views\checkbox.htm" />
320319 <Content Include =" Configurator\Views\configure.htm" />
321- <Content Include =" Configurator\Views\textfield.htm" />
322320 </ItemGroup >
323321 <ItemGroup >
324322 <ProjectReference Include =" ..\UmbracoFileSystemProviders.Azure\UmbracoFileSystemProviders.Azure.csproj" >
You can’t perform that action at this time.
0 commit comments