Sha256: 0db960d0c3eb7b31fbef7a92089cacd198de05ea53c2e51f2483eb984218cca9
Contents?: true
Size: 1.03 KB
Versions: 7
Compression:
Stored size: 1.03 KB
Contents
.mensa-table__views data-mensa-table-target="views" .sm:hidden label.sr-only[for="tabs"] | Select a tab select#tabs.block.w-full.rounded-md.border-gray-300.focus:border-indigo-500.focus:ring-indigo-500[name="tabs"] - table.all_views.each.with_index do |view, index| option = view.name .hidden.sm:block nav.flex.justify-between[aria-label="Tabs"] .flex.space-x-2.overflow-x-auto.whitespace-nowrap.scroll-p-0 - table.all_views.each.with_index do |view, index| = link_to(table.path(table_view_id: view.id, turbo_frame_id: table.table_id), "data-turbo-frame": table.table_id, class: "view #{(view == table.table_view) || (!view.persisted? && table.table_view.blank?) ? 'selected' : ''}") do = view.name a.text-gray-600.dark:text-gray-400.hover:text-gray-800.hover:bg-gray-200.rounded-md.px-3.py-1.5.text-sm[href="#" title=t("new_view", default: "New view")] .fal.fa-plus - if table.supports_views? = render Mensa::ControlBar::Component.new(table: table)
Version data entries
7 entries across 7 versions & 1 rubygems