Skip to content

Commit

Permalink
début responsive index
Browse files Browse the repository at this point in the history
  • Loading branch information
kiw808 committed May 14, 2020
1 parent f56386c commit e101ffc
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 271 deletions.
6 changes: 6 additions & 0 deletions public/assets/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,10 @@ strong {

#index-bouquets a:hover {
text-decoration: none;
}

@media only screen and (max-width: 1300px) {
body {
background-size: cover;
}
}
Binary file added public/assets/uploads/5ebbaf0d7f509.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/uploads/5ebbfaa893c1e.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/uploads/5ebbfac8f052e.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/uploads/5ebc02806c670.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/uploads/5ebc029e131e7.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/uploads/5ebc0318d99ca.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
272 changes: 1 addition & 271 deletions strasbouquet.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
-- https://www.phpmyadmin.net/
--
-- Client : localhost:3306
-- Généré le : Jeu 14 Mai 2020 à 17:43
-- Généré le : Jeu 14 Mai 2020 à 17:55
-- Version du serveur : 5.7.30-0ubuntu0.18.04.1
-- Version de PHP : 7.2.30-1+ubuntu18.04.1+deb.sury.org+1

Expand All @@ -20,20 +20,6 @@ SET time_zone = "+00:00";
-- Base de données : `strasbouquet`
--

-- --------------------------------------------------------

--
-- Structure de la table `bouquet`
--

