yeungalan il y a 4 ans
Parent
commit
122331a9e3
47 fichiers modifiés avec 105 ajouts et 4 suppressions
  1. 15 0
      .vscode/launch.json
  2. 0 0
      photo/node_modules/.cache/babel-loader/035676a6609f8a6ca89098b2a1b8c4e5.json
  3. 0 0
      photo/node_modules/.cache/babel-loader/0e353facd95bb9a74a104ca4d3b13404.json
  4. 0 0
      photo/node_modules/.cache/babel-loader/160dfdea65fe7e284f817106747c65ae.json
  5. 0 0
      photo/node_modules/.cache/babel-loader/18f205b3ec2498b504a348f9147d3925.json
  6. 0 0
      photo/node_modules/.cache/babel-loader/3357820296728087276267a866f4516c.json
  7. 0 0
      photo/node_modules/.cache/babel-loader/3fc59be2659368b353afc8156d5c221c.json
  8. 0 0
      photo/node_modules/.cache/babel-loader/4810335c4157ace2237ea918e15f1b72.json
  9. 0 0
      photo/node_modules/.cache/babel-loader/4dc4e86f4d8648a370fba5b05e0dacbb.json
  10. 0 0
      photo/node_modules/.cache/babel-loader/53850b674754cfae2be09154fde8861b.json
  11. 0 0
      photo/node_modules/.cache/babel-loader/5d1b77eaedaeaa5e9e0ce8020e19bbd6.json
  12. 0 0
      photo/node_modules/.cache/babel-loader/90c2836994541fe3bf5a865848cae50f.json
  13. 0 0
      photo/node_modules/.cache/babel-loader/950eba4e4af6df89f1823194d80d5f2c.json
  14. 0 0
      photo/node_modules/.cache/babel-loader/98db10ab828095cb26dcffdae4e80860.json
  15. 0 0
      photo/node_modules/.cache/babel-loader/a18c394c944ac19c82f3038a4dc91527.json
  16. 0 0
      photo/node_modules/.cache/babel-loader/a2e8e6ac596575de9e69e43d2b57d59a.json
  17. 0 0
      photo/node_modules/.cache/babel-loader/a6ed2dc95fa2160923eef3140dbaa007.json
  18. 0 0
      photo/node_modules/.cache/babel-loader/b085871a79a94a5c842f0dd8914127ef.json
  19. 0 0
      photo/node_modules/.cache/babel-loader/d18b29b7ebc36ac516463a0aa3240a6b.json
  20. 0 0
      photo/node_modules/.cache/babel-loader/d4b5a991ea4280b44a37293f233088a7.json
  21. 0 0
      photo/node_modules/.cache/babel-loader/f7fd2d555c9c97edbb2a099262ca5d62.json
  22. 0 0
      photo/node_modules/.cache/babel-loader/fefc9f6783dcb8a7dff950d12b1592e5.json
  23. BIN
      photo/node_modules/.cache/eslint-loader/0496e677fdc668e70ec57284db1b41c78497b0c5.json.gz
  24. BIN
      photo/node_modules/.cache/eslint-loader/278784887f52ef66d2b68ad7b47348270015bfcf.json.gz
  25. BIN
      photo/node_modules/.cache/eslint-loader/2c62f44f83411d50e386213e6bf52a2619f5da0e.json.gz
  26. BIN
      photo/node_modules/.cache/eslint-loader/34688f546049bba0e6ed5bce1530e27ba38a41c5.json.gz
  27. BIN
      photo/node_modules/.cache/eslint-loader/3a85baa9f07799ee145e5023fdacab3c567b7315.json.gz
  28. BIN
      photo/node_modules/.cache/eslint-loader/49a54b55789049f922ff4aca1d5395ee7d82f655.json.gz
  29. BIN
      photo/node_modules/.cache/eslint-loader/599b4617d4e8d63a50043953877b9ab76aa44eea.json.gz
  30. BIN
      photo/node_modules/.cache/eslint-loader/63ef3df6c5c751f4a7d0f9d5c539d22040549131.json.gz
  31. BIN
      photo/node_modules/.cache/eslint-loader/6cd8beac624a968e4ec13da92146040bcfade2db.json.gz
  32. BIN
      photo/node_modules/.cache/eslint-loader/6f43612831bb2df840401decd7f85461f35567cb.json.gz
  33. BIN
      photo/node_modules/.cache/eslint-loader/82dc2d5facdc94f878a3f2c36d26488f575073a1.json.gz
  34. BIN
      photo/node_modules/.cache/eslint-loader/a02b57d1a3107ff4c2b9cb6a8514fba59042f2f8.json.gz
  35. BIN
      photo/node_modules/.cache/eslint-loader/a3e2fa359faab69e3adc52061e20d5d32b11b666.json.gz
  36. BIN
      photo/node_modules/.cache/eslint-loader/a436eb51f54de01ab8eed9e368cc5a67a1bfa5de.json.gz
  37. BIN
      photo/node_modules/.cache/eslint-loader/a43cf932f634ffdf2b018015df2ec8de98880969.json.gz
  38. BIN
      photo/node_modules/.cache/eslint-loader/a572cca31bd47205fe638125eb61bcb85ca7348c.json.gz
  39. BIN
      photo/node_modules/.cache/eslint-loader/c4b9974edc746bb3c96ddba61b6055242cf4a4d8.json.gz
  40. BIN
      photo/node_modules/.cache/eslint-loader/d2924d8edeac224bbb88ad0dc0fd485543a59ef0.json.gz
  41. BIN
      photo/node_modules/.cache/eslint-loader/db60ca493f3c993a595c539162346c77192aa97d.json.gz
  42. BIN
      photo/node_modules/.cache/eslint-loader/e699e2a5d5d40dba0baf195ee03dbeefd9fae9d5.json.gz
  43. BIN
      photo/node_modules/.cache/eslint-loader/f0c74c67584c7f5e68dc9bce3ab6c95291186c10.json.gz
  44. BIN
      photo/node_modules/.cache/eslint-loader/f2f4ed14c0b645e7b7d217681e0c83afb4441dc2.json.gz
  45. BIN
      photo/node_modules/.cache/eslint-loader/fe026061a586940f53b57ada820ed91eb4cc6fdb.json.gz
  46. 86 0
      photo/src/testIL.js
  47. 4 4
      photo/src/testM.js

+ 15 - 0
.vscode/launch.json

@@ -0,0 +1,15 @@
+{
+    // Use IntelliSense to learn about possible attributes.
+    // Hover to view descriptions of existing attributes.
+    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
+    "version": "0.2.0",
+    "configurations": [
+        {
+            "type": "chrome",
+            "request": "launch",
+            "name": "Launch Chrome against localhost",
+            "url": "http://localhost:8080",
+            "webRoot": "${workspaceFolder}"
+        }
+    ]
+}

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
photo/node_modules/.cache/babel-loader/035676a6609f8a6ca89098b2a1b8c4e5.json


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
photo/node_modules/.cache/babel-loader/0e353facd95bb9a74a104ca4d3b13404.json


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
photo/node_modules/.cache/babel-loader/160dfdea65fe7e284f817106747c65ae.json


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
photo/node_modules/.cache/babel-loader/18f205b3ec2498b504a348f9147d3925.json


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
photo/node_modules/.cache/babel-loader/3357820296728087276267a866f4516c.json


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
photo/node_modules/.cache/babel-loader/3fc59be2659368b353afc8156d5c221c.json


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
photo/node_modules/.cache/babel-loader/4810335c4157ace2237ea918e15f1b72.json


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
photo/node_modules/.cache/babel-loader/4dc4e86f4d8648a370fba5b05e0dacbb.json


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
photo/node_modules/.cache/babel-loader/53850b674754cfae2be09154fde8861b.json


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
photo/node_modules/.cache/babel-loader/5d1b77eaedaeaa5e9e0ce8020e19bbd6.json


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
photo/node_modules/.cache/babel-loader/90c2836994541fe3bf5a865848cae50f.json


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
photo/node_modules/.cache/babel-loader/950eba4e4af6df89f1823194d80d5f2c.json


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
photo/node_modules/.cache/babel-loader/98db10ab828095cb26dcffdae4e80860.json


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
photo/node_modules/.cache/babel-loader/a18c394c944ac19c82f3038a4dc91527.json


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
photo/node_modules/.cache/babel-loader/a2e8e6ac596575de9e69e43d2b57d59a.json


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
photo/node_modules/.cache/babel-loader/a6ed2dc95fa2160923eef3140dbaa007.json


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
photo/node_modules/.cache/babel-loader/b085871a79a94a5c842f0dd8914127ef.json


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
photo/node_modules/.cache/babel-loader/d18b29b7ebc36ac516463a0aa3240a6b.json


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
photo/node_modules/.cache/babel-loader/d4b5a991ea4280b44a37293f233088a7.json


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
photo/node_modules/.cache/babel-loader/f7fd2d555c9c97edbb2a099262ca5d62.json


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
photo/node_modules/.cache/babel-loader/fefc9f6783dcb8a7dff950d12b1592e5.json


BIN
photo/node_modules/.cache/eslint-loader/0496e677fdc668e70ec57284db1b41c78497b0c5.json.gz


BIN
photo/node_modules/.cache/eslint-loader/278784887f52ef66d2b68ad7b47348270015bfcf.json.gz


BIN
photo/node_modules/.cache/eslint-loader/2c62f44f83411d50e386213e6bf52a2619f5da0e.json.gz


BIN
photo/node_modules/.cache/eslint-loader/34688f546049bba0e6ed5bce1530e27ba38a41c5.json.gz


BIN
photo/node_modules/.cache/eslint-loader/3a85baa9f07799ee145e5023fdacab3c567b7315.json.gz


BIN
photo/node_modules/.cache/eslint-loader/49a54b55789049f922ff4aca1d5395ee7d82f655.json.gz


BIN
photo/node_modules/.cache/eslint-loader/599b4617d4e8d63a50043953877b9ab76aa44eea.json.gz


BIN
photo/node_modules/.cache/eslint-loader/63ef3df6c5c751f4a7d0f9d5c539d22040549131.json.gz


BIN
photo/node_modules/.cache/eslint-loader/6cd8beac624a968e4ec13da92146040bcfade2db.json.gz


BIN
photo/node_modules/.cache/eslint-loader/6f43612831bb2df840401decd7f85461f35567cb.json.gz


BIN
photo/node_modules/.cache/eslint-loader/82dc2d5facdc94f878a3f2c36d26488f575073a1.json.gz


BIN
photo/node_modules/.cache/eslint-loader/a02b57d1a3107ff4c2b9cb6a8514fba59042f2f8.json.gz


BIN
photo/node_modules/.cache/eslint-loader/a3e2fa359faab69e3adc52061e20d5d32b11b666.json.gz


BIN
photo/node_modules/.cache/eslint-loader/a436eb51f54de01ab8eed9e368cc5a67a1bfa5de.json.gz


BIN
photo/node_modules/.cache/eslint-loader/a43cf932f634ffdf2b018015df2ec8de98880969.json.gz


BIN
photo/node_modules/.cache/eslint-loader/a572cca31bd47205fe638125eb61bcb85ca7348c.json.gz


BIN
photo/node_modules/.cache/eslint-loader/c4b9974edc746bb3c96ddba61b6055242cf4a4d8.json.gz


BIN
photo/node_modules/.cache/eslint-loader/d2924d8edeac224bbb88ad0dc0fd485543a59ef0.json.gz


BIN
photo/node_modules/.cache/eslint-loader/db60ca493f3c993a595c539162346c77192aa97d.json.gz


BIN
photo/node_modules/.cache/eslint-loader/e699e2a5d5d40dba0baf195ee03dbeefd9fae9d5.json.gz


BIN
photo/node_modules/.cache/eslint-loader/f0c74c67584c7f5e68dc9bce3ab6c95291186c10.json.gz


BIN
photo/node_modules/.cache/eslint-loader/f2f4ed14c0b645e7b7d217681e0c83afb4441dc2.json.gz


BIN
photo/node_modules/.cache/eslint-loader/fe026061a586940f53b57ada820ed91eb4cc6fdb.json.gz


+ 86 - 0
photo/src/testIL.js

@@ -0,0 +1,86 @@
+import React from 'react';
+import { makeStyles } from '@material-ui/core/styles';
+import GridList from '@material-ui/core/GridList';
+import GridListTile from '@material-ui/core/GridListTile';
+import GridListTileBar from '@material-ui/core/GridListTileBar';
+import ListSubheader from '@material-ui/core/ListSubheader';
+import IconButton from '@material-ui/core/IconButton';
+import InfoIcon from '@material-ui/icons/Info';
+import tileData from './tileData';
+
+const useStyles = makeStyles((theme) => ({
+    root: {
+        display: 'flex',
+        flexWrap: 'wrap',
+        justifyContent: 'space-around',
+        overflow: 'hidden',
+        backgroundColor: theme.palette.background.paper,
+    },
+    gridList: {
+        width: '100%',
+        height: '100%',
+    },
+    icon: {
+        color: 'rgba(255, 255, 255, 0.54)',
+    },
+}));
+
+/**
+ * The example data is structured as follows:
+ *
+ * import image from 'path/to/image.jpg';
+ * [etc...]
+ *
+ * const tileData = [
+ *   {
+ *     img: image,
+ *     title: 'Image',
+ *     author: 'author',
+ *   },
+ *   {
+ *     [etc...]
+ *   },
+ * ];
+ */
+export default function TitlebarGridList() {
+    const classes = useStyles();
+
+    return ( <
+        div className = { classes.root } >
+        <
+        GridList cellHeight = { 180 }
+        cols = { 5 }
+        className = { classes.gridList } >
+        <
+        GridListTile key = "Subheader"
+        cols = { 5 }
+        style = {
+            { height: 'auto' }
+        } >
+        <
+        ListSubheader component = "div" > December < /ListSubheader> < /
+        GridListTile > {
+            tileData.map((tile) => ( <
+                    GridListTile key = { tile.img } >
+                    <
+                    img src = { tile.img }
+                    alt = { tile.title }
+                    /> <
+                    GridListTileBar title = { tile.title }
+                    subtitle = { < span > by: { tile.author } < /span>}
+                        actionIcon = { <
+                            IconButton
+                            className = { classes.icon } >
+                            <
+                            InfoIcon / >
+                            <
+                            /IconButton>
+                        }
+                        /> < /
+                        GridListTile >
+                    ))
+            } <
+            /GridList> < /
+            div >
+        );
+    }

+ 4 - 4
photo/src/testM.js

@@ -18,7 +18,7 @@ import ListItemIcon from '@material-ui/core/ListItemIcon';
 import ListItemText from '@material-ui/core/ListItemText';
 import InboxIcon from '@material-ui/icons/MoveToInbox';
 import MailIcon from '@material-ui/icons/Mail';
-import ImageList from './ImageList';
+import ImageList from './testIL';
 import PhotoIcon from '@material-ui/icons/Photo';
 import ShareIcon from '@material-ui/icons/Share';
 import PhotoAlbumIcon from '@material-ui/icons/PhotoAlbum';
@@ -141,6 +141,9 @@ export default function ButtonAppBar() {
         div className = { classes.root } >
         <
         AppBar position = "fixed"
+        style = {
+            { background: '#2196f3' }
+        }
         className = {
             clsx(classes.appBar, {
                 [classes.appBarShift]: open,
@@ -169,9 +172,6 @@ export default function ButtonAppBar() {
         startIcon = { < CloudUploadIcon / > } >
         Upload <
         /Button><IconButton style={{ color: '#ffffff' }} aria-label="delete"> <
-        CloudUploadIcon / >
-        <
-        /IconButton> <IconButton style={{ color: '#ffffff' }} aria-label="delete"> <
         HelpOutlineIcon / >
         <
         /IconButton> <IconButton style={{ color: '#ffffff' }} aria-label="delete"> <

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff