Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
e-learning platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2020-027
e-learning platform
Commits
15bbb1c5
Commit
15bbb1c5
authored
Apr 26, 2020
by
Shaini Thenuwara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
View post updated
parent
b86f7974
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
635 additions
and
66 deletions
+635
-66
Front-end/React_Frontend/package-lock.json
Front-end/React_Frontend/package-lock.json
+551
-12
Front-end/React_Frontend/package.json
Front-end/React_Frontend/package.json
+3
-1
Front-end/React_Frontend/src/components/Student.js
Front-end/React_Frontend/src/components/Student.js
+66
-51
Front-end/React_Frontend/src/index.css
Front-end/React_Frontend/src/index.css
+15
-2
No files found.
Front-end/React_Frontend/package-lock.json
View file @
15bbb1c5
...
...
@@ -1204,6 +1204,184 @@
"@types/yargs"
:
"^12.0.9"
}
},
"@material-ui/core"
:
{
"version"
:
"4.9.10"
,
"resolved"
:
"https://registry.npmjs.org/@material-ui/core/-/core-4.9.10.tgz"
,
"integrity"
:
"sha512-CQuZU9Y10RkwSdxjn785kw2EPcXhv5GKauuVQufR9LlD37kjfn21Im1yvr6wsUzn81oLhEvVPz727UWC0gbqxg=="
,
"requires"
:
{
"@babel/runtime"
:
"^7.4.4"
,
"@material-ui/styles"
:
"^4.9.10"
,
"@material-ui/system"
:
"^4.9.10"
,
"@material-ui/types"
:
"^5.0.1"
,
"@material-ui/utils"
:
"^4.9.6"
,
"@types/react-transition-group"
:
"^4.2.0"
,
"clsx"
:
"^1.0.4"
,
"hoist-non-react-statics"
:
"^3.3.2"
,
"popper.js"
:
"^1.16.1-lts"
,
"prop-types"
:
"^15.7.2"
,
"react-is"
:
"^16.8.0"
,
"react-transition-group"
:
"^4.3.0"
},
"dependencies"
:
{
"@babel/runtime"
:
{
"version"
:
"7.9.2"
,
"resolved"
:
"https://registry.npmjs.org/@babel/runtime/-/runtime-7.9.2.tgz"
,
"integrity"
:
"sha512-NE2DtOdufG7R5vnfQUTehdTfNycfUANEtCa9PssN9O/xmTzP4E08UI797ixaei6hBEVL9BI/PsdJS5x7mWoB9Q=="
,
"requires"
:
{
"regenerator-runtime"
:
"^0.13.4"
}
},
"csstype"
:
{
"version"
:
"2.6.10"
,
"resolved"
:
"https://registry.npmjs.org/csstype/-/csstype-2.6.10.tgz"
,
"integrity"
:
"sha512-D34BqZU4cIlMCY93rZHbrq9pjTAQJ3U8S8rfBqjwHxkGPThWFjzZDQpgMJY0QViLxth6ZKYiwFBo14RdN44U/w=="
},
"dom-helpers"
:
{
"version"
:
"5.1.4"
,
"resolved"
:
"https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.1.4.tgz"
,
"integrity"
:
"sha512-TjMyeVUvNEnOnhzs6uAn9Ya47GmMo3qq7m+Lr/3ON0Rs5kHvb8I+SQYjLUSYn7qhEm0QjW0yrBkvz9yOrwwz1A=="
,
"requires"
:
{
"@babel/runtime"
:
"^7.8.7"
,
"csstype"
:
"^2.6.7"
}
},
"hoist-non-react-statics"
:
{
"version"
:
"3.3.2"
,
"resolved"
:
"https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz"
,
"integrity"
:
"sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw=="
,
"requires"
:
{
"react-is"
:
"^16.7.0"
}
},
"popper.js"
:
{
"version"
:
"1.16.1"
,
"resolved"
:
"https://registry.npmjs.org/popper.js/-/popper.js-1.16.1.tgz"
,
"integrity"
:
"sha512-Wb4p1J4zyFTbM+u6WuO4XstYx4Ky9Cewe4DWrel7B0w6VVICvPwdOpotjzcf6eD8TsckVnIMNONQyPIUFOUbCQ=="
},
"react-transition-group"
:
{
"version"
:
"4.3.0"
,
"resolved"
:
"https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.3.0.tgz"
,
"integrity"
:
"sha512-1qRV1ZuVSdxPlPf4O8t7inxUGpdyO5zG9IoNfJxSO0ImU2A1YWkEQvFPuIPZmMLkg5hYs7vv5mMOyfgSkvAwvw=="
,
"requires"
:
{
"@babel/runtime"
:
"^7.5.5"
,
"dom-helpers"
:
"^5.0.1"
,
"loose-envify"
:
"^1.4.0"
,
"prop-types"
:
"^15.6.2"
}
},
"regenerator-runtime"
:
{
"version"
:
"0.13.5"
,
"resolved"
:
"https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.5.tgz"
,
"integrity"
:
"sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA=="
}
}
},
"@material-ui/styles"
:
{
"version"
:
"4.9.10"
,
"resolved"
:
"https://registry.npmjs.org/@material-ui/styles/-/styles-4.9.10.tgz"
,
"integrity"
:
"sha512-EXIXlqVyFDnjXF6tj72y6ZxiSy+mHtrsCo3Srkm3XUeu3Z01aftDBy7ZSr3TQ02gXHTvDSBvegp3Le6p/tl7eA=="
,
"requires"
:
{
"@babel/runtime"
:
"^7.4.4"
,
"@emotion/hash"
:
"^0.8.0"
,
"@material-ui/types"
:
"^5.0.1"
,
"@material-ui/utils"
:
"^4.9.6"
,
"clsx"
:
"^1.0.2"
,
"csstype"
:
"^2.5.2"
,
"hoist-non-react-statics"
:
"^3.3.2"
,
"jss"
:
"^10.0.3"
,
"jss-plugin-camel-case"
:
"^10.0.3"
,
"jss-plugin-default-unit"
:
"^10.0.3"
,
"jss-plugin-global"
:
"^10.0.3"
,
"jss-plugin-nested"
:
"^10.0.3"
,
"jss-plugin-props-sort"
:
"^10.0.3"
,
"jss-plugin-rule-value-function"
:
"^10.0.3"
,
"jss-plugin-vendor-prefixer"
:
"^10.0.3"
,
"prop-types"
:
"^15.7.2"
},
"dependencies"
:
{
"@babel/runtime"
:
{
"version"
:
"7.9.2"
,
"resolved"
:
"https://registry.npmjs.org/@babel/runtime/-/runtime-7.9.2.tgz"
,
"integrity"
:
"sha512-NE2DtOdufG7R5vnfQUTehdTfNycfUANEtCa9PssN9O/xmTzP4E08UI797ixaei6hBEVL9BI/PsdJS5x7mWoB9Q=="
,
"requires"
:
{
"regenerator-runtime"
:
"^0.13.4"
}
},
"@emotion/hash"
:
{
"version"
:
"0.8.0"
,
"resolved"
:
"https://registry.npmjs.org/@emotion/hash/-/hash-0.8.0.tgz"
,
"integrity"
:
"sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow=="
},
"hoist-non-react-statics"
:
{
"version"
:
"3.3.2"
,
"resolved"
:
"https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz"
,
"integrity"
:
"sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw=="
,
"requires"
:
{
"react-is"
:
"^16.7.0"
}
},
"regenerator-runtime"
:
{
"version"
:
"0.13.5"
,
"resolved"
:
"https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.5.tgz"
,
"integrity"
:
"sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA=="
}
}
},
"@material-ui/system"
:
{
"version"
:
"4.9.10"
,
"resolved"
:
"https://registry.npmjs.org/@material-ui/system/-/system-4.9.10.tgz"
,
"integrity"
:
"sha512-E+t0baX2TBZk6ALm8twG6objpsxLdMM4MDm1++LMt2m7CetCAEc3aIAfDaprk4+tm5hFT1Cah5dRWk8EeIFQYw=="
,
"requires"
:
{
"@babel/runtime"
:
"^7.4.4"
,
"@material-ui/utils"
:
"^4.9.6"
,
"prop-types"
:
"^15.7.2"
},
"dependencies"
:
{
"@babel/runtime"
:
{
"version"
:
"7.9.2"
,
"resolved"
:
"https://registry.npmjs.org/@babel/runtime/-/runtime-7.9.2.tgz"
,
"integrity"
:
"sha512-NE2DtOdufG7R5vnfQUTehdTfNycfUANEtCa9PssN9O/xmTzP4E08UI797ixaei6hBEVL9BI/PsdJS5x7mWoB9Q=="
,
"requires"
:
{
"regenerator-runtime"
:
"^0.13.4"
}
},
"regenerator-runtime"
:
{
"version"
:
"0.13.5"
,
"resolved"
:
"https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.5.tgz"
,
"integrity"
:
"sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA=="
}
}
},
"@material-ui/types"
:
{
"version"
:
"5.0.1"
,
"resolved"
:
"https://registry.npmjs.org/@material-ui/types/-/types-5.0.1.tgz"
,
"integrity"
:
"sha512-wURPSY7/3+MAtng3i26g+WKwwNE3HEeqa/trDBR5+zWKmcjO+u9t7Npu/J1r+3dmIa/OeziN9D/18IrBKvKffw=="
},
"@material-ui/utils"
:
{
"version"
:
"4.9.6"
,
"resolved"
:
"https://registry.npmjs.org/@material-ui/utils/-/utils-4.9.6.tgz"
,
"integrity"
:
"sha512-gqlBn0JPPTUZeAktn1rgMcy9Iczrr74ecx31tyZLVGdBGGzsxzM6PP6zeS7FuoLS6vG4hoZP7hWnOoHtkR0Kvw=="
,
"requires"
:
{
"@babel/runtime"
:
"^7.4.4"
,
"prop-types"
:
"^15.7.2"
,
"react-is"
:
"^16.8.0"
},
"dependencies"
:
{
"@babel/runtime"
:
{
"version"
:
"7.9.2"
,
"resolved"
:
"https://registry.npmjs.org/@babel/runtime/-/runtime-7.9.2.tgz"
,
"integrity"
:
"sha512-NE2DtOdufG7R5vnfQUTehdTfNycfUANEtCa9PssN9O/xmTzP4E08UI797ixaei6hBEVL9BI/PsdJS5x7mWoB9Q=="
,
"requires"
:
{
"regenerator-runtime"
:
"^0.13.4"
}
},
"regenerator-runtime"
:
{
"version"
:
"0.13.5"
,
"resolved"
:
"https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.5.tgz"
,
"integrity"
:
"sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA=="
}
}
},
"@mrmlnc/readdir-enhanced"
:
{
"version"
:
"2.2.1"
,
"resolved"
:
"https://registry.npmjs.org/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz"
,
...
...
@@ -1218,6 +1396,32 @@
"resolved"
:
"https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz"
,
"integrity"
:
"sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw=="
},
"@popperjs/core"
:
{
"version"
:
"2.3.3"
,
"resolved"
:
"https://registry.npmjs.org/@popperjs/core/-/core-2.3.3.tgz"
,
"integrity"
:
"sha512-yEvVC8RfhRPkD9TUn7cFcLcgoJePgZRAOR7T21rcRY5I8tpuhzeWfGa7We7tB14fe9R7wENdqUABcMdwD4SQLw=="
},
"@restart/context"
:
{
"version"
:
"2.1.4"
,
"resolved"
:
"https://registry.npmjs.org/@restart/context/-/context-2.1.4.tgz"
,
"integrity"
:
"sha512-INJYZQJP7g+IoDUh/475NlGiTeMfwTXUEr3tmRneckHIxNolGOW9CTq83S8cxq0CgJwwcMzMJFchxvlwe7Rk8Q=="
},
"@restart/hooks"
:
{
"version"
:
"0.3.22"
,
"resolved"
:
"https://registry.npmjs.org/@restart/hooks/-/hooks-0.3.22.tgz"
,
"integrity"
:
"sha512-tW0T3hP6emYNOc76/iC96rlu+f7JYLSVk/Wnn+7dj1gJUcw4CkQNLy16vx2mBLtVKsFMZ9miVEZXat8blruDHQ=="
,
"requires"
:
{
"lodash"
:
"^4.17.15"
,
"lodash-es"
:
"^4.17.15"
},
"dependencies"
:
{
"lodash"
:
{
"version"
:
"4.17.15"
,
"resolved"
:
"https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz"
,
"integrity"
:
"sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A=="
}
}
},
"@svgr/babel-plugin-add-jsx-attribute"
:
{
"version"
:
"4.2.0"
,
"resolved"
:
"https://registry.npmjs.org/@svgr/babel-plugin-add-jsx-attribute/-/babel-plugin-add-jsx-attribute-4.2.0.tgz"
,
...
...
@@ -1393,11 +1597,33 @@
"resolved"
:
"https://registry.npmjs.org/@types/node/-/node-12.0.8.tgz"
,
"integrity"
:
"sha512-b8bbUOTwzIY3V5vDTY1fIJ+ePKDUBqt2hC2woVGotdQQhG/2Sh62HOKHrT7ab+VerXAcPyAiTEipPu/FsreUtg=="
},
"@types/prop-types"
:
{
"version"
:
"15.7.3"
,
"resolved"
:
"https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.3.tgz"
,
"integrity"
:
"sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw=="
},
"@types/q"
:
{
"version"
:
"1.5.2"
,
"resolved"
:
"https://registry.npmjs.org/@types/q/-/q-1.5.2.tgz"
,
"integrity"
:
"sha512-ce5d3q03Ex0sy4R14722Rmt6MT07Ua+k4FwDfdcToYJcMKNtRVQvJ6JCAPdAmAnbRb6CsX6aYb9m96NGod9uTw=="
},
"@types/react"
:
{
"version"
:
"16.9.34"
,
"resolved"
:
"https://registry.npmjs.org/@types/react/-/react-16.9.34.tgz"
,
"integrity"
:
"sha512-8AJlYMOfPe1KGLKyHpflCg5z46n0b5DbRfqDksxBLBTUpB75ypDBAO9eCUcjNwE6LCUslwTz00yyG/X9gaVtow=="
,
"requires"
:
{
"@types/prop-types"
:
"*"
,
"csstype"
:
"^2.2.0"
}
},
"@types/react-transition-group"
:
{
"version"
:
"4.2.4"
,
"resolved"
:
"https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.2.4.tgz"
,
"integrity"
:
"sha512-8DMUaDqh0S70TjkqU0DxOu80tFUiiaS9rxkWip/nb7gtvAsbqOXm02UCmR8zdcjWujgeYPiPNTVpVpKzUDotwA=="
,
"requires"
:
{
"@types/react"
:
"*"
}
},
"@types/stack-utils"
:
{
"version"
:
"1.0.1"
,
"resolved"
:
"https://registry.npmjs.org/@types/stack-utils/-/stack-utils-1.0.1.tgz"
,
...
...
@@ -2514,9 +2740,9 @@
"integrity"
:
"sha1-aN/1++YMUes3cl6p4+0xDcwed24="
},
"bootstrap"
:
{
"version"
:
"4.
3
.1"
,
"resolved"
:
"https://registry.npmjs.org/bootstrap/-/bootstrap-4.
3
.1.tgz"
,
"integrity"
:
"sha512-
rXqOmH1VilAt2DyPzluTi2blhk17bO7ef+zLLPlWvG494pDxcM234pJ8wTc/6R40UWizAIIMgxjvxZg5kmsbag
=="
"version"
:
"4.
4
.1"
,
"resolved"
:
"https://registry.npmjs.org/bootstrap/-/bootstrap-4.
4
.1.tgz"
,
"integrity"
:
"sha512-
tbx5cHubwE6e2ZG7nqM3g/FZ5PQEDMWmMGNrCUBVRPHXTJaH7CBDdsLeu3eCh3B1tzAxTnAbtmrzvWEvT2NNEA
=="
},
"brace-expansion"
:
{
"version"
:
"1.1.11"
,
...
...
@@ -3438,6 +3664,11 @@
"shallow-clone"
:
"^0.1.2"
}
},
"clsx"
:
{
"version"
:
"1.1.0"
,
"resolved"
:
"https://registry.npmjs.org/clsx/-/clsx-1.1.0.tgz"
,
"integrity"
:
"sha512-3avwM37fSK5oP6M5rQ9CNe99lwxhXDOeSWVPAOYF6OazUTgZCMb0yWlJpmdD74REy1gkEaFiub2ULv4fq9GUhA=="
},
"co"
:
{
"version"
:
"4.6.0"
,
"resolved"
:
"https://registry.npmjs.org/co/-/co-4.6.0.tgz"
,
...
...
@@ -3914,6 +4145,30 @@
"resolved"
:
"https://registry.npmjs.org/css-url-regex/-/css-url-regex-1.1.0.tgz"
,
"integrity"
:
"sha1-g4NCMMyfdMRX3lnuvRVD/uuDt+w="
},
"css-vendor"
:
{
"version"
:
"2.0.8"
,
"resolved"
:
"https://registry.npmjs.org/css-vendor/-/css-vendor-2.0.8.tgz"
,
"integrity"
:
"sha512-x9Aq0XTInxrkuFeHKbYC7zWY8ai7qJ04Kxd9MnvbC1uO5DagxoHQjm4JvG+vCdXOoFtCjbL2XSZfxmoYa9uQVQ=="
,
"requires"
:
{
"@babel/runtime"
:
"^7.8.3"
,
"is-in-browser"
:
"^1.0.2"
},
"dependencies"
:
{
"@babel/runtime"
:
{
"version"
:
"7.9.2"
,
"resolved"
:
"https://registry.npmjs.org/@babel/runtime/-/runtime-7.9.2.tgz"
,
"integrity"
:
"sha512-NE2DtOdufG7R5vnfQUTehdTfNycfUANEtCa9PssN9O/xmTzP4E08UI797ixaei6hBEVL9BI/PsdJS5x7mWoB9Q=="
,
"requires"
:
{
"regenerator-runtime"
:
"^0.13.4"
}
},
"regenerator-runtime"
:
{
"version"
:
"0.13.5"
,
"resolved"
:
"https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.5.tgz"
,
"integrity"
:
"sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA=="
}
}
},
"css-what"
:
{
"version"
:
"2.1.3"
,
"resolved"
:
"https://registry.npmjs.org/css-what/-/css-what-2.1.3.tgz"
,
...
...
@@ -6134,6 +6389,11 @@
"resolved"
:
"https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz"
,
"integrity"
:
"sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM="
},
"hyphenate-style-name"
:
{
"version"
:
"1.0.3"
,
"resolved"
:
"https://registry.npmjs.org/hyphenate-style-name/-/hyphenate-style-name-1.0.3.tgz"
,
"integrity"
:
"sha512-EcuixamT82oplpoJ2XU4pDtKGWQ7b00CD9f1ug9IaQ3p1bkHMiKCZ9ut9QDI6qsa6cpUuB+A/I+zLtdNK4n2DQ=="
},
"iconv-lite"
:
{
"version"
:
"0.4.24"
,
"resolved"
:
"https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz"
,
...
...
@@ -6438,6 +6698,11 @@
"is-extglob"
:
"^2.1.1"
}
},
"is-in-browser"
:
{
"version"
:
"1.1.3"
,
"resolved"
:
"https://registry.npmjs.org/is-in-browser/-/is-in-browser-1.1.3.tgz"
,
"integrity"
:
"sha1-Vv9NtoOgeMYILrldrX3GLh0E+DU="
},
"is-number"
:
{
"version"
:
"3.0.0"
,
"resolved"
:
"https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz"
,
...
...
@@ -6883,7 +7148,8 @@
},
"ansi-regex"
:
{
"version"
:
"2.1.1"
,
"bundled"
:
true
"bundled"
:
true
,
"optional"
:
true
},
"aproba"
:
{
"version"
:
"1.2.0"
,
...
...
@@ -6920,7 +7186,8 @@
},
"code-point-at"
:
{
"version"
:
"1.1.0"
,
"bundled"
:
true
"bundled"
:
true
,
"optional"
:
true
},
"concat-map"
:
{
"version"
:
"0.0.1"
,
...
...
@@ -6929,7 +7196,8 @@
},
"console-control-strings"
:
{
"version"
:
"1.1.0"
,
"bundled"
:
true
"bundled"
:
true
,
"optional"
:
true
},
"core-util-is"
:
{
"version"
:
"1.0.2"
,
...
...
@@ -7032,7 +7300,8 @@
},
"inherits"
:
{
"version"
:
"2.0.3"
,
"bundled"
:
true
"bundled"
:
true
,
"optional"
:
true
},
"ini"
:
{
"version"
:
"1.3.5"
,
...
...
@@ -7042,6 +7311,7 @@
"is-fullwidth-code-point"
:
{
"version"
:
"1.0.0"
,
"bundled"
:
true
,
"optional"
:
true
,
"requires"
:
{
"number-is-nan"
:
"^1.0.0"
}
...
...
@@ -7054,17 +7324,20 @@
"minimatch"
:
{
"version"
:
"3.0.4"
,
"bundled"
:
true
,
"optional"
:
true
,
"requires"
:
{
"brace-expansion"
:
"^1.1.7"
}
},
"minimist"
:
{
"version"
:
"0.0.8"
,
"bundled"
:
true
"bundled"
:
true
,
"optional"
:
true
},
"minipass"
:
{
"version"
:
"2.3.5"
,
"bundled"
:
true
,
"optional"
:
true
,
"requires"
:
{
"safe-buffer"
:
"^5.1.2"
,
"yallist"
:
"^3.0.0"
...
...
@@ -7081,6 +7354,7 @@
"mkdirp"
:
{
"version"
:
"0.5.1"
,
"bundled"
:
true
,
"optional"
:
true
,
"requires"
:
{
"minimist"
:
"0.0.8"
}
...
...
@@ -7153,7 +7427,8 @@
},
"number-is-nan"
:
{
"version"
:
"1.0.1"
,
"bundled"
:
true
"bundled"
:
true
,
"optional"
:
true
},
"object-assign"
:
{
"version"
:
"4.1.1"
,
...
...
@@ -7163,6 +7438,7 @@
"once"
:
{
"version"
:
"1.4.0"
,
"bundled"
:
true
,
"optional"
:
true
,
"requires"
:
{
"wrappy"
:
"1"
}
...
...
@@ -7238,7 +7514,8 @@
},
"safe-buffer"
:
{
"version"
:
"5.1.2"
,
"bundled"
:
true
"bundled"
:
true
,
"optional"
:
true
},
"safer-buffer"
:
{
"version"
:
"2.1.2"
,
...
...
@@ -7268,6 +7545,7 @@
"string-width"
:
{
"version"
:
"1.0.2"
,
"bundled"
:
true
,
"optional"
:
true
,
"requires"
:
{
"code-point-at"
:
"^1.0.0"
,
"is-fullwidth-code-point"
:
"^1.0.0"
,
...
...
@@ -7285,6 +7563,7 @@
"strip-ansi"
:
{
"version"
:
"3.0.1"
,
"bundled"
:
true
,
"optional"
:
true
,
"requires"
:
{
"ansi-regex"
:
"^2.0.0"
}
...
...
@@ -7323,11 +7602,13 @@
},
"wrappy"
:
{
"version"
:
"1.0.2"
,
"bundled"
:
true
"bundled"
:
true
,
"optional"
:
true
},
"yallist"
:
{
"version"
:
"3.0.3"
,
"bundled"
:
true
"bundled"
:
true
,
"optional"
:
true
}
}
}
...
...
@@ -7806,6 +8087,83 @@
"verror"
:
"1.10.0"
}
},
"jss"
:
{
"version"
:
"10.1.1"
,
"resolved"
:
"https://registry.npmjs.org/jss/-/jss-10.1.1.tgz"
,
"integrity"
:
"sha512-Xz3qgRUFlxbWk1czCZibUJqhVPObrZHxY3FPsjCXhDld4NOj1BgM14Ir5hVm+Qr6OLqVljjGvoMcCdXNOAbdkQ=="
,
"requires"
:
{
"@babel/runtime"
:
"^7.3.1"
,
"csstype"
:
"^2.6.5"
,
"is-in-browser"
:
"^1.1.3"
,
"tiny-warning"
:
"^1.0.2"
}
},
"jss-plugin-camel-case"
:
{
"version"
:
"10.1.1"
,
"resolved"
:
"https://registry.npmjs.org/jss-plugin-camel-case/-/jss-plugin-camel-case-10.1.1.tgz"
,
"integrity"
:
"sha512-MDIaw8FeD5uFz1seQBKz4pnvDLnj5vIKV5hXSVdMaAVq13xR6SVTVWkIV/keyTs5txxTvzGJ9hXoxgd1WTUlBw=="
,
"requires"
:
{
"@babel/runtime"
:
"^7.3.1"
,
"hyphenate-style-name"
:
"^1.0.3"
,
"jss"
:
"10.1.1"
}
},
"jss-plugin-default-unit"
:
{
"version"
:
"10.1.1"
,
"resolved"
:
"https://registry.npmjs.org/jss-plugin-default-unit/-/jss-plugin-default-unit-10.1.1.tgz"
,
"integrity"
:
"sha512-UkeVCA/b3QEA4k0nIKS4uWXDCNmV73WLHdh2oDGZZc3GsQtlOCuiH3EkB/qI60v2MiCq356/SYWsDXt21yjwdg=="
,
"requires"
:
{
"@babel/runtime"
:
"^7.3.1"
,
"jss"
:
"10.1.1"
}
},
"jss-plugin-global"
:
{
"version"
:
"10.1.1"
,
"resolved"
:
"https://registry.npmjs.org/jss-plugin-global/-/jss-plugin-global-10.1.1.tgz"
,
"integrity"
:
"sha512-VBG3wRyi3Z8S4kMhm8rZV6caYBegsk+QnQZSVmrWw6GVOT/Z4FA7eyMu5SdkorDlG/HVpHh91oFN56O4R9m2VA=="
,
"requires"
:
{
"@babel/runtime"
:
"^7.3.1"
,
"jss"
:
"10.1.1"
}
},
"jss-plugin-nested"
:
{
"version"
:
"10.1.1"
,
"resolved"
:
"https://registry.npmjs.org/jss-plugin-nested/-/jss-plugin-nested-10.1.1.tgz"
,
"integrity"
:
"sha512-ozEu7ZBSVrMYxSDplPX3H82XHNQk2DQEJ9TEyo7OVTPJ1hEieqjDFiOQOxXEj9z3PMqkylnUbvWIZRDKCFYw5Q=="
,
"requires"
:
{
"@babel/runtime"
:
"^7.3.1"
,
"jss"
:
"10.1.1"
,
"tiny-warning"
:
"^1.0.2"
}
},
"jss-plugin-props-sort"
:
{
"version"
:
"10.1.1"
,
"resolved"
:
"https://registry.npmjs.org/jss-plugin-props-sort/-/jss-plugin-props-sort-10.1.1.tgz"
,
"integrity"
:
"sha512-g/joK3eTDZB4pkqpZB38257yD4LXB0X15jxtZAGbUzcKAVUHPl9Jb47Y7lYmiGsShiV4YmQRqG1p2DHMYoK91g=="
,
"requires"
:
{
"@babel/runtime"
:
"^7.3.1"
,
"jss"
:
"10.1.1"
}
},
"jss-plugin-rule-value-function"
:
{
"version"
:
"10.1.1"
,
"resolved"
:
"https://registry.npmjs.org/jss-plugin-rule-value-function/-/jss-plugin-rule-value-function-10.1.1.tgz"
,
"integrity"
:
"sha512-ClV1lvJ3laU9la1CUzaDugEcwnpjPTuJ0yGy2YtcU+gG/w9HMInD5vEv7xKAz53Bk4WiJm5uLOElSEshHyhKNw=="
,
"requires"
:
{
"@babel/runtime"
:
"^7.3.1"
,
"jss"
:
"10.1.1"
}
},
"jss-plugin-vendor-prefixer"
:
{
"version"
:
"10.1.1"
,
"resolved"
:
"https://registry.npmjs.org/jss-plugin-vendor-prefixer/-/jss-plugin-vendor-prefixer-10.1.1.tgz"
,
"integrity"
:
"sha512-09MZpQ6onQrhaVSF6GHC4iYifQ7+4YC/tAP6D4ZWeZotvCMq1mHLqNKRIaqQ2lkgANjlEot2JnVi1ktu4+L4pw=="
,
"requires"
:
{
"@babel/runtime"
:
"^7.3.1"
,
"css-vendor"
:
"^2.0.7"
,
"jss"
:
"10.1.1"
}
},
"jsx-ast-utils"
:
{
"version"
:
"2.1.0"
,
"resolved"
:
"https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-2.1.0.tgz"
,
...
...
@@ -7976,6 +8334,11 @@
"resolved"
:
"https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz"
,
"integrity"
:
"sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg=="
},
"lodash-es"
:
{
"version"
:
"4.17.15"
,
"resolved"
:
"https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.15.tgz"
,
"integrity"
:
"sha512-rlrc3yU3+JNOpZ9zj5pQtxnx2THmvRykwL4Xlxoa8I9lHBlVbbyPhgyPMioxVZ4NqyxaVVtaJnzsyOidQIhyyQ=="
},
"lodash._reinterpolate"
:
{
"version"
:
"3.0.0"
,
"resolved"
:
"https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz"
,
...
...
@@ -10089,6 +10452,25 @@
"react-is"
:
"^16.8.1"
}
},
"prop-types-extra"
:
{
"version"
:
"1.1.1"
,
"resolved"
:
"https://registry.npmjs.org/prop-types-extra/-/prop-types-extra-1.1.1.tgz"
,
"integrity"
:
"sha512-59+AHNnHYCdiC+vMwY52WmvP5dM3QLeoumYuEyceQDi9aEhtwN9zIQ2ZNo25sMyXnbh32h+P1ezDsUpUH3JAew=="
,
"requires"
:
{
"react-is"
:
"^16.3.2"
,
"warning"
:
"^4.0.0"
},
"dependencies"
:
{
"warning"
:
{
"version"
:
"4.0.3"
,
"resolved"
:
"https://registry.npmjs.org/warning/-/warning-4.0.3.tgz"
,
"integrity"
:
"sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w=="
,
"requires"
:
{
"loose-envify"
:
"^1.0.0"
}
}
}
},
"property-information"
:
{
"version"
:
"5.1.0"
,
"resolved"
:
"https://registry.npmjs.org/property-information/-/property-information-5.1.0.tgz"
,
...
...
@@ -10261,6 +10643,86 @@
"whatwg-fetch"
:
"3.0.0"
}
},
"react-bootstrap"
:
{
"version"
:
"1.0.0"
,
"resolved"
:
"https://registry.npmjs.org/react-bootstrap/-/react-bootstrap-1.0.0.tgz"
,
"integrity"
:
"sha512-Ep6ZNH6wL5m9bytOS6T9mjSz0YE1bEkc+uHItvenRcA3amr5ApkpKYzAWgdglhRPZHPvm+pnqs1z5IPwv/2UZw=="
,
"requires"
:
{
"@babel/runtime"
:
"^7.4.2"
,
"@restart/context"
:
"^2.1.4"
,
"@restart/hooks"
:
"^0.3.21"
,
"@types/react"
:
"^16.9.23"
,
"classnames"
:
"^2.2.6"
,
"dom-helpers"
:
"^5.1.2"
,
"invariant"
:
"^2.2.4"
,
"prop-types"
:
"^15.7.2"
,
"prop-types-extra"
:
"^1.1.0"
,
"react-overlays"
:
"^3.0.1"
,
"react-transition-group"
:
"^4.0.0"
,
"uncontrollable"
:
"^7.0.0"
,
"warning"
:
"^4.0.3"
},
"dependencies"
:
{
"csstype"
:
{
"version"
:
"2.6.10"
,
"resolved"
:
"https://registry.npmjs.org/csstype/-/csstype-2.6.10.tgz"
,
"integrity"
:
"sha512-D34BqZU4cIlMCY93rZHbrq9pjTAQJ3U8S8rfBqjwHxkGPThWFjzZDQpgMJY0QViLxth6ZKYiwFBo14RdN44U/w=="
},
"dom-helpers"
:
{
"version"
:
"5.1.4"
,
"resolved"
:
"https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.1.4.tgz"
,
"integrity"
:
"sha512-TjMyeVUvNEnOnhzs6uAn9Ya47GmMo3qq7m+Lr/3ON0Rs5kHvb8I+SQYjLUSYn7qhEm0QjW0yrBkvz9yOrwwz1A=="
,
"requires"
:
{
"@babel/runtime"
:
"^7.8.7"
,
"csstype"
:
"^2.6.7"
},
"dependencies"
:
{
"@babel/runtime"
:
{
"version"
:
"7.9.2"
,
"resolved"
:
"https://registry.npmjs.org/@babel/runtime/-/runtime-7.9.2.tgz"
,
"integrity"
:
"sha512-NE2DtOdufG7R5vnfQUTehdTfNycfUANEtCa9PssN9O/xmTzP4E08UI797ixaei6hBEVL9BI/PsdJS5x7mWoB9Q=="
,
"requires"
:
{
"regenerator-runtime"
:
"^0.13.4"
}
}
}
},
"react-transition-group"
:
{
"version"
:
"4.3.0"
,
"resolved"
:
"https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.3.0.tgz"
,
"integrity"
:
"sha512-1qRV1ZuVSdxPlPf4O8t7inxUGpdyO5zG9IoNfJxSO0ImU2A1YWkEQvFPuIPZmMLkg5hYs7vv5mMOyfgSkvAwvw=="
,
"requires"
:
{
"@babel/runtime"
:
"^7.5.5"
,
"dom-helpers"
:
"^5.0.1"
,
"loose-envify"
:
"^1.4.0"
,
"prop-types"
:
"^15.6.2"
},
"dependencies"
:
{
"@babel/runtime"
:
{
"version"
:
"7.9.2"
,
"resolved"
:
"https://registry.npmjs.org/@babel/runtime/-/runtime-7.9.2.tgz"
,
"integrity"
:
"sha512-NE2DtOdufG7R5vnfQUTehdTfNycfUANEtCa9PssN9O/xmTzP4E08UI797ixaei6hBEVL9BI/PsdJS5x7mWoB9Q=="
,
"requires"
:
{
"regenerator-runtime"
:
"^0.13.4"
}
}
}
},
"regenerator-runtime"
:
{
"version"
:
"0.13.5"
,
"resolved"
:
"https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.5.tgz"
,
"integrity"
:
"sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA=="
},
"warning"
:
{
"version"
:
"4.0.3"
,
"resolved"
:
"https://registry.npmjs.org/warning/-/warning-4.0.3.tgz"
,
"integrity"
:
"sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w=="
,
"requires"
:
{
"loose-envify"
:
"^1.0.0"
}
}
}
},
"react-bootstrap-table"
:
{
"version"
:
"4.3.1"
,
"resolved"
:
"https://registry.npmjs.org/react-bootstrap-table/-/react-bootstrap-table-4.3.1.tgz"
,
...
...
@@ -10394,6 +10856,57 @@
"warning"
:
"^3.0.0"
}
},
"react-overlays"
:
{
"version"
:
"3.0.1"
,
"resolved"
:
"https://registry.npmjs.org/react-overlays/-/react-overlays-3.0.1.tgz"
,
"integrity"
:
"sha512-QEt6I3Cjy06pe2FwY/tuWaXEzSVOuXfP8zsC6oWHJhMYpEJQgZV/TCwbCw5slMW6VcgwcWPc4HrBzN0yfxf5Xw=="
,
"requires"
:
{
"@babel/runtime"
:
"^7.4.5"
,
"@popperjs/core"
:
"^2.0.0"
,
"@restart/hooks"
:
"^0.3.12"
,
"dom-helpers"
:
"^5.1.0"
,
"prop-types"
:
"^15.7.2"
,
"uncontrollable"
:
"^7.0.0"
,
"warning"
:
"^4.0.3"
},
"dependencies"
:
{
"@babel/runtime"
:
{
"version"
:
"7.9.2"
,
"resolved"
:
"https://registry.npmjs.org/@babel/runtime/-/runtime-7.9.2.tgz"
,
"integrity"
:
"sha512-NE2DtOdufG7R5vnfQUTehdTfNycfUANEtCa9PssN9O/xmTzP4E08UI797ixaei6hBEVL9BI/PsdJS5x7mWoB9Q=="
,
"requires"
:
{
"regenerator-runtime"
:
"^0.13.4"
}
},
"csstype"
:
{
"version"
:
"2.6.10"
,
"resolved"
:
"https://registry.npmjs.org/csstype/-/csstype-2.6.10.tgz"
,
"integrity"
:
"sha512-D34BqZU4cIlMCY93rZHbrq9pjTAQJ3U8S8rfBqjwHxkGPThWFjzZDQpgMJY0QViLxth6ZKYiwFBo14RdN44U/w=="
},
"dom-helpers"
:
{
"version"
:
"5.1.4"
,
"resolved"
:
"https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.1.4.tgz"
,
"integrity"
:
"sha512-TjMyeVUvNEnOnhzs6uAn9Ya47GmMo3qq7m+Lr/3ON0Rs5kHvb8I+SQYjLUSYn7qhEm0QjW0yrBkvz9yOrwwz1A=="
,
"requires"
:
{
"@babel/runtime"
:
"^7.8.7"
,
"csstype"
:
"^2.6.7"
}
},
"regenerator-runtime"
:
{
"version"
:
"0.13.5"
,
"resolved"
:
"https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.5.tgz"
,
"integrity"
:
"sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA=="
},
"warning"
:
{
"version"
:
"4.0.3"
,
"resolved"
:
"https://registry.npmjs.org/warning/-/warning-4.0.3.tgz"
,
"integrity"
:
"sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w=="
,
"requires"
:
{
"loose-envify"
:
"^1.0.0"
}
}
}
},
"react-popper"
:
{
"version"
:
"1.3.3"
,
"resolved"
:
"https://registry.npmjs.org/react-popper/-/react-popper-1.3.3.tgz"
,
...
...
@@ -12213,6 +12726,32 @@
}
}
},
"uncontrollable"
:
{
"version"
:
"7.1.1"
,
"resolved"
:
"https://registry.npmjs.org/uncontrollable/-/uncontrollable-7.1.1.tgz"
,
"integrity"
:
"sha512-EcPYhot3uWTS3w00R32R2+vS8Vr53tttrvMj/yA1uYRhf8hbTG2GyugGqWDY0qIskxn0uTTojVd6wPYW9ZEf8Q=="
,
"requires"
:
{
"@babel/runtime"
:
"^7.6.3"
,
"@types/react"
:
"^16.9.11"
,
"invariant"
:
"^2.2.4"
,
"react-lifecycles-compat"
:
"^3.0.4"
},
"dependencies"
:
{
"@babel/runtime"
:
{
"version"
:
"7.9.2"
,
"resolved"
:
"https://registry.npmjs.org/@babel/runtime/-/runtime-7.9.2.tgz"
,
"integrity"
:
"sha512-NE2DtOdufG7R5vnfQUTehdTfNycfUANEtCa9PssN9O/xmTzP4E08UI797ixaei6hBEVL9BI/PsdJS5x7mWoB9Q=="
,
"requires"
:
{
"regenerator-runtime"
:
"^0.13.4"
}
},
"regenerator-runtime"
:
{
"version"
:
"0.13.5"
,
"resolved"
:
"https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.5.tgz"
,
"integrity"
:
"sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA=="
}
}
},
"unicode-canonical-property-names-ecmascript"
:
{
"version"
:
"1.0.4"
,
"resolved"
:
"https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz"
,
...
...
Front-end/React_Frontend/package.json
View file @
15bbb1c5
...
...
@@ -3,9 +3,11 @@
"version"
:
"0.1.0"
,
"private"
:
true
,
"dependencies"
:
{
"@material-ui/core"
:
"^4.9.10"
,
"axios"
:
"^0.18.0"
,
"bootstrap"
:
"^4.
3
.1"
,
"bootstrap"
:
"^4.
4
.1"
,
"react"
:
"^16.8.6"
,
"react-bootstrap"
:
"^1.0.0"
,
"react-bootstrap-table"
:
"^4.3.1"
,
"react-dom"
:
"^16.8.6"
,
"react-router-dom"
:
"^5.0.0"
,
...
...
Front-end/React_Frontend/src/components/Student.js
View file @
15bbb1c5
import
React
,
{
Component
}
from
'
react
'
import
axios
from
'
axios
'
import
axios
from
'
axios
'
import
constant
from
'
../service/constant
'
;
const
CardPostNav
=
props
=>
(
<
div
>
<
div
className
=
"
card postCard
"
>
<
img
className
=
"
card-img-top
"
src
=
"
...
"
alt
=
"
Card image cap
"
/>
<
div
className
=
"
card-body
"
>
<
h5
className
=
"
card-title
"
>
Card
title
<
/h5
>
<
p
className
=
"
card-text
"
>
Some
quick
example
text
to
build
on
the
card
title
and
make
up
the
bulk
of
the
card
'
s content.</p>
<a href="#" className="btn btn-primary">Go somewhere</a>
</div>
</div>
<br/>
</div>
);
import
Card
from
'
react-bootstrap/Card
'
import
{
makeStyles
}
from
'
@material-ui/core/styles
'
;
import
GridList
from
'
@material-ui/core/GridList
'
;
import
GridListTile
from
'
@material-ui/core/GridListTile
'
;
class
Student
extends
Component
{
constructor(pros)
{
super(pros)
constructor
(
pros
)
{
super
(
pros
)
this.state = {
postList:[]
}
this
.
state
=
{
postList
:
[],
count
:
0
,
}
}
componentWillMount() {
axios.get(constant()+
'
/
post
'
)
.then(res => {
this.setState({postList: res.data
});
}).catch(err => {
console.log(err);
});
}
componentWillMount
()
{
axios
.
get
(
constant
()
+
'
/post
'
)
.
then
(
res
=>
{
this
.
setState
({
postList
:
res
.
data
});
}).
catch
(
err
=>
{
console
.
log
(
err
);
});
}
viewCardList = () => {
return this.state.postList.map(function(value,index){
return <CardPostNav postObj={value} index={index} />;
})
}
render
()
{
const
{
postList
}
=
this
.
state
;
render(){
const { postList } = this.state;
return(
<div className="container">
<div className="panel panel-default">
<div className="panel-heading">
<h3 className="panel-title">
Login
</h3>
</div>
<div className="panel-body">
{this.viewCardList()}
<br/>
</div>
const
classes
=
makeStyles
((
theme
)
=>
({
root
:
{
display
:
'
flex
'
,
flexWrap
:
'
wrap
'
,
justifyContent
:
'
space-around
'
,
overflow
:
'
hidden
'
,
backgroundColor
:
theme
.
palette
.
background
.
paper
,
},
gridList
:
{
width
:
500
,
height
:
450
,
},
}));
return
(
<
div
className
=
"
container
"
>
<
div
className
=
"
panel panel-default
"
>
<
div
className
=
"
panel-heading
"
>
<
h3
className
=
"
panel-title
"
>
Login
<
/h3
>
<
/div
>
<
div
className
=
"
panel-body
"
>
<
div
className
=
{
classes
.
root
}
>
<
GridList
cellHeight
=
{
500
}
className
=
{
classes
.
gridList
}
cols
=
{
3
}
>
{
postList
.
map
((
item
)
=>
(
<
GridListTile
key
=
{
item
.
img
}
cols
=
{
item
.
cols
||
1
}
>
<
Card
>
<
Card
.
Img
className
=
"
postImageSize
"
variant
=
"
top
"
src
=
{
item
.
image
}
/
>
<
Card
.
Body
>
<
Card
.
Title
>
{
item
.
title
}
<
/Card.Title
>
<
Card
.
Text
>
{
item
.
content
}
<
/Card.Text
>
<
/Card.Body
>
<
Card
.
Footer
>
<
a
href
=
"
#
"
class
=
"
btn btn-primary
"
>
Go
somewhere
<
/a
>
<
/Card.Footer
>
<
/Card
>
<
/GridListTile
>
))}
<
/GridList
>
<
/div
>
<
/div
>
)
}
<
/div
>
<
/div
>
)
}
}
export
default
Student
;
Front-end/React_Frontend/src/index.css
View file @
15bbb1c5
...
...
@@ -116,5 +116,18 @@ a:link {
}
.postCard
{
width
:
18rem
;
}
\ No newline at end of file
width
:
20rem
;
}
.postImageSize
{
width
:
23rem
;
height
:
200px
;
}
ul
#CardView-Align
li
{
display
:
inline
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment