Просмотр исходного кода

added spinner to tabs and categories

CauseFX 5 лет назад
Родитель
Сommit
1b1a05a323

+ 1 - 1
api/pages/settings-tab-editor-categories.php

@@ -43,7 +43,7 @@ $( \'#categoryEditorTable\' ).sortable({
                         <th lang="en" style="text-align:center">DELETE</th>
                     </tr>
                 </thead>
-                <tbody id="categoryEditorTable"></tbody>
+                <tbody id="categoryEditorTable"><td class="text-center" colspan="6"><i class="fa fa-spin fa-spinner"></i></td></tbody>
             </table>
         </form>
     </div>

+ 3 - 1
api/pages/settings-tab-editor-tabs.php

@@ -74,7 +74,9 @@ function get_page_settings_tab_editor_tabs($Organizr)
 	                        <th lang="en" style="text-align:center">DELETE</th>
 	                    </tr>
 	                </thead>
-	                <tbody id="tabEditorTable"></tbody>
+	                <tbody id="tabEditorTable">
+	                	<td class="text-center" colspan="12"><i class="fa fa-spin fa-spinner"></i></td>
+					</tbody>
 	            </table>
 	        </form>
 	    </div>