Commit a1d0b28e authored by Weblate's avatar Weblate

Merge remote-tracking branch 'origin/master'

parents cc99adbb f28a4114
...@@ -177,7 +177,6 @@ ...@@ -177,7 +177,6 @@
<th>{% trans "Identity" %}</th> <th>{% trans "Identity" %}</th>
<th>{% trans "User ID" %}</th> <th>{% trans "User ID" %}</th>
<th>{% trans "Action" %}</th> <th>{% trans "Action" %}</th>
</td>
</tr> </tr>
<tbody> <tbody>
<tr> <tr>
...@@ -190,7 +189,7 @@ ...@@ -190,7 +189,7 @@
{% for assoc in associated %} {% for assoc in associated %}
<tr> <tr>
<th>{% auth_name assoc.provider '' ' ' %}</th> <th>{% auth_name assoc.provider '' ' ' %}</th>
<td>{{ assoc.uid }}</th> <td>{{ assoc.uid }}</td>
<td> <td>
{% if associated.count > 1 %} {% if associated.count > 1 %}
<a href="{% url 'social:disconnect_individual' assoc.provider assoc.id %}?next={% url 'profile' %}" class="disconnect btn btn-danger"><i class="fa fa-trash"></i> {% trans "Disconnect" %}</a> <a href="{% url 'social:disconnect_individual' assoc.provider assoc.id %}?next={% url 'profile' %}" class="disconnect btn btn-danger"><i class="fa fa-trash"></i> {% trans "Disconnect" %}</a>
...@@ -253,8 +252,7 @@ ...@@ -253,8 +252,7 @@
<th>{% trans "Your public profile" %}</th> <th>{% trans "Your public profile" %}</th>
<td><a href="{{ user_page }}">{{ user_page }}</a></td> <td><a href="{{ user_page }}">{{ user_page }}</a></td>
</tr> </tr>
</table </table>
</div>
</div> </div>
</div> </div>
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
<link rel="stylesheet" type="text/css" href="{% static 'font-awesome/css/font-awesome.css' %}" /> <link rel="stylesheet" type="text/css" href="{% static 'font-awesome/css/font-awesome.css' %}" />
<link rel="stylesheet" type="text/css" href="{% static 'font-linux/font-linux.css' %}" /> <link rel="stylesheet" type="text/css" href="{% static 'font-linux/font-linux.css' %}" />
<link rel="stylesheet" type="text/css" href="{% static 'chartist.min.css' %}" /> <link rel="stylesheet" type="text/css" href="{% static 'chartist.min.css' %}" />
<link rel="stylesheet" type="text/css" href="{% static 'multi-select.css' %}" />
<link rel="stylesheet" type="text/css" href="{% static 'style-bootstrap.css' %}" /> <link rel="stylesheet" type="text/css" href="{% static 'style-bootstrap.css' %}" />
{% endcompress %} {% endcompress %}
<script src="{% url 'js-catalog' %}" type="text/javascript"></script> <script src="{% url 'js-catalog' %}" type="text/javascript"></script>
...@@ -35,6 +36,7 @@ ...@@ -35,6 +36,7 @@
<script src="{% static 'js/jquery.cookie.js' %}" type="text/javascript"></script> <script src="{% static 'js/jquery.cookie.js' %}" type="text/javascript"></script>
<script src="{% static 'js/autosize.js' %}" type="text/javascript"></script> <script src="{% static 'js/autosize.js' %}" type="text/javascript"></script>
<script src="{% static 'js/jquery.sortElements.js' %}" type="text/javascript"></script> <script src="{% static 'js/jquery.sortElements.js' %}" type="text/javascript"></script>
<script src="{% static 'js/jquery.multi-select.js' %}" type="text/javascript"></script>
<script src="{% static 'js/mousetrap.js' %}" type="text/javascript"></script> <script src="{% static 'js/mousetrap.js' %}" type="text/javascript"></script>
<script src="{% static 'js/mousetrap-global-bind.js' %}" type="text/javascript"></script> <script src="{% static 'js/mousetrap-global-bind.js' %}" type="text/javascript"></script>
<script src="{% static 'js/chartist.js' %}" type="text/javascript"></script> <script src="{% static 'js/chartist.js' %}" type="text/javascript"></script>
......
This diff is collapsed.
...@@ -745,4 +745,15 @@ $(function () { ...@@ -745,4 +745,15 @@ $(function () {
weekStart: django.formats.FIRST_DAY_OF_WEEK, weekStart: django.formats.FIRST_DAY_OF_WEEK,
titleFormat: "MM yyyy" titleFormat: "MM yyyy"
}; };
/* Override all multiple selects, use font awesome for exchange icon */
$('select[multiple]').each(function () {
$(this).multiSelect({
afterInit: function (target) {
$(target.children()[0]).after(
'<div class="fa-multiselect"><i class="fa fa-exchange"></i></div>'
);
}
});
});
}); });
.ms-container{
background: transparent url('../img/switch.png') no-repeat 50% 50%;
width: 370px;
}
.ms-container:after{
content: ".";
display: block;
height: 0;
line-height: 0;
font-size: 0;
clear: both;
min-height: 0;
visibility: hidden;
}
.ms-container .ms-selectable, .ms-container .ms-selection{
background: #fff;
color: #555555;
float: left;
width: 45%;
}
.ms-container .ms-selection{
float: right;
}
.ms-container .ms-list{
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
-moz-transition: border linear 0.2s, box-shadow linear 0.2s;
-ms-transition: border linear 0.2s, box-shadow linear 0.2s;
-o-transition: border linear 0.2s, box-shadow linear 0.2s;
transition: border linear 0.2s, box-shadow linear 0.2s;
border: 1px solid #ccc;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
position: relative;
height: 200px;
padding: 0;
overflow-y: auto;
}
.ms-container .ms-list.ms-focus{
border-color: rgba(82, 168, 236, 0.8);
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
outline: 0;
outline: thin dotted \9;
}
.ms-container ul{
margin: 0;
list-style-type: none;
padding: 0;
}
.ms-container .ms-optgroup-container{
width: 100%;
}
.ms-container .ms-optgroup-label{
margin: 0;
padding: 5px 0px 0px 5px;
cursor: pointer;
color: #999;
}
.ms-container .ms-selectable li.ms-elem-selectable,
.ms-container .ms-selection li.ms-elem-selection{
border-bottom: 1px #eee solid;
padding: 2px 10px;
color: #555;
font-size: 14px;
}
.ms-container .ms-selectable li.ms-hover,
.ms-container .ms-selection li.ms-hover{
cursor: pointer;
color: #fff;
text-decoration: none;
background-color: #08c;
}
.ms-container .ms-selectable li.disabled,
.ms-container .ms-selection li.disabled{
background-color: #eee;
color: #aaa;
cursor: text;
}
...@@ -242,3 +242,13 @@ img.engage-icon { ...@@ -242,3 +242,13 @@ img.engage-icon {
.fa-wl-social { .fa-wl-social {
padding: 7px; padding: 7px;
} }
.ms-container{
background: none !important;
}
.fa-multiselect {
height: 200px;
line-height: 200px;
float: left;
vertical-align: middle;
padding-left: 10px;
}
Markdown is supported
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