Introducción de repostajes
-Por favor, rellena todos los campos.
--
-
- Volver -
diff --git a/.gitignore_global b/.gitignore_global
index fdce3d0f..f9e5dfe8 100644
--- a/.gitignore_global
+++ b/.gitignore_global
@@ -2,3 +2,5 @@
.DS_store
._*
+*~
+*.log
diff --git a/HelmCharts/repostajes-chart/templates/mysql-deployment.yaml b/HelmCharts/repostajes-chart/templates/mysql-deployment.yaml
index 402d76fe..0988915e 100644
--- a/HelmCharts/repostajes-chart/templates/mysql-deployment.yaml
+++ b/HelmCharts/repostajes-chart/templates/mysql-deployment.yaml
@@ -54,7 +54,8 @@ spec:
tier: mysql
spec:
containers:
- - image: creylopez/mariadb:1.0
+ - image: mariadb
+ #- image: creylopez/mariadb:2.0
name: mysql
env:
- name: MYSQL_ROOT_PASSWORD
diff --git a/Repostajes/gestionrepostajes/api-repostajes.php b/Repostajes/gestionrepostajes/api-repostajes.php
new file mode 100755
index 00000000..9e477e7e
--- /dev/null
+++ b/Repostajes/gestionrepostajes/api-repostajes.php
@@ -0,0 +1,29 @@
+prepare($sql);
+ $statement->execute();
+
+ $result = $statement->fetchAll();
+ echo json_encode($result);
+} catch(PDOException $error) {
+ echo $sql . "
" . $error->getMessage();
+}
+?>
diff --git a/Repostajes/gestionrepostajes/api-vehiculos.php b/Repostajes/gestionrepostajes/api-vehiculos.php
new file mode 100755
index 00000000..cc0744ed
--- /dev/null
+++ b/Repostajes/gestionrepostajes/api-vehiculos.php
@@ -0,0 +1,29 @@
+prepare($sql);
+ $statement->execute();
+
+ $result = $statement->fetchAll();
+ echo json_encode($result);
+} catch(PDOException $error) {
+ echo $sql . "
" . $error->getMessage();
+}
+?>
\ No newline at end of file
diff --git a/Repostajes/gestionrepostajes/charts.html~ b/Repostajes/gestionrepostajes/charts.html~
deleted file mode 100755
index bebf89af..00000000
--- a/Repostajes/gestionrepostajes/charts.html~
+++ /dev/null
@@ -1,437 +0,0 @@
-
-
-
assets/js/charts-demo.js Por favor, rellena todos los campos.
-successfully added.- - -