Projet

Général

Profil

0001-style-add-minor-adjustments-to-history-log-28782.patch

Frédéric Péters, 09 décembre 2018 11:17

Télécharger (2,05 ko)

Voir les différences:

Subject: [PATCH] style: add minor adjustments to history log (#28782)

 wcs/qommon/static/css/dc2/admin.css     | 33 +++++++++++++++++++++++++
 wcs/templates/wcs/formdata_history.html |  2 +-
 2 files changed, 34 insertions(+), 1 deletion(-)
wcs/qommon/static/css/dc2/admin.css
1665 1665
ul.user-formdatas small {
1666 1666
	display: block;
1667 1667
}
1668

  
1669
ul#evolutions div.evolution-metadata {
1670
	border: none;
1671
	margin-left: 70px;
1672
	padding: 0.5rem;
1673
	padding-left: 0;
1674
}
1675

  
1676
ul#evolutions li span.item.no-status-change {
1677
	width: 5px;
1678
	height: 5px;
1679
	left: 28px;
1680
	top: 39px;
1681
}
1682

  
1683
ul#evolutions li div.msg {
1684
	border: none;
1685
	box-shadow: none;
1686
	padding-left: 10px;
1687
}
1688

  
1689
ul#evolutions span.user {
1690
	opacity: 1;
1691
	font-style: italic;
1692
}
1693

  
1694
ul#evolutions li.msg-in div.msg {
1695
	background: #edf9f7;
1696
}
1697

  
1698
ul#evolutions li.msg-out div.msg {
1699
	background: #f1f8fe;
1700
}
wcs/templates/wcs/formdata_history.html
8 8
    <li class="{% if evolution.who == '_submitter' %}msg-in{% elif evolution.who %}msg-out{% else %}msg-system{% endif %}
9 9
               {% if status.is_endpoint %}endpoint{% endif %}
10 10
               {{ status.extra_css_class }}">
11
      <span class="item" style="background: #{{ status.colour }}; color: {{ status.get_contrast_color}}"></span>
11
      <span class="item {% if not evolution.status %}no-status-change{% endif %}" style="background: #{{ status.colour }}; color: {{ status.get_contrast_color}}"></span>
12 12
      <div>
13 13
       {% if evolution.status %}
14 14
         <div class="evolution-metadata">
15
-