19 lines
774 B
JavaScript
19 lines
774 B
JavaScript
import { PROJECT_BADGE } from '~/badges/constants';
|
|
import initSettingsPanels from '~/settings_panels';
|
|
import setupProjectEdit from '~/project_edit';
|
|
import initConfirmDangerModal from '~/confirm_danger_modal';
|
|
import mountBadgeSettings from '~/pages/shared/mount_badge_settings';
|
|
import initProjectLoadingSpinner from '../shared/save_project_loader';
|
|
import projectAvatar from '../shared/project_avatar';
|
|
import initProjectPermissionsSettings from '../shared/permissions';
|
|
|
|
document.addEventListener('DOMContentLoaded', () => {
|
|
initProjectLoadingSpinner();
|
|
setupProjectEdit();
|
|
// Initialize expandable settings panels
|
|
initSettingsPanels();
|
|
projectAvatar();
|
|
initProjectPermissionsSettings();
|
|
initConfirmDangerModal();
|
|
mountBadgeSettings(PROJECT_BADGE);
|
|
});
|