Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
C
cms
Project
Project
Details
Activity
Releases
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
Pedro-dev_2
cms
Commits
2e0ee039
Commit
2e0ee039
authored
Apr 24, 2021
by
PDuarte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
layout detail project
parent
69f213a4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
6 deletions
+20
-6
index.js
src/views/settings/projects/edit/index.js
+16
-2
main.js
src/views/settings/projects/edit/main.js
+1
-1
projectCard.js
src/views/settings/projects/edit/projectCard.js
+3
-3
No files found.
src/views/settings/projects/edit/index.js
View file @
2e0ee039
// ** React Imports
import
{
Fragment
}
from
'react'
import
{
Link
}
from
'react-router-dom'
// ** Custom Components
import
Breadcrumbs
from
'@components/breadcrumbs'
...
...
@@ -18,7 +19,20 @@ const Tables = () => {
<
Breadcrumbs
breadCrumbTitle
=
'Settings'
breadCrumbParent
=
'Settings'
breadCrumbActive
=
'Projects'
/>
<
Row
>
<
Col
sm
=
'12'
>
<
Link
to
=
"/settings/projects"
>
Back
to
Projects
<
/Link
>
<
/Col
>
<
/Row
>
<
Row
>
<
Col
sm
=
'12'
>
<
div
class
=
"card"
>
<
div
class
=
"card-header"
>
<
h4
class
=
"card-title"
>
Project
<
/h4
>
<
/div
>
<
div
class
=
"card-body"
>
<
ProjectsEdit
/>
<
/div
>
<
/div
>
<
/Col
>
<
/Row
>
<
/Fragment
>
...
...
src/views/settings/projects/edit/main.js
View file @
2e0ee039
...
...
@@ -37,7 +37,7 @@ const ProjectsEdit = () => {
<
Alert
color
=
'info'
>
<
h4
className
=
'alert-heading'
>
Loading
Project
<
/h4
>
<
div
className
=
'alert-body'
>
User
with
id
:
{
id
}
doesn
't exist. Check list of all Projects: <Link to='
/
settings
/
projects
'>Projects List</Link>
If
Project
with
id
:
{
id
}
doesn
't exist. Check list of all Projects: <Link to='
/
settings
/
projects
'>Projects List</Link>
</div>
</Alert>
...
...
src/views/settings/projects/edit/projectCard.js
View file @
2e0ee039
...
...
@@ -12,7 +12,7 @@ import { Bell, Check, X, AlertTriangle, Info } from 'react-feather'
// ** Store & Actions
import
{
updateProject
,
resetResults
}
from
'../../store/actions'
import
{
updateProject
,
resetResults
,
getProject
}
from
'../../store/actions'
import
{
useForm
}
from
'react-hook-form'
import
classnames
from
'classnames'
...
...
@@ -169,9 +169,9 @@ return (
<
Button
.
Ripple
className
=
'mb-1 mb-sm-0 mr-0 mr-sm-1'
type
=
'submit'
color
=
'primary'
>
Save
Changes
<
/Button.Ripple
>
<
Button
.
Ripple
color
=
'secondary'
outline
>
{
/* <Button.Ripple color='secondary' outline onClick={() => dispatch(getProject(selectedProject.id))}
>
Reset
<
/Button.Ripple
>
</Button.Ripple>
*/
}
<
/Col
>
<
/Row
>
<
/Form
>
...
...
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