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

common_head.twig « components « templates « assets - github.com/HuasoFoundries/phpPgAdmin6.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 569033dc8e8da0d12111e0be0dae85a5a5056cae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
{% set development_assets = true %}
 <link rel="stylesheet" href="{{subfolder}}/assets/vendor/jstree/themes/phppgadmin/style.css" />
<link rel="stylesheet" href="{{ subfolder }}/assets/themes/global.css" type="text/css" id="cssmain" />
<link rel="stylesheet" href="{{ subfolder }}/assets/themes/{{ theme }}/global.css" type="text/css" id="csstheme" />
<link rel="stylesheet" href="{{ subfolder }}/assets/vendor/jquery/jquery-ui.min.css" type="text/css" />
<link rel="shortcut icon" href="{{ Favicon }}" type="image/vnd.microsoft.icon" />
<link rel="icon" href="{{ Introduction }}" type="image/png" />

<script src="{{ subfolder }}/assets/vendor/jquery/jquery-3.4.1.min.js"></script>
<script src="{{ subfolder }}/assets/vendor/jquery/jquery-ui.min.js"></script>
<script src="{{ subfolder }}/assets/vendor/jquery-resizable.js"></script>
  <script src="{{ subfolder }}/assets/vendor/jstree/jstree.min.js"></script>
      <meta name="header_template" value="{{headertemplate}}"/>
{% if headertemplate == 'header_datatables.twig' %}
         <link rel="stylesheet" href="{{subfolder}}/assets/vendor/datatables/datatables.min.css" type="text/css" />
        <script src="{{subfolder}}/assets/vendor/datatables/datatables.min.js"></script>
 
 
  {% endif %}
  {% if headertemplate == 'header_select2.twig' %}
     <link rel="stylesheet" href="{{subfolder}}/assets/vendor/select2/css/select2.css" type="text/css" />
        <script src="{{subfolder}}/assets/vendor/select2/js/select2.full.min.js"></script>
        <script src="{{subfolder}}/assets/vendor/select2/js/i18n/{{lang.isolang}}.js"></script>
  {% endif %}
    {% if headertemplate == 'header_highlight.twig' %}

    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css" type="text/css" />
        <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
		  {% endif %}
  <style type="text/css">
    .refreshTree { position: absolute; right: 0; z-index: 1000; }
	.splitter {
		            background: url("{{subfolder}}/assets/images/vsizegrip.png") center center no-repeat #b0bec5 !important

	}
  </style>
{{
  script|raw
}}<!-- prettier-ignore-start -->

		<script>

				globalThis.stateObj = {
					{%	for key, value in params %}
					'{{key}}': "{{value}}",
					{% endfor %}
 					dir: '{{lang.applangdir}}',
 					in_test: '{{in_test}}',
 					reload: '{{reload}}',
					method: '{{METHOD}}',
					subfolder:'{{subfolder}}',
					path:"{{path}}",
					query_string:"{{query_string}}",
					strconfdropcred:"{{lang.strconfdropcred}}",
					origin:globalThis.location.origin,
					url:"{{url}}",
					href:globalThis.location.href,
					guessedSubfolder:(''+globalThis.location.pathname).replace("/{{path}}",''),
					pathname:globalThis.location.pathname
				};
	
		
		
		</script>
<!-- prettier-ignore-end -->

<title data-headertemplate="{{ headertemplate }}" data-subfolder="{{ subfolder }}">
  {{ appName }}{{ title }}
</title>