Sha256: 42fe6f8896c7f7ec46bfee6ede9c8e2980f449e5b51ee3febf6b71078d2c2270

Contents?: true

Size: 1.87 KB

Versions: 6

Compression:

Stored size: 1.87 KB

Contents

- @title = "Job Timelines"
- @content_title = "<i class=\"fa fa-clock-o\"></i> #{@user.name}'s Job Timelines"
- @content_title << " tagged by #{params[:tag].join(',')}" if params[:tag].present?

.row
  .col-md-12
    .box
      .box-header
        nav class="navbar navbar-default"
          div class="container-fluid"
            div class="navbar-header"
              a class="navbar-brand" href="#" Period
            div class="" id="period-nav"
              ul class="nav navbar-nav"
                li class="#{params[:period] == '1h' || !params[:period] ? 'active' : ''}"
                  = link_to '1 hour', job_timelines_path(params.permit(:user_id, tag: []).merge(period: '1h'))
                li class="#{params[:period] == '3h' ? 'active' : ''}"
                  = link_to '3 hours', job_timelines_path(params.permit(:user_id, tag: []).merge(period: '3h'))
                li class="#{params[:period] == '6h' ? 'active' : ''}"
                  = link_to '6 hours', job_timelines_path(params.permit(:user_id, tag: []).merge(period: '6h'))
                li class="#{params[:period] == '12h' ? 'active' : ''}"
                  = link_to '12 hours', job_timelines_path(params.permit(:user_id, tag: []).merge(period: '12h'))
                li class="#{params[:period] == '1d' ? 'active' : ''}"
                  = link_to '1 day', job_timelines_path(params.permit(:user_id, tag: []).merge(period: '1d'))
                li class="#{params[:period] == '3d' ? 'active' : ''}"
                  = link_to '3 days', job_timelines_path(params.permit(:user_id, tag: []).merge(period: '3d'))
                li class="#{params[:period] == '1w' ? 'active' : ''}"
                  = link_to '1 week', job_timelines_path(params.permit(:user_id, tag: []).merge(period: '1w'))

      .box-body
        div#timeline data-dataset-path="#{dataset_job_timelines_path(params.permit(:user_id, :period, tag: []))}"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
kuroko2-0.3.1 app/views/kuroko2/job_timelines/index.html.slim
kuroko2-0.3.0 app/views/kuroko2/job_timelines/index.html.slim
kuroko2-0.2.3 app/views/kuroko2/job_timelines/index.html.slim
kuroko2-0.2.2 app/views/kuroko2/job_timelines/index.html.slim
kuroko2-0.2.1 app/views/kuroko2/job_timelines/index.html.slim
kuroko2-0.2.0 app/views/kuroko2/job_timelines/index.html.slim