-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This section will only be seen if the settings exists for that provider
- Loading branch information
Erez Freiberger
committed
Oct 18, 2017
1 parent
52c09d4
commit 19b076f
Showing
5 changed files
with
33 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
app/views/layouts/angular-bootstrap/_provider_advanced_settings.html.haml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
app/views/layouts/angular/_per_provider_settings.html.haml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#settings_tabs | ||
%h3 | ||
= _("Settings") | ||
%ul.nav.nav-tabs | ||
= miq_tab_header('proxy_settings', nil, 'ng-click' => "changeAuthTab('proxy_settings')", | ||
'ng-if' => "emsOptionsModel.provider_options.hasOwnProperty('proxy_settings')") do | ||
%i{"error-on-tab" => "proxy_settings", :style => "color:#cc0000"} | ||
= _("Proxy") | ||
= miq_tab_header('advanced_settings', nil, 'ng-click' => "changeAuthTab('advanced_settings')", | ||
'ng-if' => "emsOptionsModel.provider_options.hasOwnProperty('advanced_settings')") do | ||
%i{"error-on-tab" => "advanced_settings", :style => "color:#cc0000"} | ||
= _("Advanced") | ||
|
||
.tab-content | ||
= miq_tab_content('proxy_settings', 'proxy_settings', "ng-if".to_sym => "emsOptionsModel.provider_options.hasOwnProperty('proxy_settings')") do | ||
.form-group | ||
.col-md-12.col-md-12 | ||
= render :partial => "layouts/angular-bootstrap/provider_proxy_settings" | ||
= miq_tab_content('advanced_settings', 'proxy_settings', "ng-if".to_sym => "emsOptionsModel.provider_options.hasOwnProperty('advanced_settings')") do | ||
.form-group | ||
.col-md-12.col-md-12 | ||
= render :partial => "layouts/angular-bootstrap/provider_advanced_settings" | ||
|
||
:javascript | ||
miq_tabs_init('#settings_tabs'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
%h4 | ||
{{ $ctrl.label }} | ||
%p | ||
{{ $ctrl.helpText }} | ||
%provider-option-field-input{"ng-repeat" => "option in $ctrl.settings", | ||
"option" => "option", | ||
"section-name" => "{{ $ctrl.sectionName }}"} |