Sha256: f8f80f6c9e9e7bd63808c98c8ec5727a4addc0e3e8c3c074694321d41c4c24fb

Contents?: true

Size: 1.93 KB

Versions: 4

Compression:

Stored size: 1.93 KB

Contents

.navbar{:id => "main-menu", :class => 'navbar-inverse'}
  .navbar-inner
    %ul.nav{:id => 'tabs'}
      %li.active
        %a#block-mode-button{:href => "#block-tab"}<
          %i.icon-folder-close
          ブロック
      %li
        %a#ruby-mode-button{:href => "#ruby-tab"}<
          %i.icon-pencil
          Ruby

    = form_tag(source_codes_load_path, id: "file-form", class: "navbar-form pull-right", method: "post", multipart: true) do
      %input#load-file{:type => 'file', :name => 'source_code[file]', :style => 'display: none'}
      %input#filename{:type => 'text', :class => 'span4', :placeholder => 'プログラムの名前を入れてね(例:01.rb)'}
      = link_to '', source_codes_download_path, id: 'download-link', style: 'display: none', 'data-method' => 'delete'

      - if standalone?
        %button#run-button{:class => "btn btn-primary"}<
          %i.icon-play
          実行
      - else
        %button#download-button{:class => "btn btn-primary"}<
          %i.icon-download-alt
          ダウンロード

      .btn-group
        %a#submenu-button{:class => "dropdown-toggle btn btn-primary", :"data-toggle" => "dropdown", :href => "#"}
          %i.icon-reorder
        %ul.dropdown-menu{:class => "pull-right"}
          %li
            %a#load-button
              %h4
                %i.icon-folder-open
                ロード
          - if standalone?
            %li
              %a#save-button
                %h4
                  %i.icon-hdd
                  セーブ
          %li
            %a#check-button
              %h4
                %i.icon-check
                チェック
          %li
            %a#reset-button
              %h4
                %i.icon-off
                リセット

#messages

#modes-container{:class => 'tab-content'}
  #block-tab{:class => 'tab-pane active modes-tab-pane'}
    = render 'block_tab'

  #ruby-tab{:class => 'tab-pane modes-tab-pane'}
    #text-editor

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
smalruby-editor-0.1.7-x86-mingw32 app/views/editor/index.html.haml
smalruby-editor-0.1.7 app/views/editor/index.html.haml
smalruby-editor-0.1.6-x86-mingw32 app/views/editor/index.html.haml
smalruby-editor-0.1.6 app/views/editor/index.html.haml