Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
14cb2648
Commit
14cb2648
authored
Nov 02, 2015
by
Michal Čihař
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/pull/915'
parents
59ebed69
e47d45eb
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
546 additions
and
4 deletions
+546
-4
weblate/html/accounts/profile.html
weblate/html/accounts/profile.html
+2
-4
weblate/html/base.html
weblate/html/base.html
+2
-0
weblate/static/js/jquery.multi-select.js
weblate/static/js/jquery.multi-select.js
+535
-0
weblate/static/loader-bootstrap.js
weblate/static/loader-bootstrap.js
+6
-0
weblate/static/multi-select.min.css
weblate/static/multi-select.min.css
+1
-0
weblate/static/switch.png
weblate/static/switch.png
+0
-0
No files found.
weblate/html/accounts/profile.html
View file @
14cb2648
...
...
@@ -177,7 +177,6 @@
<th>
{% trans "Identity" %}
</th>
<th>
{% trans "User ID" %}
</th>
<th>
{% trans "Action" %}
</th>
</td>
</tr>
<tbody>
<tr>
...
...
@@ -190,7 +189,7 @@
{% for assoc in associated %}
<tr>
<th>
{% auth_name assoc.provider '' ' ' %}
</th>
<td>
{{ assoc.uid }}
</t
h
>
<td>
{{ assoc.uid }}
</t
d
>
<td>
{% 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>
...
...
@@ -253,8 +252,7 @@
<th>
{% trans "Your public profile" %}
</th>
<td><a
href=
"{{ user_page }}"
>
{{ user_page }}
</a></td>
</tr>
</table
</div
>
</table>
</div>
</div>
...
...
weblate/html/base.html
View file @
14cb2648
...
...
@@ -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-linux/font-linux.css' %}"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static 'chartist.min.css' %}"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static 'multi-select.min.css' %}"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static 'style-bootstrap.css' %}"
/>
{% endcompress %}
<script
src=
"{% url 'js-catalog' %}"
type=
"text/javascript"
></script>
...
...
@@ -35,6 +36,7 @@
<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/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-global-bind.js' %}"
type=
"text/javascript"
></script>
<script
src=
"{% static 'js/chartist.js' %}"
type=
"text/javascript"
></script>
...
...
weblate/static/js/jquery.multi-select.js
0 → 100644
View file @
14cb2648
This diff is collapsed.
Click to expand it.
weblate/static/loader-bootstrap.js
View file @
14cb2648
...
...
@@ -745,4 +745,10 @@ $(function () {
weekStart
:
django
.
formats
.
FIRST_DAY_OF_WEEK
,
titleFormat
:
"
MM yyyy
"
};
/* Override all multiple selects */
$
(
'
select[multiple]
'
).
each
(
function
()
{
$
(
this
).
multiSelect
({
});
});
});
weblate/static/multi-select.min.css
0 → 100644
View file @
14cb2648
.ms-container
{
background
:
url(switch.png)
50%
50%
no-repeat
;
width
:
100%
}
.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
:
#555
;
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
,
.075
);
-moz-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
);
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
);
-webkit-transition
:
border
linear
.2s
,
box-shadow
linear
.2s
;
-moz-transition
:
border
linear
.2s
,
box-shadow
linear
.2s
;
-ms-transition
:
border
linear
.2s
,
box-shadow
linear
.2s
;
-o-transition
:
border
linear
.2s
,
box-shadow
linear
.2s
;
transition
:
border
linear
.2s
,
box-shadow
linear
.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
,
.8
);
-webkit-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
),
0
0
8px
rgba
(
82
,
168
,
236
,
.6
);
-moz-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
),
0
0
8px
rgba
(
82
,
168
,
236
,
.6
);
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
),
0
0
8px
rgba
(
82
,
168
,
236
,
.6
);
outline
:
0
;
outline
:
dotted
thin
\
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
0
0
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
}
\ No newline at end of file
weblate/static/switch.png
0 → 100644
View file @
14cb2648
3.01 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment