-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgas.html
192 lines (186 loc) · 13 KB
/
gas.html
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Precios de Gas Natural - Argentina</title>
<!-- 1. Add jQuery -->
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
<!-- CSS only -->
<link rel="stylesheet" href="./CSS/style.css">
<!-- 2. Use Bootstrap if you like -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-iYQeCzEYFbKjA/T2uDLTpkwGzCiq6soy8tYaI1GyVh/UjpbCx/TYkiZhlZB6+fzT" crossorigin="anonymous">
<!-- Include the Bootstrap Table CSS for the table -->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/bootstrap-table.min.css">
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.12.1/css/jquery.dataTables.css">
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/buttons/1.5.6/css/buttons.dataTables.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/dt/dt-1.12.1/datatables.min.css" />
</head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-VVTEL3DKVL"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-VVTEL3DKVL');
</script>
<body>
<div class="page-container">
<nav class="navbar navbar-expand-lg navbar-dark bg-primary sticky-top">
<div class="container container-fluid">
<a class="navbar-brand" href="./index.html">Inicio</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="./gas.html">Gas Natural</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./pes.html">Combustibles</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="main-header">
<div class="nav">
<div class="header container titles">
<h2 class="header-title">Precios de Gas Natural - Res 1/2018</h2>
<h5 class="header-subtitle">Valores en expresados en U$S/MMBtu desde enero 2019</h5>
</div>
</div>
<div class="progress" style="height: 4px;">
<div class="progress-bar" role="progressbar" style="width: 1%;" aria-valuenow="1" aria-valuemin="0" aria-valuemax="100"></div>
</div>
</div>
<div class="form container">
<div class="selector item">
<h5>Año</h5>
<select id="anio" class="form-select" aria-label="Año">
<option value="all" selected>Todos</option>
<option value="2022">2022</option>
<option value="2021">2021</option>
<option value="2020">2020</option>
<option value="2019">2019</option>
</select>
</div>
<div class="selector item">
<h5>Cuenca</h6>
<select id="cuenca" class="form-select" aria-label="Cuenca">
<option value="all" selected>Todas</option>
<option value="Total Cuenca">Total Cuenca</option>
<option value="Noroeste">Noroeste</option>
<option value="Neuquina">Neuquina</option>
<option value="Golfo de San Jorge">Golfo de San Jorge</option>
<option value="Austral Santa Cruz">Austral Santa Cruz</option>
<option value="Austral Tierra del Fuego">Austral Tierra del Fuego</option>
</select>
</div>
<div class="selector item">
<h5>Contrato</h5>
<select id="contrato" class="form-select" aria-label="Contrato">
<option value="all" selected>Todos</option>
<option value="TOTAL">TOTAL</option>
<option value="FIRME">FIRME</option>
<option value="INTERRUMPIBLE">INTERRUMPIBLE</option>
</select>
</div>
<div class="icons item">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" id="flex-switch" data-bs-toggle="tooltip" data-bs-placement="top" title="Local / Remoto">
</div>
<i id="reset" class="bi bi-arrow-repeat" style="font-size: 2rem;" data-bs-toggle="tooltip" data-bs-placement="top" title="Limpiar filtros"></i>
</div>
</div>
<div class="main container">
<div id="spinner-div" class="d-flex justify-content-center">
<div id="spinner" class="spinner-border text-secondary hide" role="status">
<span class="visually-hidden">Loading...</span>
</div>
</div>
<div id="table-div" class="show">
<table id="data-table" class="table hover compact">
<thead class="table-group-divider table-light"></thead>
</table>
</div>
</div>
<!-- Error Data Modal -->
<div class="modal fade border-danger mb-3" id="errorModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-4 text-danger" id="exampleModalLabel">Error al obtener los datos!</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body error-modal-body">
<p>
Se produjo un error al intentar obtener los datos del servidor. Se cargarán los datos locales.
</p>
<hr>
<details>
<summary class="h5">Detalle:</summary>
<samp class="error-message"></samp>
</details>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Cerrar</button>
<button type="button" class="btn btn-success" data-bs-dismiss="modal">Ok</button>
</div>
</div>
</div>
</div>
<footer class="footer footer-expand-lg">
<div class="footer-text">
<span><b>© <span id="year">2022</span> </b> by <b>josemqu</b> -
<a class="icon" href="https://github.com/jmquintana" target="_blank"><i class="bi bi-github"></i></a>
<a class="icon" href="mailto:[email protected]?Subject=hello!"><i class="bi bi-envelope"></i></a>
</span>
</div>
<div class="divider">
<svg class="waves" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1600 264.292" preserveAspectRatio="none" shape-rendering="auto">
<path opacity=".9" fill-rule="evenodd" clip-rule="evenodd" fill="#A0C1F7" d="M1129.263,43.549C998.916,54.132,838.062,142.227,800,139.454 C545.701,151.526,485.448,30.836,328.863,43.549C198.516,54.132,38.062,142.227,0,139.454v124.838h800.4h800.4V139.454 C1385.144,135.677,1285.849,30.836,1129.263,43.549z"></path>
</svg>
<svg class="waves w2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1600 264.292" preserveAspectRatio="none" shape-rendering="auto">
<path opacity=".8" fill-rule="evenodd" clip-rule="evenodd" fill="#ACF2F2" d="M1518.024 147.062c-224.019 0-323.801-108.959-483.256-96.014-89.51 7.267-174 60.06-234.368 84.32-27.82 7.448-55.764 11.693-82.776 11.693-224.02 0-323.801-108.959-483.256-96.014-89.51 7.267-174 60.06-234.368 84.32V264.29h1600.8V135.369c-27.82 7.449-55.765 11.693-82.776 11.693z"></path>
</svg>
<svg class="waves w3" fill="url(#my-cool-gradient) #E8EDF5;" aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1600 264.292" preserveAspectRatio="none" shape-rendering="auto">
<path opacity=".9" fill-rule="evenodd" clip-rule="evenodd" d="M1539.579 165.792c-207.72 0-300.242-101-448.095-89-114.831 9.32-212.341 64.442-291.083 81.959-20.552 4.527-41.214 7.041-61.221 7.041-207.72 0-300.242-101-448.095-89C176.253 86.112 78.743 141.234 0 158.751v105.541h1600.8V158.751c-20.552 4.527-41.214 7.041-61.221 7.041z"></path>
</svg>
<svg class="waves w4" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 1865.201 5669.29 1116.842" enable-background="new 0 1865.201 5669.29 1116.842" xml:space="preserve">
<path fill="none" opacity="0.08" stroke="#213e7d" stroke-width="6" stroke-miterlimit="10" d="M0,2915.056 c484.319,0,916.241-737.418,1397.321-737.418c489.179,0,961.104,737.418,1430.845,737.418 c484.319,0,916.241-737.418,1400.561-737.418s956.244,737.418,1440.563,737.418"></path>
</svg>
<svg class="waves w5" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 1865.201 5669.29 1116.842" enable-background="new 0 1865.201 5669.29 1116.842" xml:space="preserve">
<path fill="none" opacity="0.1" stroke="#213e7d" stroke-width="6" stroke-miterlimit="10" d="M0,2915.056 c484.319,0,936.243-982.869,1417.323-982.869c489.179,0,941.102,982.869,1410.844,982.869 c484.319,0,936.243-982.869,1420.562-982.869c484.319,0,936.243,982.869,1420.563,982.869"></path>
</svg>
</div>
</footer>
</div>
<svg style="width:0;height:0;position:absolute;" aria-hidden="true" focusable="false">
<linearGradient id="my-cool-gradient" x2="0" y2="1">
<stop offset="0%" stop-color="#FFFFFF" />
<stop offset="50%" stop-color="#E9ECEF" />
<stop offset="100%" stop-color="#E9ECEF" />
</linearGradient>
</svg>
</body>
<script src="https://code.jquery.com/jquery-3.6.1.js" integrity="sha256-3zlB5s2uwoUzrXK3BT7AX3FyvojsraNFxCc2vC/7pNI=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-u1OknCvxWvY5kfmNBILK2hRnQC3Pr17a+RTT6rIHI7NnikvbZlHgTPOOmMi466C8" crossorigin="anonymous"></script>
<script type="text/javascript" charset="utf8" src="https://cdn.datatables.net/1.12.1/js/jquery.dataTables.js" defer></script>
<script type="text/javascript" language="javascript" src="https://cdn.datatables.net/buttons/1.5.6/js/dataTables.buttons.min.js" defer></script>
<script type="text/javascript" language="javascript" src="https://cdn.datatables.net/buttons/1.5.6/js/buttons.html5.min.js" defer></script>
<script type="text/javascript" language="javascript" src="https://cdn.datatables.net/buttons/1.5.6/js/buttons.print.min.js" defer></script>
<script type="text/javascript" language="javascript" src="https://cdn.datatables.net/v/bs4/jszip-2.5.0/dt-1.10.21/b-1.6.2/b-html5-1.6.2/datatables.min.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/v/dt/dt-1.12.1/datatables.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/js/buttons.html5.styles.min.js" defer></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/js/buttons.html5.styles.templates.min.js" defer></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.13.6/underscore-min.js" integrity="sha512-2V49R8ndaagCOnwmj8QnbT1Gz/rie17UouD9Re5WxbzRVUGoftCu5IuqqtAM9+UC3fwfHCSJR1hkzNQh/2wdtg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script type="text/javascript" src="./JS/modules/storage.js"></script>
<script type="text/javascript" src="./JS/gas.js"></script>
<script type="text/javascript" src="./JS/api.js"></script>
</html>