육현진

Material UI

1 -[{"C:\\Users\\sally\\Desktop\\3-1\\DBproject\\project\\src\\index.js":"1","C:\\Users\\sally\\Desktop\\3-1\\DBproject\\project\\src\\reportWebVitals.js":"2","C:\\Users\\sally\\Desktop\\3-1\\DBproject\\project\\src\\App.js":"3","C:\\Users\\sally\\Desktop\\3-1\\DBproject\\project\\src\\components\\Student.js":"4"},{"size":500,"mtime":499162500000,"results":"5","hashOfConfig":"6"},{"size":362,"mtime":499162500000,"results":"7","hashOfConfig":"6"},{"size":1279,"mtime":1607355610693,"results":"8","hashOfConfig":"6"},{"size":1669,"mtime":1607355555245,"results":"9","hashOfConfig":"6"},{"filePath":"10","messages":"11","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"12"},"16rehmo",{"filePath":"13","messages":"14","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"12"},{"filePath":"15","messages":"16","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"17","messages":"18","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"12"},"C:\\Users\\sally\\Desktop\\3-1\\DBproject\\project\\src\\index.js",[],["19","20"],"C:\\Users\\sally\\Desktop\\3-1\\DBproject\\project\\src\\reportWebVitals.js",[],"C:\\Users\\sally\\Desktop\\3-1\\DBproject\\project\\src\\App.js",["21"],"C:\\Users\\sally\\Desktop\\3-1\\DBproject\\project\\src\\components\\Student.js",[],{"ruleId":"22","replacedBy":"23"},{"ruleId":"24","replacedBy":"25"},{"ruleId":"26","severity":1,"message":"27","line":1,"column":27,"nodeType":"28","messageId":"29","endLine":1,"endColumn":37},"no-native-reassign",["30"],"no-negated-in-lhs",["31"],"no-unused-vars","'components' is defined but never used.","Identifier","unusedVar","no-global-assign","no-unsafe-negation"]
...\ No newline at end of file ...\ No newline at end of file
1 +[{"C:\\Users\\sally\\Desktop\\3-1\\DBproject\\project\\src\\index.js":"1","C:\\Users\\sally\\Desktop\\3-1\\DBproject\\project\\src\\reportWebVitals.js":"2","C:\\Users\\sally\\Desktop\\3-1\\DBproject\\project\\src\\App.js":"3","C:\\Users\\sally\\Desktop\\3-1\\DBproject\\project\\src\\components\\Student.js":"4"},{"size":500,"mtime":499162500000,"results":"5","hashOfConfig":"6"},{"size":362,"mtime":499162500000,"results":"7","hashOfConfig":"6"},{"size":2429,"mtime":1607364268881,"results":"8","hashOfConfig":"6"},{"size":2433,"mtime":1607363898200,"results":"9","hashOfConfig":"6"},{"filePath":"10","messages":"11","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"12"},"16rehmo",{"filePath":"13","messages":"14","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"12"},{"filePath":"15","messages":"16","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"17","messages":"18","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"19","usedDeprecatedRules":"12"},"C:\\Users\\sally\\Desktop\\3-1\\DBproject\\project\\src\\index.js",[],["20","21"],"C:\\Users\\sally\\Desktop\\3-1\\DBproject\\project\\src\\reportWebVitals.js",[],"C:\\Users\\sally\\Desktop\\3-1\\DBproject\\project\\src\\App.js",["22","23"],"C:\\Users\\sally\\Desktop\\3-1\\DBproject\\project\\src\\components\\Student.js",["24","25","26"],"import React from 'react';\r\nimport TableRow from '@material-ui/core/TableRow';\r\nimport TableCell from '@material-ui/core/TableCell';\r\n\r\nclass Student extends React.Component{\r\n render(){\r\n return(\r\n <TableRow>\r\n <TableCell> {this.props.st_Code} </TableCell>\r\n <TableCell> {this.props.st_Name} </TableCell>\r\n <TableCell> {this.props.st_Id} </TableCell>\r\n <TableCell> {this.props.st_Major} </TableCell>\r\n <TableCell> {this.props.st_Midscore} </TableCell>\r\n <TableCell> {this.props.st_Finalscore} </TableCell>\r\n <TableCell> {this.props.st_Assignscore} </TableCell>\r\n <TableCell> {this.props.st_Attendscore} </TableCell>\r\n <TableCell> {this.props.st_Score} </TableCell>\r\n\r\n </TableRow>\r\n \r\n /*<div>\r\n \r\n <Searchscores st_Midscore={this.props.st_Midscore} \r\n st_Finalscore = {this.props.st_Finalscore}\r\n st_Assignscore = {this.props.st_Assignscore}\r\n st_Attendscore = {this.props.st_Attendscore}/>\r\n\r\n <Searchscore st_Score={this.props.st_Score}/>\r\n\r\n <Searchothers st_Midscore={this.props.st_Midscore} \r\n st_Finalscore = {this.props.st_Finalscore}\r\n st_Assignscore = {this.props.st_Assignscore}\r\n st_Attendscore = {this.props.st_Attendscore}\r\n st_Score = {this.props.st_Score}/>\r\n\r\n </div>*/\r\n\r\n )\r\n }\r\n}\r\n\r\nclass Searchscores extends React.Component{\r\n render(){\r\n return(\r\n <div>\r\n\r\n <p>{this.props.st_Midscore}</p>\r\n <p>{this.props.st_Finalscore}</p>\r\n <p>{this.props.st_Assignscore}</p>\r\n <p>{this.props.st_Attendscore}</p>\r\n\r\n </div> \r\n )\r\n }\r\n}\r\n\r\n\r\nclass Searchscore extends React.Component{\r\n render(){\r\n return(\r\n <div>\r\n <p>{this.props.st_Score}</p>\r\n </div> \r\n )\r\n }\r\n}\r\n\r\nclass Searchothers extends React.Component{\r\n render(){\r\n return(\r\n <div>\r\n <p>{this.props.st_Midscore}</p>\r\n <p>{this.props.st_Finalscore}</p>\r\n <p>{this.props.st_Assignscore}</p>\r\n <p>{this.props.st_Attendscore}</p>\r\n <p>{this.props.st_Score}</p>\r\n </div> \r\n )\r\n }\r\n}\r\n\r\nexport default Student;",{"ruleId":"27","replacedBy":"28"},{"ruleId":"29","replacedBy":"30"},{"ruleId":"31","severity":1,"message":"32","line":1,"column":27,"nodeType":"33","messageId":"34","endLine":1,"endColumn":37},{"ruleId":"31","severity":1,"message":"35","line":8,"column":8,"nodeType":"33","messageId":"34","endLine":8,"endColumn":16},{"ruleId":"31","severity":1,"message":"36","line":42,"column":7,"nodeType":"33","messageId":"34","endLine":42,"endColumn":19},{"ruleId":"31","severity":1,"message":"37","line":58,"column":7,"nodeType":"33","messageId":"34","endLine":58,"endColumn":18},{"ruleId":"31","severity":1,"message":"38","line":68,"column":7,"nodeType":"33","messageId":"34","endLine":68,"endColumn":19},"no-native-reassign",["39"],"no-negated-in-lhs",["40"],"no-unused-vars","'components' is defined but never used.","Identifier","unusedVar","'TableRow' is defined but never used.","'Searchscores' is defined but never used.","'Searchscore' is defined but never used.","'Searchothers' is defined but never used.","no-global-assign","no-unsafe-negation"]
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -1158,6 +1158,11 @@ ...@@ -1158,6 +1158,11 @@
1158 "resolved": "https://registry.npmjs.org/@csstools/normalize.css/-/normalize.css-10.1.0.tgz", 1158 "resolved": "https://registry.npmjs.org/@csstools/normalize.css/-/normalize.css-10.1.0.tgz",
1159 "integrity": "sha512-ij4wRiunFfaJxjB0BdrYHIH8FxBJpOwNPhhAcunlmPdXudL1WQV1qoP9un6JsEBAgQH+7UXyyjh0g7jTxXK6tg==" 1159 "integrity": "sha512-ij4wRiunFfaJxjB0BdrYHIH8FxBJpOwNPhhAcunlmPdXudL1WQV1qoP9un6JsEBAgQH+7UXyyjh0g7jTxXK6tg=="
1160 }, 1160 },
1161 + "@emotion/hash": {
1162 + "version": "0.8.0",
1163 + "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.8.0.tgz",
1164 + "integrity": "sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow=="
1165 + },
1161 "@eslint/eslintrc": { 1166 "@eslint/eslintrc": {
1162 "version": "0.2.2", 1167 "version": "0.2.2",
1163 "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.2.2.tgz", 1168 "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.2.2.tgz",
...@@ -1762,6 +1767,74 @@ ...@@ -1762,6 +1767,74 @@
1762 } 1767 }
1763 } 1768 }
1764 }, 1769 },
1770 + "@material-ui/core": {
1771 + "version": "4.11.2",
1772 + "resolved": "https://registry.npmjs.org/@material-ui/core/-/core-4.11.2.tgz",
1773 + "integrity": "sha512-/D1+AQQeYX/WhT/FUk78UCRj8ch/RCglsQLYujYTIqPSJlwZHKcvHidNeVhODXeApojeXjkl0tWdk5C9ofwOkQ==",
1774 + "requires": {
1775 + "@babel/runtime": "^7.4.4",
1776 + "@material-ui/styles": "^4.11.2",
1777 + "@material-ui/system": "^4.11.2",
1778 + "@material-ui/types": "^5.1.0",
1779 + "@material-ui/utils": "^4.11.2",
1780 + "@types/react-transition-group": "^4.2.0",
1781 + "clsx": "^1.0.4",
1782 + "hoist-non-react-statics": "^3.3.2",
1783 + "popper.js": "1.16.1-lts",
1784 + "prop-types": "^15.7.2",
1785 + "react-is": "^16.8.0 || ^17.0.0",
1786 + "react-transition-group": "^4.4.0"
1787 + }
1788 + },
1789 + "@material-ui/styles": {
1790 + "version": "4.11.2",
1791 + "resolved": "https://registry.npmjs.org/@material-ui/styles/-/styles-4.11.2.tgz",
1792 + "integrity": "sha512-xbItf8zkfD3FuGoD9f2vlcyPf9jTEtj9YTJoNNV+NMWaSAHXgrW6geqRoo/IwBuMjqpwqsZhct13e2nUyU9Ljw==",
1793 + "requires": {
1794 + "@babel/runtime": "^7.4.4",
1795 + "@emotion/hash": "^0.8.0",
1796 + "@material-ui/types": "^5.1.0",
1797 + "@material-ui/utils": "^4.11.2",
1798 + "clsx": "^1.0.4",
1799 + "csstype": "^2.5.2",
1800 + "hoist-non-react-statics": "^3.3.2",
1801 + "jss": "^10.0.3",
1802 + "jss-plugin-camel-case": "^10.0.3",
1803 + "jss-plugin-default-unit": "^10.0.3",
1804 + "jss-plugin-global": "^10.0.3",
1805 + "jss-plugin-nested": "^10.0.3",
1806 + "jss-plugin-props-sort": "^10.0.3",
1807 + "jss-plugin-rule-value-function": "^10.0.3",
1808 + "jss-plugin-vendor-prefixer": "^10.0.3",
1809 + "prop-types": "^15.7.2"
1810 + }
1811 + },
1812 + "@material-ui/system": {
1813 + "version": "4.11.2",
1814 + "resolved": "https://registry.npmjs.org/@material-ui/system/-/system-4.11.2.tgz",
1815 + "integrity": "sha512-BELFJEel5E+5DMiZb6XXT3peWRn6UixRvBtKwSxqntmD0+zwbbfCij6jtGwwdJhN1qX/aXrKu10zX31GBaeR7A==",
1816 + "requires": {
1817 + "@babel/runtime": "^7.4.4",
1818 + "@material-ui/utils": "^4.11.2",
1819 + "csstype": "^2.5.2",
1820 + "prop-types": "^15.7.2"
1821 + }
1822 + },
1823 + "@material-ui/types": {
1824 + "version": "5.1.0",
1825 + "resolved": "https://registry.npmjs.org/@material-ui/types/-/types-5.1.0.tgz",
1826 + "integrity": "sha512-7cqRjrY50b8QzRSYyhSpx4WRw2YuO0KKIGQEVk5J8uoz2BanawykgZGoWEqKm7pVIbzFDN0SpPcVV4IhOFkl8A=="
1827 + },
1828 + "@material-ui/utils": {
1829 + "version": "4.11.2",
1830 + "resolved": "https://registry.npmjs.org/@material-ui/utils/-/utils-4.11.2.tgz",
1831 + "integrity": "sha512-Uul8w38u+PICe2Fg2pDKCaIG7kOyhowZ9vjiC1FsVwPABTW8vPPKfF6OvxRq3IiBaI1faOJmgdvMG7rMJARBhA==",
1832 + "requires": {
1833 + "@babel/runtime": "^7.4.4",
1834 + "prop-types": "^15.7.2",
1835 + "react-is": "^16.8.0 || ^17.0.0"
1836 + }
1837 + },
1765 "@nodelib/fs.scandir": { 1838 "@nodelib/fs.scandir": {
1766 "version": "2.1.3", 1839 "version": "2.1.3",
1767 "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz", 1840 "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz",
...@@ -2301,11 +2374,40 @@ ...@@ -2301,11 +2374,40 @@
2301 "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.1.5.tgz", 2374 "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.1.5.tgz",
2302 "integrity": "sha512-UEyp8LwZ4Dg30kVU2Q3amHHyTn1jEdhCIE59ANed76GaT1Vp76DD3ZWSAxgCrw6wJ0TqeoBpqmfUHiUDPs//HQ==" 2375 "integrity": "sha512-UEyp8LwZ4Dg30kVU2Q3amHHyTn1jEdhCIE59ANed76GaT1Vp76DD3ZWSAxgCrw6wJ0TqeoBpqmfUHiUDPs//HQ=="
2303 }, 2376 },
2377 + "@types/prop-types": {
2378 + "version": "15.7.3",
2379 + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.3.tgz",
2380 + "integrity": "sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw=="
2381 + },
2304 "@types/q": { 2382 "@types/q": {
2305 "version": "1.5.4", 2383 "version": "1.5.4",
2306 "resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.4.tgz", 2384 "resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.4.tgz",
2307 "integrity": "sha512-1HcDas8SEj4z1Wc696tH56G8OlRaH/sqZOynNNB+HF0WOeXPaxTtbYzJY2oEfiUxjSKjhCKr+MvR7dCHcEelug==" 2385 "integrity": "sha512-1HcDas8SEj4z1Wc696tH56G8OlRaH/sqZOynNNB+HF0WOeXPaxTtbYzJY2oEfiUxjSKjhCKr+MvR7dCHcEelug=="
2308 }, 2386 },
2387 + "@types/react": {
2388 + "version": "17.0.0",
2389 + "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.0.tgz",
2390 + "integrity": "sha512-aj/L7RIMsRlWML3YB6KZiXB3fV2t41+5RBGYF8z+tAKU43Px8C3cYUZsDvf1/+Bm4FK21QWBrDutu8ZJ/70qOw==",
2391 + "requires": {
2392 + "@types/prop-types": "*",
2393 + "csstype": "^3.0.2"
2394 + },
2395 + "dependencies": {
2396 + "csstype": {
2397 + "version": "3.0.5",
2398 + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.5.tgz",
2399 + "integrity": "sha512-uVDi8LpBUKQj6sdxNaTetL6FpeCqTjOvAQuQUa/qAqq8oOd4ivkbhgnqayl0dnPal8Tb/yB1tF+gOvCBiicaiQ=="
2400 + }
2401 + }
2402 + },
2403 + "@types/react-transition-group": {
2404 + "version": "4.4.0",
2405 + "resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.0.tgz",
2406 + "integrity": "sha512-/QfLHGpu+2fQOqQaXh8MG9q03bFENooTb/it4jr5kKaZlDQfWvjqWZg48AwzPVMBHlRuTRAY7hRHCEOXz5kV6w==",
2407 + "requires": {
2408 + "@types/react": "*"
2409 + }
2410 + },
2309 "@types/resolve": { 2411 "@types/resolve": {
2310 "version": "0.0.8", 2412 "version": "0.0.8",
2311 "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-0.0.8.tgz", 2413 "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-0.0.8.tgz",
...@@ -4041,6 +4143,11 @@ ...@@ -4041,6 +4143,11 @@
4041 "shallow-clone": "^3.0.0" 4143 "shallow-clone": "^3.0.0"
4042 } 4144 }
4043 }, 4145 },
4146 + "clsx": {
4147 + "version": "1.1.1",
4148 + "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.1.1.tgz",
4149 + "integrity": "sha512-6/bPho624p3S2pMyvP5kKBPXnI3ufHLObBFCfgx+LkeR5lg2XYy2hqZqUf45ypD8COn2bhgGJSUE+l5dhNBieA=="
4150 + },
4044 "co": { 4151 "co": {
4045 "version": "4.6.0", 4152 "version": "4.6.0",
4046 "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", 4153 "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz",
...@@ -4554,6 +4661,15 @@ ...@@ -4554,6 +4661,15 @@
4554 } 4661 }
4555 } 4662 }
4556 }, 4663 },
4664 + "css-vendor": {
4665 + "version": "2.0.8",
4666 + "resolved": "https://registry.npmjs.org/css-vendor/-/css-vendor-2.0.8.tgz",
4667 + "integrity": "sha512-x9Aq0XTInxrkuFeHKbYC7zWY8ai7qJ04Kxd9MnvbC1uO5DagxoHQjm4JvG+vCdXOoFtCjbL2XSZfxmoYa9uQVQ==",
4668 + "requires": {
4669 + "@babel/runtime": "^7.8.3",
4670 + "is-in-browser": "^1.0.2"
4671 + }
4672 + },
4557 "css-what": { 4673 "css-what": {
4558 "version": "3.4.2", 4674 "version": "3.4.2",
4559 "resolved": "https://registry.npmjs.org/css-what/-/css-what-3.4.2.tgz", 4675 "resolved": "https://registry.npmjs.org/css-what/-/css-what-3.4.2.tgz",
...@@ -4730,6 +4846,11 @@ ...@@ -4730,6 +4846,11 @@
4730 } 4846 }
4731 } 4847 }
4732 }, 4848 },
4849 + "csstype": {
4850 + "version": "2.6.14",
4851 + "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.14.tgz",
4852 + "integrity": "sha512-2mSc+VEpGPblzAxyeR+vZhJKgYg0Og0nnRi7pmRXFYYxSfnOnW8A5wwQb4n4cE2nIOzqKOAzLCaEX6aBmNEv8A=="
4853 + },
4733 "cyclist": { 4854 "cyclist": {
4734 "version": "1.0.1", 4855 "version": "1.0.1",
4735 "resolved": "https://registry.npmjs.org/cyclist/-/cyclist-1.0.1.tgz", 4856 "resolved": "https://registry.npmjs.org/cyclist/-/cyclist-1.0.1.tgz",
...@@ -5059,6 +5180,22 @@ ...@@ -5059,6 +5180,22 @@
5059 "utila": "~0.4" 5180 "utila": "~0.4"
5060 } 5181 }
5061 }, 5182 },
5183 + "dom-helpers": {
5184 + "version": "5.2.0",
5185 + "resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.0.tgz",
5186 + "integrity": "sha512-Ru5o9+V8CpunKnz5LGgWXkmrH/20cGKwcHwS4m73zIvs54CN9epEmT/HLqFJW3kXpakAFkEdzgy1hzlJe3E4OQ==",
5187 + "requires": {
5188 + "@babel/runtime": "^7.8.7",
5189 + "csstype": "^3.0.2"
5190 + },
5191 + "dependencies": {
5192 + "csstype": {
5193 + "version": "3.0.5",
5194 + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.5.tgz",
5195 + "integrity": "sha512-uVDi8LpBUKQj6sdxNaTetL6FpeCqTjOvAQuQUa/qAqq8oOd4ivkbhgnqayl0dnPal8Tb/yB1tF+gOvCBiicaiQ=="
5196 + }
5197 + }
5198 + },
5062 "dom-serializer": { 5199 "dom-serializer": {
5063 "version": "0.2.2", 5200 "version": "0.2.2",
5064 "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.2.2.tgz", 5201 "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.2.2.tgz",
...@@ -7042,6 +7179,14 @@ ...@@ -7042,6 +7179,14 @@
7042 "minimalistic-crypto-utils": "^1.0.1" 7179 "minimalistic-crypto-utils": "^1.0.1"
7043 } 7180 }
7044 }, 7181 },
7182 + "hoist-non-react-statics": {
7183 + "version": "3.3.2",
7184 + "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz",
7185 + "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==",
7186 + "requires": {
7187 + "react-is": "^16.7.0"
7188 + }
7189 + },
7045 "hoopy": { 7190 "hoopy": {
7046 "version": "0.1.4", 7191 "version": "0.1.4",
7047 "resolved": "https://registry.npmjs.org/hoopy/-/hoopy-0.1.4.tgz", 7192 "resolved": "https://registry.npmjs.org/hoopy/-/hoopy-0.1.4.tgz",
...@@ -7361,6 +7506,11 @@ ...@@ -7361,6 +7506,11 @@
7361 "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz", 7506 "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz",
7362 "integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==" 7507 "integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw=="
7363 }, 7508 },
7509 + "hyphenate-style-name": {
7510 + "version": "1.0.4",
7511 + "resolved": "https://registry.npmjs.org/hyphenate-style-name/-/hyphenate-style-name-1.0.4.tgz",
7512 + "integrity": "sha512-ygGZLjmXfPHj+ZWh6LwbC37l43MhfztxetbFCoYTM2VjkIUpeHgSNn7QIyVFj7YQ1Wl9Cbw5sholVJPzWvC2MQ=="
7513 + },
7364 "iconv-lite": { 7514 "iconv-lite": {
7365 "version": "0.4.24", 7515 "version": "0.4.24",
7366 "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", 7516 "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
...@@ -7461,6 +7611,14 @@ ...@@ -7461,6 +7611,14 @@
7461 "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", 7611 "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
7462 "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=" 7612 "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o="
7463 }, 7613 },
7614 + "indefinite-observable": {
7615 + "version": "2.0.1",
7616 + "resolved": "https://registry.npmjs.org/indefinite-observable/-/indefinite-observable-2.0.1.tgz",
7617 + "integrity": "sha512-G8vgmork+6H9S8lUAg1gtXEj2JxIQTo0g2PbFiYOdjkziSI0F7UYBiVwhZRuixhBCNGczAls34+5HJPyZysvxQ==",
7618 + "requires": {
7619 + "symbol-observable": "1.2.0"
7620 + }
7621 + },
7464 "indent-string": { 7622 "indent-string": {
7465 "version": "4.0.0", 7623 "version": "4.0.0",
7466 "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", 7624 "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz",
...@@ -7711,6 +7869,11 @@ ...@@ -7711,6 +7869,11 @@
7711 "is-extglob": "^2.1.1" 7869 "is-extglob": "^2.1.1"
7712 } 7870 }
7713 }, 7871 },
7872 + "is-in-browser": {
7873 + "version": "1.1.3",
7874 + "resolved": "https://registry.npmjs.org/is-in-browser/-/is-in-browser-1.1.3.tgz",
7875 + "integrity": "sha1-Vv9NtoOgeMYILrldrX3GLh0E+DU="
7876 + },
7714 "is-module": { 7877 "is-module": {
7715 "version": "1.0.0", 7878 "version": "1.0.0",
7716 "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", 7879 "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz",
...@@ -9525,6 +9688,92 @@ ...@@ -9525,6 +9688,92 @@
9525 "verror": "1.10.0" 9688 "verror": "1.10.0"
9526 } 9689 }
9527 }, 9690 },
9691 + "jss": {
9692 + "version": "10.5.0",
9693 + "resolved": "https://registry.npmjs.org/jss/-/jss-10.5.0.tgz",
9694 + "integrity": "sha512-B6151NvG+thUg3murLNHRPLxTLwQ13ep4SH5brj4d8qKtogOx/jupnpfkPGSHPqvcwKJaCLctpj2lEk+5yGwMw==",
9695 + "requires": {
9696 + "@babel/runtime": "^7.3.1",
9697 + "csstype": "^3.0.2",
9698 + "indefinite-observable": "^2.0.1",
9699 + "is-in-browser": "^1.1.3",
9700 + "tiny-warning": "^1.0.2"
9701 + },
9702 + "dependencies": {
9703 + "csstype": {
9704 + "version": "3.0.5",
9705 + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.5.tgz",
9706 + "integrity": "sha512-uVDi8LpBUKQj6sdxNaTetL6FpeCqTjOvAQuQUa/qAqq8oOd4ivkbhgnqayl0dnPal8Tb/yB1tF+gOvCBiicaiQ=="
9707 + }
9708 + }
9709 + },
9710 + "jss-plugin-camel-case": {
9711 + "version": "10.5.0",
9712 + "resolved": "https://registry.npmjs.org/jss-plugin-camel-case/-/jss-plugin-camel-case-10.5.0.tgz",
9713 + "integrity": "sha512-GSjPL0adGAkuoqeYiXTgO7PlIrmjv5v8lA6TTBdfxbNYpxADOdGKJgIEkffhlyuIZHlPuuiFYTwUreLUmSn7rg==",
9714 + "requires": {
9715 + "@babel/runtime": "^7.3.1",
9716 + "hyphenate-style-name": "^1.0.3",
9717 + "jss": "10.5.0"
9718 + }
9719 + },
9720 + "jss-plugin-default-unit": {
9721 + "version": "10.5.0",
9722 + "resolved": "https://registry.npmjs.org/jss-plugin-default-unit/-/jss-plugin-default-unit-10.5.0.tgz",
9723 + "integrity": "sha512-rsbTtZGCMrbcb9beiDd+TwL991NGmsAgVYH0hATrYJtue9e+LH/Gn4yFD1ENwE+3JzF3A+rPnM2JuD9L/SIIWw==",
9724 + "requires": {
9725 + "@babel/runtime": "^7.3.1",
9726 + "jss": "10.5.0"
9727 + }
9728 + },
9729 + "jss-plugin-global": {
9730 + "version": "10.5.0",
9731 + "resolved": "https://registry.npmjs.org/jss-plugin-global/-/jss-plugin-global-10.5.0.tgz",
9732 + "integrity": "sha512-FZd9+JE/3D7HMefEG54fEC0XiQ9rhGtDHAT/ols24y8sKQ1D5KIw6OyXEmIdKFmACgxZV2ARQ5pAUypxkk2IFQ==",
9733 + "requires": {
9734 + "@babel/runtime": "^7.3.1",
9735 + "jss": "10.5.0"
9736 + }
9737 + },
9738 + "jss-plugin-nested": {
9739 + "version": "10.5.0",
9740 + "resolved": "https://registry.npmjs.org/jss-plugin-nested/-/jss-plugin-nested-10.5.0.tgz",
9741 + "integrity": "sha512-ejPlCLNlEGgx8jmMiDk/zarsCZk+DV0YqXfddpgzbO9Toamo0HweCFuwJ3ZO40UFOfqKwfpKMVH/3HUXgxkTMg==",
9742 + "requires": {
9743 + "@babel/runtime": "^7.3.1",
9744 + "jss": "10.5.0",
9745 + "tiny-warning": "^1.0.2"
9746 + }
9747 + },
9748 + "jss-plugin-props-sort": {
9749 + "version": "10.5.0",
9750 + "resolved": "https://registry.npmjs.org/jss-plugin-props-sort/-/jss-plugin-props-sort-10.5.0.tgz",
9751 + "integrity": "sha512-kTLRvrOetFKz5vM88FAhLNeJIxfjhCepnvq65G7xsAQ/Wgy7HwO1BS/2wE5mx8iLaAWC6Rj5h16mhMk9sKdZxg==",
9752 + "requires": {
9753 + "@babel/runtime": "^7.3.1",
9754 + "jss": "10.5.0"
9755 + }
9756 + },
9757 + "jss-plugin-rule-value-function": {
9758 + "version": "10.5.0",
9759 + "resolved": "https://registry.npmjs.org/jss-plugin-rule-value-function/-/jss-plugin-rule-value-function-10.5.0.tgz",
9760 + "integrity": "sha512-jXINGr8BSsB13JVuK274oEtk0LoooYSJqTBCGeBu2cG/VJ3+4FPs1gwLgsq24xTgKshtZ+WEQMVL34OprLidRA==",
9761 + "requires": {
9762 + "@babel/runtime": "^7.3.1",
9763 + "jss": "10.5.0",
9764 + "tiny-warning": "^1.0.2"
9765 + }
9766 + },
9767 + "jss-plugin-vendor-prefixer": {
9768 + "version": "10.5.0",
9769 + "resolved": "https://registry.npmjs.org/jss-plugin-vendor-prefixer/-/jss-plugin-vendor-prefixer-10.5.0.tgz",
9770 + "integrity": "sha512-rux3gmfwDdOKCLDx0IQjTwTm03IfBa+Rm/hs747cOw5Q7O3RaTUIMPKjtVfc31Xr/XI9Abz2XEupk1/oMQ7zRA==",
9771 + "requires": {
9772 + "@babel/runtime": "^7.3.1",
9773 + "css-vendor": "^2.0.8",
9774 + "jss": "10.5.0"
9775 + }
9776 + },
9528 "jsx-ast-utils": { 9777 "jsx-ast-utils": {
9529 "version": "3.1.0", 9778 "version": "3.1.0",
9530 "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.1.0.tgz", 9779 "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.1.0.tgz",
...@@ -10897,6 +11146,11 @@ ...@@ -10897,6 +11146,11 @@
10897 "ts-pnp": "^1.1.6" 11146 "ts-pnp": "^1.1.6"
10898 } 11147 }
10899 }, 11148 },
11149 + "popper.js": {
11150 + "version": "1.16.1-lts",
11151 + "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.16.1-lts.tgz",
11152 + "integrity": "sha512-Kjw8nKRl1m+VrSFCoVGPph93W/qrSO7ZkqPpTf7F4bk/sqcfWK019dWBUpE/fBOsOQY1dks/Bmcbfn1heM/IsA=="
11153 + },
10900 "portfinder": { 11154 "portfinder": {
10901 "version": "1.0.28", 11155 "version": "1.0.28",
10902 "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.28.tgz", 11156 "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.28.tgz",
...@@ -12383,6 +12637,17 @@ ...@@ -12383,6 +12637,17 @@
12383 "workbox-webpack-plugin": "5.1.4" 12637 "workbox-webpack-plugin": "5.1.4"
12384 } 12638 }
12385 }, 12639 },
12640 + "react-transition-group": {
12641 + "version": "4.4.1",
12642 + "resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.1.tgz",
12643 + "integrity": "sha512-Djqr7OQ2aPUiYurhPalTrVy9ddmFCCzwhqQmtN+J3+3DzLO209Fdr70QrN8Z3DsglWql6iY1lDWAfpFiBtuKGw==",
12644 + "requires": {
12645 + "@babel/runtime": "^7.5.5",
12646 + "dom-helpers": "^5.0.1",
12647 + "loose-envify": "^1.4.0",
12648 + "prop-types": "^15.6.2"
12649 + }
12650 + },
12386 "read-pkg": { 12651 "read-pkg": {
12387 "version": "2.0.0", 12652 "version": "2.0.0",
12388 "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", 12653 "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz",
...@@ -14181,6 +14446,11 @@ ...@@ -14181,6 +14446,11 @@
14181 "util.promisify": "~1.0.0" 14446 "util.promisify": "~1.0.0"
14182 } 14447 }
14183 }, 14448 },
14449 + "symbol-observable": {
14450 + "version": "1.2.0",
14451 + "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz",
14452 + "integrity": "sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ=="
14453 + },
14184 "symbol-tree": { 14454 "symbol-tree": {
14185 "version": "3.2.4", 14455 "version": "3.2.4",
14186 "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", 14456 "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz",
...@@ -14440,6 +14710,11 @@ ...@@ -14440,6 +14710,11 @@
14440 "resolved": "https://registry.npmjs.org/timsort/-/timsort-0.3.0.tgz", 14710 "resolved": "https://registry.npmjs.org/timsort/-/timsort-0.3.0.tgz",
14441 "integrity": "sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q=" 14711 "integrity": "sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q="
14442 }, 14712 },
14713 + "tiny-warning": {
14714 + "version": "1.0.3",
14715 + "resolved": "https://registry.npmjs.org/tiny-warning/-/tiny-warning-1.0.3.tgz",
14716 + "integrity": "sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA=="
14717 + },
14443 "tmpl": { 14718 "tmpl": {
14444 "version": "1.0.4", 14719 "version": "1.0.4",
14445 "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.4.tgz", 14720 "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.4.tgz",
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
3 "version": "0.1.0", 3 "version": "0.1.0",
4 "private": true, 4 "private": true,
5 "dependencies": { 5 "dependencies": {
6 + "@material-ui/core": "^4.11.2",
6 "@testing-library/jest-dom": "^5.11.6", 7 "@testing-library/jest-dom": "^5.11.6",
7 "@testing-library/react": "^11.2.2", 8 "@testing-library/react": "^11.2.2",
8 "@testing-library/user-event": "^12.5.0", 9 "@testing-library/user-event": "^12.5.0",
......
1 import React, {Component, components} from 'react'; 1 import React, {Component, components} from 'react';
2 -import './App.css';
3 import Student from './components/Student'; 2 import Student from './components/Student';
3 +import './App.css';
4 +import Paper from '@material-ui/core/Paper'
5 +import Table from '@material-ui/core/Table'
6 +import TableHead from '@material-ui/core/TableHead'
7 +import TableBody from '@material-ui/core/TableBody'
8 +import TableRow from '@material-ui/core/TableRow'
9 +import TableCell from '@material-ui/core/TableCell'
10 +import {withStyles} from '@material-ui/core/styles';
11 +
12 +const styles = theme => ({
13 + root: {
14 + width: '100%',
15 + marginTop: theme.spacing.unit * 3,
16 + overflowX: "auto"
17 + },
18 + table: {
19 + minWidth:1000
20 + }
21 +})
4 22
5 const students = [ 23 const students = [
6 { 24 {
...@@ -28,8 +46,26 @@ const students = [ ...@@ -28,8 +46,26 @@ const students = [
28 46
29 class App extends Component{ 47 class App extends Component{
30 render(){ 48 render(){
49 +
50 + const {classes}= this.props;
51 +
31 return ( 52 return (
32 - <div> 53 + <Paper className={classes.root}>
54 + <Table className={classes.table}>
55 +
56 + <TableHead>
57 + <TableCell>코드번호</TableCell>
58 + <TableCell>이름</TableCell>
59 + <TableCell>학번</TableCell>
60 + <TableCell>전공</TableCell>
61 + <TableCell>중간</TableCell>
62 + <TableCell>기말</TableCell>
63 + <TableCell>과제</TableCell>
64 + <TableCell>출석</TableCell>
65 + <TableCell>학점</TableCell>
66 + </TableHead>
67 +
68 + <TableBody>
33 { 69 {
34 students.map(c=>{ 70 students.map(c=>{
35 return ( 71 return (
...@@ -48,10 +84,14 @@ class App extends Component{ ...@@ -48,10 +84,14 @@ class App extends Component{
48 ); 84 );
49 }) 85 })
50 } 86 }
51 - </div> 87 + </TableBody>
88 +
89 + </Table>
90 +
91 + </Paper>
52 92
53 ); 93 );
54 } 94 }
55 } 95 }
56 96
57 -export default App; 97 +export default withStyles(styles)(App);
......
1 import React from 'react'; 1 import React from 'react';
2 +import TableRow from '@material-ui/core/TableRow';
3 +import TableCell from '@material-ui/core/TableCell';
2 4
3 class Student extends React.Component{ 5 class Student extends React.Component{
4 render(){ 6 render(){
5 return( 7 return(
6 - <div> 8 + <TableRow>
9 + <TableCell> {this.props.st_Code} </TableCell>
10 + <TableCell> {this.props.st_Name} </TableCell>
11 + <TableCell> {this.props.st_Id} </TableCell>
12 + <TableCell> {this.props.st_Major} </TableCell>
13 + <TableCell> {this.props.st_Midscore} </TableCell>
14 + <TableCell> {this.props.st_Finalscore} </TableCell>
15 + <TableCell> {this.props.st_Assignscore} </TableCell>
16 + <TableCell> {this.props.st_Attendscore} </TableCell>
17 + <TableCell> {this.props.st_Score} </TableCell>
18 +
19 + </TableRow>
20 +
21 + /*<div>
7 22
8 <Searchscores st_Midscore={this.props.st_Midscore} 23 <Searchscores st_Midscore={this.props.st_Midscore}
9 st_Finalscore = {this.props.st_Finalscore} 24 st_Finalscore = {this.props.st_Finalscore}
...@@ -18,7 +33,8 @@ class Student extends React.Component{ ...@@ -18,7 +33,8 @@ class Student extends React.Component{
18 st_Attendscore = {this.props.st_Attendscore} 33 st_Attendscore = {this.props.st_Attendscore}
19 st_Score = {this.props.st_Score}/> 34 st_Score = {this.props.st_Score}/>
20 35
21 - </div> 36 + </div>*/
37 +
22 ) 38 )
23 } 39 }
24 } 40 }
......