CREATE TABLE `bouquet` (
`id` int(11) NOT NULL,
`nom` varchar(255) COLLATE utf8_bin NOT NULL,
`prix` float NOT NULL,
`description` varchar(255) COLLATE utf8_bin NOT NULL,
`saisonnier` varchar(50) COLLATE utf8_bin NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

--
-- Contenu de la table `bouquet`
--
Expand Down Expand Up @@ -64,78 +50,6 @@ INSERT INTO `bouquet` (`id`, `nom`, `prix`, `description`, `saisonnier`) VALUES
(28, 'Pure sensation', 63, 'Prisée des grandes cérémonies comme le mariage, la rose blanche est avant tout associée au respect des sentiments et à la fidélité.', 'Mariage'),
(29, 'Pureté', 150, 'Angélique et raffinée, la rose blanche sait aussi sublimer vos plaisirs d\'offrir de chaque jour. Preuve en est ce sublime bouquet Pureté de 40 roses blanches gros boutons, imposant par la taille autant que par son authenticité.', 'Mariage');

-- --------------------------------------------------------

--
-- Structure de la table `bouquet_catalogue`
--

CREATE TABLE `bouquet_catalogue` (
`id_bouquet_concept` int(11) NOT NULL,
`id_catalogue_unitaire` int(11) NOT NULL,
`quantite` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

-- --------------------------------------------------------

--
-- Structure de la table `bouquet_concept`
--

CREATE TABLE `bouquet_concept` (
`id` int(11) NOT NULL,
`id_user` int(11) NOT NULL,
`id_panier` int(11) DEFAULT NULL,
`prix_total` float DEFAULT NULL,
`carte` tinyint(1) DEFAULT NULL,
`date` date DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

--
-- Contenu de la table `bouquet_concept`
--

INSERT INTO `bouquet_concept` (`id`, `id_user`, `id_panier`, `prix_total`, `carte`, `date`) VALUES
(1, 1, NULL, 0, NULL, '2020-05-14'),
(2, 2, NULL, 0, NULL, '2020-05-14'),
(3, 2, NULL, 0, NULL, '2020-05-14'),
(4, 2, NULL, 0, NULL, '2020-05-14'),
(5, 2, NULL, 0, NULL, '2020-05-14');

-- --------------------------------------------------------

--
-- Structure de la table `bouquet_panier`
--

CREATE TABLE `bouquet_panier` (
`id_panier` int(11) NOT NULL,
`id_bouquet` int(11) NOT NULL,
`quantite` int(11) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

--
-- Contenu de la table `bouquet_panier`
--

INSERT INTO `bouquet_panier` (`id_panier`, `id_bouquet`, `quantite`) VALUES
(1, 7, 1),
(1, 6, 1);

-- --------------------------------------------------------

--
-- Structure de la table `catalogue_unitaire`
--

CREATE TABLE `catalogue_unitaire` (
`id` int(11) NOT NULL,
`nom` varchar(255) COLLATE utf8_bin NOT NULL,
`type` varchar(255) COLLATE utf8_bin NOT NULL,
`prix` float NOT NULL,
`couleur` varchar(255) COLLATE utf8_bin NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

--
-- Contenu de la table `catalogue_unitaire`
--
Expand All @@ -162,20 +76,6 @@ INSERT INTO `catalogue_unitaire` (`id`, `nom`, `type`, `prix`, `couleur`) VALUES
(21, 'Echevaria', 'feuilles', 3, 'vert'),
(22, 'Cage à oiseaux', 'autres', 10, 'blanc');

-- --------------------------------------------------------

--
-- Structure de la table `galerie`
--

CREATE TABLE `galerie` (
`id` int(11) NOT NULL,
`nom` varchar(255) COLLATE utf8_bin NOT NULL,
`file1` varchar(255) COLLATE utf8_bin NOT NULL,
`id_bouquet` int(11) DEFAULT NULL,
`id_catalogue_unitaire` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

--
-- Contenu de la table `galerie`
--
Expand Down Expand Up @@ -225,45 +125,6 @@ INSERT INTO `galerie` (`id`, `nom`, `file1`, `id_bouquet`, `id_catalogue_unitair
(48, 'Pure sensation', 'assets/uploads/5ebd660c2e4bf.jpg', 28, NULL),
(49, 'Pureté', 'assets/uploads/5ebd6689e3d71.jpg', 29, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `panier`
--

CREATE TABLE `panier` (
`id` int(11) NOT NULL,
`id_bouquet` int(11) DEFAULT NULL,
`prix_total` float DEFAULT NULL,
`id_user` int(11) NOT NULL,
`date` date DEFAULT NULL,
`etat` varchar(255) COLLATE utf8_bin DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

--
-- Contenu de la table `panier`
--

INSERT INTO `panier` (`id`, `id_bouquet`, `prix_total`, `id_user`, `date`, `etat`) VALUES
(1, NULL, NULL, 2, '2020-05-14', NULL);

-- --------------------------------------------------------

--
-- Structure de la table `user`
--

CREATE TABLE `user` (
`id` int(11) NOT NULL,
`firstname` varchar(255) COLLATE utf8_bin NOT NULL,
`lastname` varchar(255) COLLATE utf8_bin NOT NULL,
`password` varchar(255) COLLATE utf8_bin NOT NULL,
`mail` varchar(255) COLLATE utf8_bin NOT NULL,
`role` varchar(255) COLLATE utf8_bin NOT NULL,
`historique` varchar(255) COLLATE utf8_bin DEFAULT NULL,
`num_Tel` varchar(15) COLLATE utf8_bin NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

--
-- Contenu de la table `user`
--
Expand All @@ -272,137 +133,6 @@ INSERT INTO `user` (`id`, `firstname`, `lastname`, `password`, `mail`, `role`, `
(1, 'Client', 'CLIENT', '$2y$10$HH9DkJWeLBXPVAaFcQwjWevOpO3ykjFia9pBncywDPhGk2OthZXga', '[email protected]', 'client', NULL, '0203568956'),
(2, 'Admin', 'SUPER', '$2y$10$wsfp2GX25rkkdXGbZrI5FOf2dbQHk49LyxSAzr3WP8SEJDlFf843S', '[email protected]', 'admin', NULL, '0356895689');

--
-- Index pour les tables exportées
--

--
-- Index pour la table `bouquet`
--
ALTER TABLE `bouquet`
ADD PRIMARY KEY (`id`);

--
-- Index pour la table `bouquet_catalogue`
--
ALTER TABLE `bouquet_catalogue`
ADD KEY `bouquet_catalogue_ibfk_1` (`id_bouquet_concept`),
ADD KEY `bouquet_catalogue_ibfk_2` (`id_catalogue_unitaire`);

--
-- Index pour la table `bouquet_concept`
--
ALTER TABLE `bouquet_concept`
ADD PRIMARY KEY (`id`),
ADD KEY `bouquet_concept_ibfk_1` (`id_user`),
ADD KEY `bouquet_concept_ibfk_2` (`id_panier`);

--
-- Index pour la table `bouquet_panier`
--
ALTER TABLE `bouquet_panier`
ADD KEY `bouquet_panier_ibfk_1` (`id_panier`),
ADD KEY `bouquet_panier_ibfk_2` (`id_bouquet`);

--
-- Index pour la table `catalogue_unitaire`
--
ALTER TABLE `catalogue_unitaire`
ADD PRIMARY KEY (`id`);

--
-- Index pour la table `galerie`
--
ALTER TABLE `galerie`
ADD PRIMARY KEY (`id`),
ADD KEY `galerie_ibfk_1` (`id_bouquet`),
ADD KEY `galerie_ibfk_2` (`id_catalogue_unitaire`);

--
-- Index pour la table `panier`
--
ALTER TABLE `panier`
ADD PRIMARY KEY (`id`),
ADD KEY `id_user` (`id_user`);

--
-- Index pour la table `user`
--
ALTER TABLE `user`
ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT pour les tables exportées
--

--
-- AUTO_INCREMENT pour la table `bouquet`
--
ALTER TABLE `bouquet`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=30;
--
-- AUTO_INCREMENT pour la table `bouquet_concept`
--
ALTER TABLE `bouquet_concept`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT pour la table `catalogue_unitaire`
--
ALTER TABLE `catalogue_unitaire`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;
--
-- AUTO_INCREMENT pour la table `galerie`
--
ALTER TABLE `galerie`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=50;
--
-- AUTO_INCREMENT pour la table `panier`
--
ALTER TABLE `panier`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT pour la table `user`
--
ALTER TABLE `user`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- Contraintes pour les tables exportées
--

--
-- Contraintes pour la table `bouquet_catalogue`
--
ALTER TABLE `bouquet_catalogue`
ADD CONSTRAINT `bouquet_catalogue_ibfk_1` FOREIGN KEY (`id_bouquet_concept`) REFERENCES `bouquet_concept` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `bouquet_catalogue_ibfk_2` FOREIGN KEY (`id_catalogue_unitaire`) REFERENCES `catalogue_unitaire` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Contraintes pour la table `bouquet_concept`
--
ALTER TABLE `bouquet_concept`
ADD CONSTRAINT `bouquet_concept_ibfk_1` FOREIGN KEY (`id_user`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `bouquet_concept_ibfk_2` FOREIGN KEY (`id_panier`) REFERENCES `panier` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Contraintes pour la table `bouquet_panier`
--
ALTER TABLE `bouquet_panier`
ADD CONSTRAINT `bouquet_panier_ibfk_1` FOREIGN KEY (`id_panier`) REFERENCES `panier` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `bouquet_panier_ibfk_2` FOREIGN KEY (`id_bouquet`) REFERENCES `bouquet` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Contraintes pour la table `galerie`
--
ALTER TABLE `galerie`
ADD CONSTRAINT `galerie_ibfk_1` FOREIGN KEY (`id_bouquet`) REFERENCES `bouquet` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `galerie_ibfk_2` FOREIGN KEY (`id_catalogue_unitaire`) REFERENCES `catalogue_unitaire` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Contraintes pour la table `panier`
--
ALTER TABLE `panier`
ADD CONSTRAINT `panier_ibfk_1` FOREIGN KEY (`id_user`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

0 comments on commit e101ffc

Please sign in to comment.