backports murph-skeleton
This commit is contained in:
parent
1be9c9bbe3
commit
9dfd70f267
|
@ -163,8 +163,13 @@ tr.table-primary-light {
|
||||||
.fa {
|
.fa {
|
||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
min-width: 30px;
|
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
width: 35px;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-item-label {
|
||||||
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
|
@ -245,10 +250,10 @@ tr.table-primary-light {
|
||||||
|
|
||||||
.nav-link {
|
.nav-link {
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
}
|
|
||||||
|
|
||||||
.nav-item-label {
|
.nav-item-label {
|
||||||
display: none;
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-heading {
|
.sidebar-heading {
|
||||||
|
@ -490,9 +495,8 @@ fieldset.form-group {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
th.crud-batch-column {
|
.table .crud-batch-column {
|
||||||
width: 20px !important;
|
width: 1%;
|
||||||
max-width: 20px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
form {
|
form {
|
||||||
|
|
|
@ -68,9 +68,10 @@ abstract class CrudController extends AdminController
|
||||||
$entityManager->create($entity);
|
$entityManager->create($entity);
|
||||||
$this->addFlash('success', 'The data has been saved.');
|
$this->addFlash('success', 'The data has been saved.');
|
||||||
|
|
||||||
return $this->redirectToRoute($configuration->getPageRoute('edit'), [
|
return $this->redirectToRoute($configuration->getPageRoute('edit'), array_merge(
|
||||||
'entity' => $entity->getId(),
|
['entity' => $entity->getId()],
|
||||||
]);
|
$configuration->getPageRouteParams('edit')
|
||||||
|
));
|
||||||
}
|
}
|
||||||
$this->addFlash('warning', 'The form is not valid.');
|
$this->addFlash('warning', 'The form is not valid.');
|
||||||
}
|
}
|
||||||
|
@ -111,9 +112,10 @@ abstract class CrudController extends AdminController
|
||||||
$entityManager->update($entity);
|
$entityManager->update($entity);
|
||||||
$this->addFlash('success', 'The data has been saved.');
|
$this->addFlash('success', 'The data has been saved.');
|
||||||
|
|
||||||
return $this->redirectToRoute($configuration->getPageRoute('edit'), [
|
return $this->redirectToRoute($configuration->getPageRoute('edit'), array_merge(
|
||||||
'entity' => $entity->getId(),
|
['entity' => $entity->getId()],
|
||||||
]);
|
$configuration->getPageRouteParams('edit')
|
||||||
|
));
|
||||||
}
|
}
|
||||||
$this->addFlash('warning', 'The form is not valid.');
|
$this->addFlash('warning', 'The form is not valid.');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue