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: e7e74588bec540eafaa07a3075e1205605e3d0d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import initVariableList from '~/ci_variable_list';
import projectSelect from '~/project_select';
import initSearchSettings from '~/search_settings';
import selfMonitor from '~/self_monitor';
import initSettingsPanels from '~/settings_panels';

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