-
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.
Merge pull request #624 from epwinchell/new_decorators
Add and update decorators
- Loading branch information
Showing
40 changed files
with
385 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
class AvailabilityZoneDecorator < MiqDecorator | ||
def self.fonticon | ||
'pficon pficon-zone' | ||
end | ||
|
||
def fonticon | ||
'pficon pficon-zone' | ||
end | ||
|
||
def listicon_image | ||
'100/availability_zone.png' | ||
end | ||
end |
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,13 @@ | ||
class CloudNetworkDecorator < MiqDecorator | ||
def self.fonticon | ||
'product product-cloud_network' | ||
end | ||
|
||
def fonticon | ||
'product product-cloud_network' | ||
end | ||
|
||
def listicon_image | ||
'100/cloud_network.png' | ||
end | ||
end |
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,13 @@ | ||
class CloudObjectStoreContainerDecorator < MiqDecorator | ||
def self.fonticon | ||
'product product-cloud_object_store' | ||
end | ||
|
||
def fonticon | ||
'product product-cloud_object_store' | ||
end | ||
|
||
def listicon_image | ||
'100/cloud_object_store_container.png' | ||
end | ||
end |
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,13 @@ | ||
class CloudObjectStoreObjectDecorator < MiqDecorator | ||
def self.fonticon | ||
'product product-cloud_object_store' | ||
end | ||
|
||
def fonticon | ||
'product product-cloud_object_store' | ||
end | ||
|
||
def listicon_image | ||
'100/cloud_object_store_container.png' | ||
end | ||
end |
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,13 @@ | ||
class CloudSubnetDecorator < MiqDecorator | ||
def self.fonticon | ||
'pficon pficon-network' | ||
end | ||
|
||
def fonticon | ||
'pficon pficon-network' | ||
end | ||
|
||
def listicon_image | ||
'100/cloud_subnet.png' | ||
end | ||
end |
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,13 @@ | ||
class CloudTenantDecorator < MiqDecorator | ||
def self.fonticon | ||
'pficon pficon-cloud-tenant' | ||
end | ||
|
||
def fonticon | ||
'pficon pficon-cloud-tenant' | ||
end | ||
|
||
def listicon_image | ||
'100/cloud_tenant.png' | ||
end | ||
end |
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,13 @@ | ||
class CloudVolumeBackupDecorator < MiqDecorator | ||
def self.fonticon | ||
'pficon pficon-volume' | ||
end | ||
|
||
def fonticon | ||
'pficon pficon-volume' | ||
end | ||
|
||
def listicon_image | ||
'100/cloud_volume.png' | ||
end | ||
end |
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,13 @@ | ||
class CloudVolumeDecorator < MiqDecorator | ||
def self.fonticon | ||
'pficon pficon-volume' | ||
end | ||
|
||
def fonticon | ||
'pficon pficon-volume' | ||
end | ||
|
||
def listicon_image | ||
'100/cloud_volume.png' | ||
end | ||
end |
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,13 @@ | ||
class CloudVolumeSnapshotDecorator < MiqDecorator | ||
def self.fonticon | ||
'fa fa-camera' | ||
end | ||
|
||
def fonticon | ||
'fa fa-camera' | ||
end | ||
|
||
def listicon_image | ||
'100/cloud_volume_snapshot.png' | ||
end | ||
end |
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,9 @@ | ||
class ContainerBuildDecorator < MiqDecorator | ||
def fonticon | ||
'pficon pficon-build' | ||
end | ||
|
||
def listicon_image | ||
'100/container_build.png' | ||
end | ||
end |
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,5 +1,13 @@ | ||
class ContainerDecorator < MiqDecorator | ||
def self.fonticon | ||
'fa fa-cube' | ||
end | ||
|
||
def fonticon | ||
'fa fa-cube' | ||
end | ||
|
||
def listicon_image | ||
'100/container.png' | ||
end | ||
end |
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,13 @@ | ||
class ContainerGroupDecorator < MiqDecorator | ||
def self.fonticon | ||
'fa fa-cubes' | ||
end | ||
|
||
def fonticon | ||
'fa fa-cubes' | ||
end | ||
|
||
def listicon_image | ||
'100/container_group.png' | ||
end | ||
end |
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,13 @@ | ||
class ContainerImageDecorator < MiqDecorator | ||
def self.fonticon | ||
'pficon pficon-image' | ||
end | ||
|
||
def fonticon | ||
'pficon pficon-image' | ||
end | ||
|
||
def listicon_image | ||
'100/container_image.png' | ||
end | ||
end |
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,13 @@ | ||
class ContainerImageRegistryDecorator < MiqDecorator | ||
def self.fonticon | ||
'pficon pficon-registry' | ||
end | ||
|
||
def fonticon | ||
'pficon pficon-registry' | ||
end | ||
|
||
def listicon_image | ||
'100/container_image_registry.png' | ||
end | ||
end |
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,5 +1,17 @@ | ||
class ContainerNodeDecorator < MiqDecorator | ||
def self.fonticon | ||
'pficon pficon-container-node' | ||
end | ||
|
||
def fonticon | ||
'pficon pficon-container-node' | ||
end | ||
|
||
def self.listicon_image | ||
"100/container_node.png" | ||
'100/container_node.png' | ||
end | ||
|
||
def listicon_image | ||
'100/container_node.png' | ||
end | ||
end |
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,13 @@ | ||
class ContainerProjectDecorator < MiqDecorator | ||
def self.fonticon | ||
'pficon pficon-project' | ||
end | ||
|
||
def fonticon | ||
'pficon pficon-project' | ||
end | ||
|
||
def listicon_image | ||
'100/container_project.png' | ||
end | ||
end |
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,13 @@ | ||
class ContainerReplicatorDecorator < MiqDecorator | ||
def self.fonticon | ||
'pficon pficon-replicator' | ||
end | ||
|
||
def fonticon | ||
'pficon pficon-replicator' | ||
end | ||
|
||
def listicon_image | ||
'100/container_replicator.png' | ||
end | ||
end |
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,13 @@ | ||
class ContainerRouteDecorator < MiqDecorator | ||
def self.fonticon | ||
'pficon pficon-route' | ||
end | ||
|
||
def fonticon | ||
'pficon pficon-route' | ||
end | ||
|
||
def listicon_image | ||
'100/container_route.png' | ||
end | ||
end |
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,13 @@ | ||
class ContainerServiceDecorator < MiqDecorator | ||
def self.fonticon | ||
'pficon pficon-service' | ||
end | ||
|
||
def fonticon | ||
'pficon pficon-service' | ||
end | ||
|
||
def listicon_image | ||
'100/container_service.png' | ||
end | ||
end |
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,13 @@ | ||
class ContainerTemplateDecorator < MiqDecorator | ||
def self.fonticon | ||
'product product-template' | ||
end | ||
|
||
def fonticon | ||
'product product-template' | ||
end | ||
|
||
def listicon_image | ||
'100/container_template.png' | ||
end | ||
end |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
class FlavorDecorator < MiqDecorator | ||
def self.fonticon | ||
'pficon pficon-flavor' | ||
end | ||
|
||
def fonticon | ||
'pficon pficon-flavor' | ||
end | ||
|
||
def listicon_image | ||
'100/flavor.png' | ||
end | ||
end |
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,13 @@ | ||
class FloatingIpDecorator < MiqDecorator | ||
def self.fonticon | ||
'fa fa-map-marker' | ||
end | ||
|
||
def fonticon | ||
'fa fa-map-marker' | ||
end | ||
|
||
def listicon_image | ||
'100/floating_ip.png' | ||
end | ||
end |
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,5 +1,9 @@ | ||
class LanDecorator < MiqDecorator | ||
def fonticon | ||
'product product-switch' | ||
'product product-network_switch' | ||
end | ||
|
||
def listicon_image | ||
'100/network_switch.png' | ||
end | ||
end |
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,13 @@ | ||
class LoadBalancerDecorator < MiqDecorator | ||
def self.fonticon | ||
'product product-load_balancer' | ||
end | ||
|
||
def fonticon | ||
'product product-load_balancer' | ||
end | ||
|
||
def listicon_image | ||
'100/load_balancer.png' | ||
end | ||
end |
4 changes: 4 additions & 0 deletions
4
app/decorators/manageiq/providers/ansible_tower/automation_manager/job_decorator.rb
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: 4 additions & 0 deletions
4
app/decorators/manageiq/providers/cloud_manager/orchestration_stack_decorator.rb
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.