active_bootstrap_skin icon indicating copy to clipboard operation
active_bootstrap_skin copied to clipboard

activeadmin scopes (aka tabs at the top of index table) are just styleless ul-li bulleted list

Open okliv opened this issue 8 years ago • 8 comments

there is nothing to say more )

ul.scopes > li.scope > a

i have last activeadmin, rails 4, ruby 2.2.1, active_bootstrap_skin 0.1.1

okliv avatar Apr 04 '16 06:04 okliv

@okliv it would be great if you can contribute to this ;)

vinhnglx avatar Apr 05 '16 09:04 vinhnglx


ul.scopes {
  li.scope {
    display: inline-block;
    list-style-type: none;
    margin-bottom: 4px;
  }
  li.scope a{ @extend .btn; @extend .btn-default; }
  li.scope.selected a { @extend .btn-primary; }
}

want a pullrequest for that?

krtschmr avatar Jul 27 '16 13:07 krtschmr

sure, thanks a lot man @krtschmr

vinhnglx avatar Jul 27 '16 13:07 vinhnglx

https://github.com/vinhnglx/active_bootstrap_skin/pull/14

krtschmr avatar Jul 27 '16 13:07 krtschmr

@krtschmr Version 0.1.4 is released with your PR. Thanks a lot man :)

vinhnglx avatar Aug 02 '16 16:08 vinhnglx

It's somehow a little bit buggy. i saw strange sideeffects when they get a float right (if batch actions are there as well).

need to digg in deeper

On 02.08.2016 23:36, Vinh Nguyen wrote:

@krtschmr https://github.com/krtschmr Version 0.1.4 is released with your PR. Thanks a lot man :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vinhnglx/active_bootstrap_skin/issues/5#issuecomment-236963054, or mute the thread https://github.com/notifications/unsubscribe-auth/AMv1uk0cUCKowg_0e04ZYOD7TEGQyFrDks5qb3IfgaJpZM4H-1aC.

krtschmr avatar Aug 02 '16 16:08 krtschmr

Ok. Thank you, man. Hope will get your PR soon. I'll make an example application for the gem soon.

On Wed, Aug 3, 2016 at 12:39 AM, Tim [email protected] wrote:

It's somehow a little bit buggy. i saw strange sideeffects when they get a float right (if batch actions are there as well).

need to digg in deeper

On 02.08.2016 23:36, Vinh Nguyen wrote:

@krtschmr https://github.com/krtschmr Version 0.1.4 is released with your PR. Thanks a lot man :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/vinhnglx/active_bootstrap_skin/issues/5#issuecomment-236963054>,

or mute the thread < https://github.com/notifications/unsubscribe-auth/AMv1uk0cUCKowg_0e04ZYOD7TEGQyFrDks5qb3IfgaJpZM4H-1aC .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/vinhnglx/active_bootstrap_skin/issues/5#issuecomment-236963776, or mute the thread https://github.com/notifications/unsubscribe-auth/AB55UQUOREP1ktPSozNZI1N8K2kv55Qdks5qb3KvgaJpZM4H-1aC .

Ruby Developer Betacode Sdn Bhd (1109222-K) Phone: (+60) 167557808 Skype: vinhnglx Email: [email protected]

vinhnglx avatar Aug 02 '16 16:08 vinhnglx

->
  $('.scopes ul').addClass('nav nav-pills')

in active_admin.coffee.js worked for me.

opensourceame avatar Mar 17 '21 14:03 opensourceame