diff options
Diffstat (limited to 'app/views/projects/blob/viewers/_stl.html.haml')
-rw-r--r-- | app/views/projects/blob/viewers/_stl.html.haml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app/views/projects/blob/viewers/_stl.html.haml b/app/views/projects/blob/viewers/_stl.html.haml new file mode 100644 index 00000000000..e4e9d746176 --- /dev/null +++ b/app/views/projects/blob/viewers/_stl.html.haml @@ -0,0 +1,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 |