|
41 | 41 | {% trans %}Select items to perform actions on them.{% endtrans %}
|
42 | 42 | </div>
|
43 | 43 | <div class="dynamic-buttons">
|
44 |
| - <button title="{% trans %}Duplicate selected{% endtrans %}" aria-label="{% trans %}Duplicate{% endtrans %}" class="duplicate-button btn btn-default btn-xs">{% trans %}Duplicate{% endtrans %}</button> |
45 |
| - <button title="{% trans %}Rename selected{% endtrans %}" aria-label="{% trans %}Rename{% endtrans %}" class="rename-button btn btn-default btn-xs">{% trans %}Rename{% endtrans %}</button> |
46 |
| - <button title="{% trans %}Move selected{% endtrans %}" aria-label="{% trans %}Move{% endtrans %}" class="move-button btn btn-default btn-xs">{% trans %}Move{% endtrans %}</button> |
47 |
| - <button title="{% trans %}Download selected{% endtrans %}" aria-label="{% trans %}Download{% endtrans %}" class="download-button btn btn-default btn-xs">{% trans %}Download{% endtrans %}</button> |
48 |
| - <button title="{% trans %}Shutdown selected notebook(s){% endtrans %}" aria-label="{% trans %}Shutdown{% endtrans %}" class="shutdown-button btn btn-default btn-xs btn-warning">{% trans %}Shutdown{% endtrans %}</button> |
49 |
| - <button title="{% trans %}View selected{% endtrans %}" aria-label="{% trans %}View{% endtrans %}" class="view-button btn btn-default btn-xs">{% trans %}View{% endtrans %}</button> |
50 |
| - <button title="{% trans %}Edit selected{% endtrans %}" aria-label="{% trans %}Edit{% endtrans %}" class="edit-button btn btn-default btn-xs">{% trans %}Edit{% endtrans %}</button> |
51 |
| - <button title="{% trans %}Delete selected{% endtrans %}" aria-label="{% trans %}Delete selected{% endtrans %}" class="delete-button btn btn-default btn-xs btn-danger"><i class="fa fa-trash"></i></button> |
| 44 | + <button title="{% trans %}Duplicate selected{% endtrans %}" aria-label="{% trans %}Duplicate{% endtrans %}" class="duplicate-button btn btn-default btn-xs" aria-describedby="tooltip1">{% trans %}Duplicate{% endtrans %} </button> |
| 45 | + <div role="tooltip" id="tooltip1" >{% trans %}Duplicate selected{% endtrans %}</div> |
| 46 | + <button title="{% trans %}Rename selected{% endtrans %}" aria-label="{% trans %}Rename{% endtrans %}" class="rename-button btn btn-default btn-xs" aria-describedby="tooltip2">{% trans %} Rename{% endtrans %}</button> |
| 47 | + <div role="tooltip" id="tooltip2" >{% trans %}Rename selected{% endtrans %}</div> |
| 48 | + <button title="{% trans %}Move selected{% endtrans %}" aria-label="{% trans %}Move{% endtrans %}" class="move-button btn btn-default btn-xs" aria-describedby="tooltip3">{% trans %}Move{% endtrans %}</button> |
| 49 | + <div role="tooltip" id="tooltip3" >{% trans %}Move selected{% endtrans %}</div> |
| 50 | + <button title="{% trans %}Download selected{% endtrans %}" aria-label="{% trans %}Download{% endtrans %}" class="download-button btn btn-default btn-xs" aria-describedby="tooltip4">{% trans %}Download{% endtrans %}</button> |
| 51 | + <div role="tooltip" id="tooltip4" >{% trans %}Download selected{% endtrans %}</div> |
| 52 | + <button title="{% trans %}Shutdown selected notebook(s){% endtrans %}" aria-label="{% trans %}Shutdown{% endtrans %}" class="shutdown-button btn btn-default btn-xs btn-warning" aria-describedby="tooltip5">{% trans %}Shutdown{% endtrans %}</button> |
| 53 | + <div role="tooltip" id="tooltip5" >{% trans %}Shutdown selected notebook(s){% endtrans %}</div> |
| 54 | + <button title="{% trans %}View selected{% endtrans %}" aria-label="{% trans %}View{% endtrans %}" class="view-button btn btn-default btn-xs" aria-describedby="tooltip6">{% trans %}View{% endtrans %}</button> |
| 55 | + <div role="tooltip" id="tooltip6" >{% trans %}View selected{% endtrans %}</div> |
| 56 | + <button title="{% trans %}Edit selected{% endtrans %}" aria-label="{% trans %}Edit{% endtrans %}" class="edit-button btn btn-default btn-xs" aria-describedby="tooltip7">{% trans %}Edit{% endtrans %}</button> |
| 57 | + <div role="tooltip" id="tooltip7" >{% trans %}Edit selected{% endtrans %}</div> |
| 58 | + <button title="{% trans %}Delete selected{% endtrans %}" aria-label="{% trans %}Delete selected{% endtrans %}" class="delete-button btn btn-default btn-xs btn-danger" aria-describedby="tooltip8"> |
| 59 | + <i class="fa fa-trash"></i> |
| 60 | + </button> |
| 61 | + <div role="tooltip" id="tooltip8" >{% trans %}Delete selected{% endtrans %}</div> |
52 | 62 | </div>
|
53 | 63 | </div>
|
54 | 64 | <div class="col-sm-4 no-padding tree-buttons">
|
|
100 | 110 | <div id="notebook_list_header" class="row list_header">
|
101 | 111 | <div class="btn-group dropdown" id="tree-selector">
|
102 | 112 | <button title="{% trans %}Select All / None{% endtrans %}" aria-label="{% trans %}Select All / None{% endtrans %}" type="button" class="btn btn-default btn-xs" id="button-select-all" role="checkbox">
|
103 |
| - <input type="checkbox" class="pull-left tree-selector" id="select-all"><span id="counter-select-all"> </span></input> |
| 113 | + <input type="checkbox" class="pull-left tree-selector" id="select-all" tabindex="-1"><span id="counter-select-all"> </span></input> |
104 | 114 | </button>
|
105 | 115 | <button title="{% trans %}Select Folders/All Notebooks/Running/Files {% endtrans %}" class="btn btn-default btn-xs dropdown-toggle" type="button" id="tree-selector-btn" data-toggle="dropdown" aria-expanded="true">
|
106 | 116 | <span class="caret"></span>
|
|
121 | 131 | {% endfor %}
|
122 | 132 | </ul>
|
123 | 133 | </div>
|
124 |
| - <div id="file_size" class="pull-right sort_button"> |
125 |
| - <span class="btn btn-xs btn-default sort-action" id="file-size"> |
126 |
| - {% trans %}File size{% endtrans %} |
127 |
| - <i class="fa"></i> |
128 |
| - </span> |
129 |
| - </div> |
130 |
| - <div id="last_modified" class="pull-right sort_button"> |
131 |
| - <span class="btn btn-xs btn-default sort-action" id="last-modified"> |
132 |
| - {% trans %}Last Modified{% endtrans %} |
133 |
| - <i class="fa"></i> |
134 |
| - </span> |
135 |
| - </div> |
136 |
| - <div id="sort_name" class="pull-right sort_button"> |
137 |
| - <span class="btn btn-xs btn-default sort-action" id="sort-name"> |
138 |
| - {% trans %}Name{% endtrans %} |
139 |
| - <i class="fa fa-arrow-down"></i> |
140 |
| - </span> |
| 134 | + <div id="sort_buttons" class="pull-right"> |
| 135 | + <div id="sort_name" class="sort_button"> |
| 136 | + <button type="button" class="btn btn-xs btn-default sort-action" id="sort-name" aria-label="{% trans %}Sort by name{% endtrans %}"> |
| 137 | + {% trans %}Name{% endtrans %} |
| 138 | + <i class="fa fa-arrow-down"></i> |
| 139 | + </button> |
| 140 | + </div> |
| 141 | + <div id="last_modified" class="sort_button"> |
| 142 | + <button type="button" class="btn btn-xs btn-default sort-action" id="last-modified" aria-label="{% trans %}Sort by last modified{% endtrans %}"> |
| 143 | + {% trans %}Last Modified{% endtrans %} |
| 144 | + <i class="fa"></i> |
| 145 | + </button> |
| 146 | + </div> |
| 147 | + <div id="file_size" class="sort_button"> |
| 148 | + <button type="button" class="btn btn-xs btn-default sort-action" id="file-size" aria-label="{% trans %}Sort by file size{% endtrans %}"> |
| 149 | + {% trans %}File size{% endtrans %} |
| 150 | + <i class="fa"></i> |
| 151 | + </button> |
| 152 | + </div> |
141 | 153 | </div>
|
| 154 | + |
142 | 155 | </div>
|
143 | 156 | </div>
|
144 | 157 | </div>
|
|
204 | 217 |
|
205 | 218 | {% block script %}
|
206 | 219 | {{super()}}
|
207 |
| - |
| 220 | + <script type="text/javascript"> |
| 221 | + ('#element').tooltip('enable') |
| 222 | + </script> |
208 | 223 |
|
209 | 224 | <script src="{{ static_url("tree/js/main.min.js") }}" type="text/javascript" charset="utf-8"></script>
|
| 225 | + |
210 | 226 | {% endblock %}
|
0 commit comments