summaryrefslogtreecommitdiff
path: root/app/views/projects/blob/viewers/_stl.html.haml
blob: e4e9d7461766f016e9765ce4a7ee176848a418b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
- content_for :page_specific_javascripts do
  = page_specific_javascript_bundle_tag('stl_viewer')

.file-content.is-stl-loading
  .text-center#js-stl-viewer{ data: { endpoint: blob_raw_url } }
    = icon('spinner spin 2x', class: 'prepend-top-default append-bottom-default', 'aria-hidden' => 'true', 'aria-label' => 'Loading')
  .text-center.prepend-top-default.append-bottom-default.stl-controls
    .btn-group
      %button.btn.btn-default.btn-sm.js-material-changer{ data: { type: 'wireframe' } }
        Wireframe
      %button.btn.btn-default.btn-sm.active.js-material-changer{ data: { type: 'default' } }
        Solid