Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.js « application_settings « admin « pages « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 143d15f92cdd4012e5d05620e2b252bff687e414 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import initSettingsPanels from '~/settings_panels';
import projectSelect from '~/project_select';
import selfMonitor from '~/self_monitor';
import maintenanceModeSettings from '~/maintenance_mode_settings';
import initVariableList from '~/ci_variable_list';

document.addEventListener('DOMContentLoaded', () => {
  if (gon.features?.ciInstanceVariablesUi) {
    initVariableList('js-instance-variables');
  }
  selfMonitor();
  maintenanceModeSettings();
  // Initialize expandable settings panels
  initSettingsPanels();
  projectSelect();
});