Unverified Commit bb28d14a authored by Jerome Boucher's avatar Jerome Boucher
Browse files

Change Collection color icon and position

parent 9a783ac3
Pipeline #12370 failed with stages
in 42 seconds
......@@ -10,6 +10,12 @@ menu = "[
'title' : 'Echanges',
'href' : '/medona/list',
'class' : 'fa fa-exchange fa-fw'
},
{
'label' : '',
'title' : 'Favoris',
'href' : '/collection',
'class' : 'fa fa-star fa-fw'
},
{
'label' : '',
......@@ -193,11 +199,6 @@ menu = "[
'label' : 'Statistics',
'href' : '/statistics',
'class' : 'fa fa-bar-chart fa-fw'
},
{
'label' : 'Favoris',
'href' : '/collection',
'class' : 'fa fa-shopping-basket fa-fw'
}
]
}
......
<div class="container-fluid">
<div class="page-header">
<h1><span class="fa fa-shopping-basket fa-fw"></span>&nbsp;Favoris</h1>
<h1><span class="fa fa-star fa-fw"></span>&nbsp;Favoris</h1>
</div>
<div class="container-fluid" id="collectionList"></div>
</div>
......
......@@ -220,7 +220,7 @@ var ArchivesAction = {
} else {
htmlElement.classList.toggle('fa-star-o');
htmlElement.classList.toggle('fa-star');
htmlElement.classList.toggle('yellow');
htmlElement.classList.toggle('orange');
collectionHtmlElement.attr('data-isinusercollection', !isInUserCollection);
}
},
......
......@@ -32,7 +32,7 @@
<th>Profile</th>
<th>Deposit date</th>
<th>Status</th>
<th><span><i class="fa fa-star-o" title="Favoris"></i></span></th>
<th><span><i class="fa fa-star-half-full" title="Favoris"></i></span></th>
<th style="min-width:150px;"></th>
</tr>
</thead>
......@@ -54,7 +54,7 @@
<td class="profile"><?merge .archivalProfileName ?></td>
<td data-order="[?merge .depositDate.format('Y-m-d H:i:s') ?]"><?merge .depositDate.format('d-m-Y H:i:s') ?></td>
<td class="status"><?merge .statusDesc ?></td>
<td data-isInUserCollection="[?merge .isInUserCollection.bool().then('true', 'false') ?]"><i class="collection fa [?merge .isInUserCollection.bool().then('fa-star yellow', 'fa-star-o') ?]"></i></td>
<td data-isInUserCollection="[?merge .isInUserCollection.bool().then('true', 'false') ?]"><i class="collection fa [?merge .isInUserCollection.bool().then('fa-star orange', 'fa-star-o') ?]"></i></td>
<td>
<div class="btn-group pull-right">
<!--button type="button" class="btn btn-success btn-sm requestDelivery" id="requestCom" data-archiveid='[?merge .archiveId?]' title="Request of communication"><span class="fa fa-cloud-upload">&nbsp;</span></button-->
......@@ -75,8 +75,8 @@
<?hinclude recordsManagement/archive/archiveManagement.html ?>
</div>
<style>
.yellow {
color: #FFFF00;
.orange {
color: orange;
}
</style>
<script>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment