debian-mirror-gitlab/app/assets/javascripts/pages/projects/edit/index.js

20 lines
771 B
JavaScript
Raw Normal View History

2018-11-20 20:47:30 +05:30
import { PROJECT_BADGE } from '~/badges/constants';
2018-03-17 18:26:18 +05:30
import initSettingsPanels from '~/settings_panels';
import setupProjectEdit from '~/project_edit';
2018-05-09 12:01:36 +05:30
import initConfirmDangerModal from '~/confirm_danger_modal';
2018-11-20 20:47:30 +05:30
import mountBadgeSettings from '~/pages/shared/mount_badge_settings';
2019-07-07 11:18:12 +05:30
import initAvatarPicker from '~/avatar_picker';
2018-10-15 14:42:47 +05:30
import initProjectLoadingSpinner from '../shared/save_project_loader';
2018-03-17 18:26:18 +05:30
import initProjectPermissionsSettings from '../shared/permissions';
2018-03-27 19:54:05 +05:30
document.addEventListener('DOMContentLoaded', () => {
2018-10-15 14:42:47 +05:30
initProjectLoadingSpinner();
2018-03-17 18:26:18 +05:30
setupProjectEdit();
// Initialize expandable settings panels
initSettingsPanels();
2019-07-07 11:18:12 +05:30
initAvatarPicker();
2018-03-17 18:26:18 +05:30
initProjectPermissionsSettings();
2018-05-09 12:01:36 +05:30
initConfirmDangerModal();
2018-11-20 20:47:30 +05:30
mountBadgeSettings(PROJECT_BADGE);
2018-03-27 19:54:05 +05:30
});