-
Notifications
You must be signed in to change notification settings - Fork 900
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from h-kataria/ae_domains_crud_ui
Added CRUD support for Automate Domains.
- Loading branch information
Showing
18 changed files
with
682 additions
and
293 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
48 changes: 48 additions & 0 deletions
48
vmdb/app/views/miq_ae_class/_domains_priority_form.html.erb
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,48 @@ | ||
<%= render :partial => "layouts/flash_msg", :locals=>{:div_num=>"_domains_priority"} %> | ||
<div id="domains_list"> | ||
<table class="admintable"> | ||
<tbody> | ||
<tr> | ||
<td > | ||
<table width="50%" class="form" id="formtest"> | ||
<tr> | ||
<td align="left" class="widthed">Domains:</td> | ||
<td></td> | ||
</tr> | ||
<tr> | ||
<td align="left" valign="top"> | ||
<%= select_tag('seq_fields[]', options_for_select(@edit[:new][:domain_order], @selected), { :multiple=> true, :style=>"width: 450px", :size=>20, :id=>"seq_fields" } ) %> | ||
</td> | ||
<td width="30" align="left" valign="middle"> | ||
<% if @edit[:new][:domain_order].length < 2 %> | ||
<%= image_tag("/images/toolbars/up.png", :class=>"dimmed small") %> | ||
<% else %> | ||
<%= link_to(image_tag("/images/toolbars/up.png", | ||
:class=>"rollover small", :alt=>"Move selected fields up"), | ||
{:action=>'priority_form_field_changed', :button=>'up', :id=>"priority__edit"}, | ||
"data-submit" =>"domains_list", | ||
:remote=>true, | ||
:title=>'Move selected fields up') | ||
%> | ||
<% end %> | ||
|
||
<% if @edit[:new][:domain_order].length < 2 %> | ||
<%= image_tag("/images/toolbars/down.png", :class=>"dimmed small") %> | ||
<% else %> | ||
<%= link_to(image_tag("/images/toolbars/down.png", | ||
:class=>"rollover small", :alt=>"Move selected fields down"), | ||
{:action=>'priority_form_field_changed', :button=>'down', :id=>"priority__edit"}, | ||
"data-submit" =>"domains_list", | ||
:remote=>true, | ||
:title=>'Move selected fields down') | ||
%> | ||
<% end %> | ||
</td> | ||
</tr> | ||
<div class="note">* Select one or more consecutive groups to move up or down.</div> | ||
</table> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> |
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
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
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
Oops, something went wrong.