Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
react-rails-rspec
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Aman Sharma
react-rails-rspec
Commits
619074c6
Commit
619074c6
authored
Oct 03, 2020
by
Abhisarika Singh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed design of book details page
parent
d41bb425
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
BookDetails.jsx
app/javascript/components/library/BookDetails.jsx
+13
-4
No files found.
app/javascript/components/library/BookDetails.jsx
View file @
619074c6
...
...
@@ -96,14 +96,23 @@ class BookDetails extends Component{
<
Link
to=
"/"
className=
"btn btn-link"
>
Home
</
Link
>
<
button
onClick=
{
this
.
props
.
history
.
goBack
}
className=
"btn btn-link"
>
Go Back
</
button
>
<
button
onClick=
{
this
.
props
.
history
.
goBack
}
className=
"btn btn-link"
></
button
>
</
div
>
<
div
className=
"row"
>
<
div
>
{
book
.
name
}
</
div
>
<
div
>
{
book
.
writterName
}
</
div
>
<
div
>
{
book
.
courseName
}
</
div
>
<
div
className=
"col-md-3"
>
Book Name
</
div
>
<
div
className=
"col-md-3"
>
Writter Name
</
div
>
<
div
className=
"col-md-3"
>
Course Name
</
div
>
<
div
className=
"col-md-3"
>
Action
</
div
>
</
div
>
<
div
className=
"row"
>
<
div
className=
"col-md-3"
>
{
book
.
name
}
</
div
>
<
div
className=
"col-md-3"
>
{
book
.
writterName
}
</
div
>
<
div
className=
"col-md-3"
>
{
book
.
courseName
}
</
div
>
{
/* <button onClick={this.updateBookDetails}>edit</button> */
}
<
button
onClick=
{
this
.
deleteBook
}
>
delete
</
button
>
<
div
className=
"col-md-3"
><
button
onClick=
{
this
.
deleteBook
}
>
delete
</
button
></
div
>
</
div
>
</
main
>
</
div
>
...
...
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