Skip to content
Permalink
Browse files

Simplification de l'affichage des nodes dans le panneau d'administrat…

…ion.
  • Loading branch information...
noelma committed Jul 29, 2019
1 parent c0666c9 commit 21884388bf369c4c6436d690e493cb03b59eaec8
@@ -13,8 +13,7 @@
<tr class="form-head">
<th>Nom</th>
<th>Date de création</th>
<th>Date de modification</th>
<th>Actions</th>
<th class="text-right">Actions</th>
<th>Publié</th>
</tr>
</thead>
@@ -24,12 +23,14 @@

<tr>
<th>
<a href="<?php echo $node[ 'link_view' ]; ?>"><?php echo $node[ 'title' ]; ?></a> <small><?php echo $node[ 'type' ]; ?></small>
<a href="<?php echo $node[ 'link_edit' ]; ?>"><?php echo $node[ 'title' ]; ?></a> <small><?php echo $node[ 'type' ]; ?></small>
</th>
<td data-title="Date de création"><?php echo gmdate('d/m/Y - H:m:s', $node[ 'created' ]); ?></td>
<td data-title="Date de modification"><?php echo gmdate('d/m/Y - H:m:s', $node[ 'changed' ]); ?></td>
<td data-title="Actions">
<td data-title="Actions" class="text-right">
<div class="btn-group" role="group" aria-label="action">
<a href=" <?php echo $node[ 'link_view' ]; ?>" class="btn btn-action" target="__blank">
<span class="fa fa-search"></span> Voir
</a>
<a href=" <?php echo $node[ 'link_edit' ]; ?>" class="btn btn-action">
<span class="fa fa-edit"></span> Éditer
</a>
@@ -41,14 +42,10 @@
<td data-title="Publié">
<?php if ($node[ 'published' ] == 'on'): ?>

<div class="icon-publish">
<span class="fa fa-ok" aria-hidden="Publish"></span>
</div>
<div class="icon-publish" data-tooltip="Publié"></div>
<?php else: ?>

<div class="icon-notPublish">
<span class="fa fa-times" aria-hidden="Not publish"></span>
</div>
<div class="icon-notPublish" data-tooltip="Non publié"></div>
<?php endif; ?>

</td>
@@ -331,4 +331,23 @@ label[data-tooltip]:before {
}
.nested-sortable .link-title {
margin-bottom: 5px;
}


/* --------------------------- */
/* ---------- NODE ----------- */
/* --------------------------- */
.icon-notPublish,
.icon-publish{
border-radius: 32px;
width: 16px;
height: 16px;
margin-left: auto;
margin-right: auto;
}
.icon-notPublish{
background-color: #d14;
}
.icon-publish{
background-color: #2ecc71;
}
@@ -34,32 +34,6 @@ textarea{
resize:vertical;
min-height: 34px;
}
.icon-notPublish{
border: 1px solid #d14;
border-radius: 32px;
width: 32px;
height: 32px;
}
.icon-notPublish span{
display: block;
position: absolute;
top: 9px;
left: 23px;
color: #d14;
}
.icon-publish{
border: 1px solid #2ecc71;
border-radius: 32px;
width: 32px;
height: 32px;
}
.icon-publish span{
display: block;
position: absolute;
top: 9px;
left: 23px;
color: #2ecc71;
}
.form-inline .form-control{
transition: width .2s;
}
@@ -335,4 +335,23 @@ label[data-tooltip]:before {
}
.nested-sortable .link-title {
margin-bottom: 5px;
}


/* --------------------------- */
/* ---------- NODE ----------- */
/* --------------------------- */
.icon-notPublish,
.icon-publish{
border-radius: 32px;
width: 16px;
height: 16px;
margin-left: auto;
margin-right: auto;
}
.icon-notPublish{
background-color: #d14;
}
.icon-publish{
background-color: #2ecc71;
}
@@ -324,4 +324,23 @@ label[data-tooltip]:before {
}
.nested-sortable .link-title {
margin-bottom: 5px;
}


/* --------------------------- */
/* ---------- NODE ----------- */
/* --------------------------- */
.icon-notPublish,
.icon-publish{
border-radius: 32px;
width: 16px;
height: 16px;
margin-left: auto;
margin-right: auto;
}
.icon-notPublish{
background-color: #d14;
}
.icon-publish{
background-color: #2ecc71;
}
@@ -316,40 +316,6 @@ img, .img-responsive {
height: auto;
}

/* NODE */
.icon-publish,
.icon-notPublish{
border: 2px solid;
border-radius: 32px;
height: 32px;
width: 32px;
}
.icon-notPublish{
border-color: #d14;
}
.icon-publish{
border-color: #2ecc71;
}
.icon-publish span,
.icon-notPublish span{
display: block;
font-weight: bold;
left: 24px;
position: absolute;
}
.icon-notPublish span{
color: #d14;
}
.icon-publish span{
color: #2ecc71;
}
.icon-publish .glyphicon-ok:before{
content: '';
}
.icon-notPublish .glyphicon-remove:before{
content: '';
}

/* MODULES */
.module-is_required,
.module-is_required_for_module{

0 comments on commit 2188438

Please sign in to comment.
You can’t perform that action at this time.