Sha256: 81b471a9c17ea8622b73123521f18e3f942a110cfca91be89d3ccb55f6747d9a

Contents?: true

Size: 1.94 KB

Versions: 12

Compression:

Stored size: 1.94 KB

Contents

.navbar{:id => "main-menu", :class => 'navbar-inverse'}
  .navbar-inner
    %ul.nav{:id => 'tabs'}
      %li.active
        %a{:href => '#block-tab', :'data-toggle' => 'tab'}<
          %i.icon-folder-close
          ブロック
      %li
        %a{:href => '#ruby-tab', :'data-toggle' => '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

12 entries across 12 versions & 1 rubygems

Version Path
smalruby-editor-0.1.5-x86-mingw32 app/views/editor/index.html.haml
smalruby-editor-0.1.5 app/views/editor/index.html.haml
smalruby-editor-0.1.4-x86-mingw32 app/views/editor/index.html.haml
smalruby-editor-0.1.4 app/views/editor/index.html.haml
smalruby-editor-0.1.3-x86-mingw32 app/views/editor/index.html.haml
smalruby-editor-0.1.3 app/views/editor/index.html.haml
smalruby-editor-0.1.2-x86-mingw32 app/views/editor/index.html.haml
smalruby-editor-0.1.2 app/views/editor/index.html.haml
smalruby-editor-0.1.1-x86-mingw32 app/views/editor/index.html.haml
smalruby-editor-0.1.1 app/views/editor/index.html.haml
smalruby-editor-0.1.0-x86-mingw32 app/views/editor/index.html.haml
smalruby-editor-0.1.0 app/views/editor/index.html.haml