mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-24 10:23:17 +00:00
enhance push front
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
<ul class="lists">
|
<ul class="lists">
|
||||||
{% for list in lists %}
|
{% for list in lists %}
|
||||||
{% set length = '<span class="counter">' ~ list.getEntries().count() ~ '</span>' %}
|
{% set length = '<span class="counter">' ~ list.getEntries().count() ~ '</span>' %}
|
||||||
<li class="list" style="padding:2px;background-color:{{ loop.index is odd ? "#515150" : "none" }}">
|
<li class="list" style="padding:2px;">
|
||||||
<a href="/prod/push/edit-list/{{ list.getId() }}/" class="list_link">
|
<a href="/prod/push/edit-list/{{ list.getId() }}/" class="list_link">
|
||||||
{% if list.getOwner(user).getRole() >= constant('\\Entities\\UsrListOwner::ROLE_EDITOR') %}
|
{% if list.getOwner(user).getRole() >= constant('\\Entities\\UsrListOwner::ROLE_EDITOR') %}
|
||||||
<img src="/skins/prod/Push/list-icon.png" />
|
<img src="/skins/prod/Push/list-icon.png" />
|
||||||
|
|||||||
@@ -58,9 +58,9 @@
|
|||||||
</table>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<ul>
|
<ul class="list">
|
||||||
{% for list in lists %}
|
{% for list in lists %}
|
||||||
<li style="padding:2px;background-color:{{ loop.index is odd ? "#515150" : "none" }}">
|
<li class="list" style="padding:2px;">
|
||||||
<a class="list_loader" href="/prod/push/list/{{ list.getId() }}/">
|
<a class="list_loader" href="/prod/push/list/{{ list.getId() }}/">
|
||||||
{% if list.getOwner(user).getRole() >= constant('\\Entities\\UsrListOwner::ROLE_EDITOR') %}
|
{% if list.getOwner(user).getRole() >= constant('\\Entities\\UsrListOwner::ROLE_EDITOR') %}
|
||||||
<img src="/skins/prod/Push/list-icon.png" />
|
<img src="/skins/prod/Push/list-icon.png" />
|
||||||
|
|||||||
@@ -683,7 +683,7 @@
|
|||||||
buttons[language.valider] = function() {
|
buttons[language.valider] = function() {
|
||||||
|
|
||||||
var callbackOK = function () {
|
var callbackOK = function () {
|
||||||
$('a.list_refresh', $container).trigger('click');
|
$('#ListManager .lists a.list_refresh', $container).trigger('click');
|
||||||
p4.Dialog.get(2).Close();
|
p4.Dialog.get(2).Close();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -146,9 +146,30 @@
|
|||||||
overflow:auto;
|
overflow:auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.PushBox .lists .list.selected{
|
|
||||||
background-color: #515151;
|
.PushBox .LeftColumn .content ul.list li:nth-child(odd){
|
||||||
|
background-color: none;
|
||||||
}
|
}
|
||||||
|
.PushBox .LeftColumn .content ul.list li:nth-child(even){
|
||||||
|
background-color: #515150;
|
||||||
|
}
|
||||||
|
|
||||||
|
.PushBox .lists ul li:nth-child(odd){
|
||||||
|
background-color: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.PushBox .lists ul li:nth-child(even){
|
||||||
|
background-color: #515150;
|
||||||
|
}
|
||||||
|
|
||||||
|
.PushBox .LeftColumn .content ul.list li.selected{
|
||||||
|
background-color: #AAA;
|
||||||
|
}
|
||||||
|
|
||||||
|
.PushBox .lists .list.selected{
|
||||||
|
background-color: #AAA;
|
||||||
|
}
|
||||||
|
|
||||||
.PushBox .lists .list{
|
.PushBox .lists .list{
|
||||||
padding:3px 0;
|
padding:3px 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user