Sha256: 1b23d8ed57b0bb1d72dbd1181539df71036d50cd536679cacb4c10582057f2a7

Contents?: true

Size: 1.72 KB

Versions: 7

Compression:

Stored size: 1.72 KB

Contents

- if results.any?

  article(data-controller="tabs" data-tabs-active-tab="opacity-100" data-tabs-index="0")
    header
      h2= title

      .flex.justify-end

        .inline-flex
          a.reset.opacity-50.bg-white.m-05.pt-px.pb-0.px-1(href="#" data-tabs-target="tab"
            data-action="click->tabs#change")
            svg.h-6.w-6.fill-current.text-black xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"
              path d="M1 4h2v2H1V4zm4 0h14v2H5V4zM1 9h2v2H1V9zm4 0h14v2H5V9zm-4 5h2v2H1v-2zm4 0h14v2H5v-2z"

          a.reset.opacity-50.bg-white.m-0.pt-px.px-2(data-tabs-target="tab" href="#"
            data-action="click->tabs#change")
            svg.h-6.w-6.stroke-current.text-black viewBox="0 0 24 26"  stroke-width="3" stroke-linecap="round" stroke-linejoin="round"
              path d="M12 20V10M18 20V4M6 20v-4"

        = link_to "Show all", renalware.patient_pd_pet_results_path(patient), remote: true, class: "float-none button flex-initial secondary"
        = link_to "Add", renalware.new_patient_pd_pet_result_path(patient), class: "float-none button flex-initial"

    div#pet-results-table data-tabs-target="panel"

      = render "renalware/pd/pet_results/table",
               patient: patient,
               results: results,
               pagination: pagination,
               current_user: current_user

    .chart.hidden.mt-5 data-tabs-target="panel"
      div(style="display:block; position:relative; height: 400px; width: 100%; text-align: center; margin-bottom: 20px")
        #containerx(data-controller="pd-pet-chart"
                    data-pd-pet-chart-url=renalware.patient_pd_pet_results_path(patient, format: :json)
                    style="position: absolute; left: 0; top: 30px; max-width: 700px")

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
renalware-core-2.0.167 app/components/renalware/pd/pet_results_component.html.slim
renalware-core-2.0.166 app/components/renalware/pd/pet_results_component.html.slim
renalware-core-2.0.165 app/components/renalware/pd/pet_results_component.html.slim
renalware-core-2.0.164 app/components/renalware/pd/pet_results_component.html.slim
renalware-core-2.0.163 app/components/renalware/pd/pet_results_component.html.slim
renalware-core-2.0.162 app/components/renalware/pd/pet_results_component.html.slim
renalware-core-2.0.161 app/components/renalware/pd/pet_results_component.html.slim