diff --git a/mediagoblin/templates/mediagoblin/media_displays/stl.html b/mediagoblin/templates/mediagoblin/media_displays/stl.html
index a89e0b4..bc12ce4 100644
|
a
|
b
|
window.show_things = function () {
|
| 108 | 108 | |
| 109 | 109 | |
| 110 | 110 | <div style="padding: 4px;"> |
| 111 | | <a class="button_action" onclick="show('perspective');" |
| 112 | | title="{%- trans %}Toggle Rotate{% endtrans -%}"> |
| | 111 | <a class="button_action" onclick="show('perspective');"> |
| 113 | 112 | {%- trans %}Perspective{% endtrans -%} |
| 114 | 113 | </a> |
| 115 | | <a class="button_action" onclick="show('front_view');" |
| 116 | | title="{%- trans %}Front{% endtrans -%}"> |
| | 114 | <a class="button_action" onclick="show('front_view');"> |
| 117 | 115 | {%- trans %}Front{% endtrans -%} |
| 118 | 116 | </a> |
| 119 | | <a class="button_action" onclick="show('top_view');" |
| 120 | | title="{%- trans %}Top{% endtrans -%}"> |
| | 117 | <a class="button_action" onclick="show('top_view');"> |
| 121 | 118 | {%- trans %}Top{% endtrans -%} |
| 122 | 119 | </a> |
| 123 | | <a class="button_action" onclick="show('side_view');" |
| 124 | | title="{%- trans %}Side{% endtrans -%}"> |
| | 120 | <a class="button_action" onclick="show('side_view');"> |
| 125 | 121 | {%- trans %}Side{% endtrans -%} |
| 126 | 122 | </a> |
| 127 | 123 | {% if media.media_data.file_type == "stl" %} |
| 128 | 124 | <a id="webgl_button" class="button_action" |
| 129 | | onclick="show_things();" |
| 130 | | title="{%- trans %}WebGL{% endtrans -%}"> |
| | 125 | onclick="show_things();"> |
| 131 | 126 | {%- trans %}WebGL{% endtrans -%} |
| 132 | 127 | </a> |
| 133 | 128 | {% endif %} |
| 134 | 129 | |
| 135 | 130 | <a class="button_action" href="{{ model_download }}" |
| 136 | | title="{%- trans %}Download{% endtrans -%}" |
| 137 | 131 | style="float:right;"> |
| 138 | 132 | {%- trans %}Download model{% endtrans -%} |
| 139 | 133 | </a> |