Sha256: 6d0ce2f283142694d6da3cce40a17f7349ff2da0633e2926ec197ac93a8b2b39

Contents?: true

Size: 1.06 KB

Versions: 5

Compression:

Stored size: 1.06 KB

Contents

#top_menu.ui.fixed.menu
  .item
    %a.header(href='/')= $title


  %span.favourite

  - if settings.respond_to?(:finder) and settings.finder and settings.finder.instances.any?
    .finder.right.item
      %form.collapse(action='/find' method="POST")
        %input(type="search" name="term" placeholder='Search')

  - if defined? Sinatra::RbbtRESTWorkflow and Sinatra::RbbtRESTWorkflow::WORKFLOWS
    - expoted_workflows = Sinatra::RbbtRESTWorkflow::WORKFLOWS.collect do |workflow|
      - next if workflow.asynchronous_exports.empty? and workflow.synchronous_exports.empty? and workflow.exec_exports.empty?
      - workflow

    - expoted_workflows.compact!
    - if expoted_workflows.any?
      .workflow.ui.simple.dropdown.item.right
        %i.icon.dropdown
        Workflows
        .menu
          - expoted_workflows.each do |workflow|
            %a.item(href='#{'/' + workflow.to_s}')= workflow.to_s



  %a.item.login.right(href='/login')
    %i.icon.user
    - if user
      = user

  %a.item.right(href='/help') Help

  %a.item.right.reload(href='#')
    %i.icon.repeat

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rbbt-rest-1.6.28 share/views/layout/top_menu.haml
rbbt-rest-1.6.26 share/views/layout/top_menu.haml
rbbt-rest-1.6.25 share/views/layout/top_menu.haml
rbbt-rest-1.6.24 share/views/layout/top_menu.haml
rbbt-rest-1.6.23 share/views/layout/top_menu.haml