From tsedovic at redhat.com Wed Aug 19 15:20:43 2015 Content-Type: multipart/mixed; boundary="===============0112024344142564472==" MIME-Version: 1.0 From: Tomas Sedovic To: aeolus-devel at lists.fedorahosted.org Subject: Re: [PATCH conductor] Remove the
  • bullets from deployments#show Date: Wed, 26 Oct 2011 16:34:38 +0200 Message-ID: <4EA81A7E.8080202@redhat.com> In-Reply-To: 1319639551-12537-1-git-send-email-tsedovic@redhat.com --===============0112024344142564472== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 10/26/2011 04:32 PM, tsedovic(a)redhat.com wrote: > From: Tomas Sedovic > > --- > src/app/stylesheets/custom.scss | 19 +++++++++++++= ++++++ > .../views/deployments/_pretty_view_show.html.haml | 11 ++++++----- > 2 files changed, 25 insertions(+), 5 deletions(-) > > diff --git a/src/app/stylesheets/custom.scss b/src/app/stylesheets/custom= .scss > index 4059954..7d2c7d0 100644 > --- a/src/app/stylesheets/custom.scss > +++ b/src/app/stylesheets/custom.scss > @@ -216,3 +216,22 @@ form.generic section.services { > font-weight: normal; > } > } > + > +.instances_list { > + li { > + list-style-type: none; > + } > + > + .state { > + font-weight: bold; > + } > + > + li.instance { > + margin-top: 1em; > + font-weight: bold; > + > + ul { > + font-weight: normal; > + } > + } > +} > diff --git a/src/app/views/deployments/_pretty_view_show.html.haml b/src/= app/views/deployments/_pretty_view_show.html.haml > index 76ba477..df12258 100644 > --- a/src/app/views/deployments/_pretty_view_show.html.haml > +++ b/src/app/views/deployments/_pretty_view_show.html.haml > @@ -2,7 +2,7 @@ > %h2=3Dt 'instances.instances' > %ul.instances_list > - @deployment.instances.each do |instance| > - %li > + %li.instance > =3D instance.name > %ul > %li > @@ -10,7 +10,7 @@ > =3D instance.public_addresses > %li > =3D t 'deployments.pretty_view_show.state' > - =3D instance.state > + %span.state=3D instance.state > - if instance.instance_key > %li > =3D link_to t('deployments.pretty_view_show.download_key'), k= ey_instance_path(instance) > @@ -22,10 +22,11 @@ > > %script#instanceTemplate{ :type =3D> 'text/x-jquery-tmpl' } > :plain > -
  • ${name} > +
  • ${name} >