Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
website
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Ask
website
Commits
da007291
Commit
da007291
authored
Jul 14, 2013
by
Riccardo Padovani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed #1200907
Modified tag selector
parent
3727eb93
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
72 additions
and
1 deletion
+72
-1
forum/skins/light/media/images/close-small-dark.png
forum/skins/light/media/images/close-small-dark.png
+0
-0
forum/skins/light/media/images/close-small-hover.png
forum/skins/light/media/images/close-small-hover.png
+0
-0
forum/skins/light/media/images/close-small.png
forum/skins/light/media/images/close-small.png
+0
-0
forum/skins/light/media/style/style.css
forum/skins/light/media/style/style.css
+20
-0
forum/skins/light/templates/page.html
forum/skins/light/templates/page.html
+1
-1
forum/skins/light/templates/question_list/tag_selector.html
forum/skins/light/templates/question_list/tag_selector.html
+51
-0
No files found.
forum/skins/light/media/images/close-small-dark.png
0 → 100644
View file @
da007291
226 Bytes
forum/skins/light/media/images/close-small-hover.png
0 → 100644
View file @
da007291
337 Bytes
forum/skins/light/media/images/close-small.png
0 → 100644
View file @
da007291
293 Bytes
forum/skins/light/media/style/style.css
View file @
da007291
...
@@ -2396,3 +2396,23 @@ h3.or_label, .signin_form#dummy_form_unused {
...
@@ -2396,3 +2396,23 @@ h3.or_label, .signin_form#dummy_form_unused {
{
{
max-width
:
679px
;
max-width
:
679px
;
}
}
#interestingTagInput
,
#ignoredTagInput
{
width
:
80%
;
}
#interestingTagAdd
,
#ignoredTagAdd
{
background-color
:
inherit
;
background-image
:
url(../images/light/icon-tag.png)
;
vertical-align
:
middle
;
cursor
:
pointer
;
width
:
22px
;
height
:
22px
;
background-repeat
:
no-repeat
;
background-position
:
center
;
border-style
:
none
;
}
#interestingTagAdd
:hover
,
#ignoredTagAdd
:hover
{
background-image
:
url(../images/light/icon-tag-hover.png)
;
}
\ No newline at end of file
forum/skins/light/templates/page.html
View file @
da007291
...
@@ -13,8 +13,8 @@
...
@@ -13,8 +13,8 @@
{% endblock %}
{% endblock %}
{% ifequal page.extra.template "sidebar" %}
{% ifequal page.extra.template "sidebar" %}
{% sidebar_upper %}
{% block sidebar %}
{% block sidebar %}
{% sidebar_upper %}
{% if page.extra.sidebar %}
{% if page.extra.sidebar %}
{% if page.extra.sidebar_wrap %}
<div
class=
"boxC"
><div
class=
"body"
>
{% endif %}
{% if page.extra.sidebar_wrap %}
<div
class=
"boxC"
><div
class=
"body"
>
{% endif %}
{{ sidebar }}
{{ sidebar }}
...
...
forum/skins/light/templates/question_list/tag_selector.html
0 → 100644
View file @
da007291
{% load i18n %}
{% load extra_tags %}
{% if show_interesting_tags %}
{% if user_authenticated %}
<div
id=
"tagSelector"
class=
"boxC"
>
<h3
class=
"subtitle"
>
{% trans "Interesting tags" %}
</h3>
<div
class=
"tags interesting marked-tags"
>
{% for tag_name in interesting_tag_names %}
{% spaceless %}
<span
class=
"deletable-tag"
id=
"interesting-tag-{{tag_name}}"
>
<a
rel=
"tag"
class=
"tag-link-{{ tag_name }}"
title=
"{% blocktrans with tag as tagname %}see questions tagged '{{ tag_name }}'{% endblocktrans %}"
href=
"{% url tag_questions tag_name|urlencode %}"
>
{{tag_name}}
</a>
<img
class=
"delete-icon"
src=
"{% media "
/
media
/
images
/
close-small-dark
.
png
"
%}"
title=
"{% blocktrans %}remove '{{tag_name}}' from the list of interesting tags{% endblocktrans %}"
/>
</span>
{% endspaceless %}
{% endfor %}
</div>
<input
id=
"interestingTagInput"
autocomplete=
"off"
type=
"text"
/>
<button
id=
"interestingTagAdd"
type=
"submit"
value=
"{% trans "
Add
"
%}"
/>
<h3
class=
"subtitle"
>
{% trans "Ignored tags" %}
</h3>
<div
class=
"tags ignored marked-tags"
>
{% for tag_name in ignored_tag_names %}
{% spaceless %}
<span
class=
"deletable-tag"
id=
"ignored-tag-{{tag_name}}"
>
<a
rel=
"tag"
class=
"tag-link-{{ tag_name }}"
title=
"{% blocktrans with tag as tagname %}see questions tagged '{{ tag_name }}'{% endblocktrans %}"
href=
"{% url tag_questions tag_name|urlencode %}"
>
{{tag_name}}
</a>
<img
class=
"delete-icon"
src=
"{% media "
/
media
/
images
/
close-small-dark
.
png
"
%}"
title=
"{% blocktrans %}remove '{{tag_name}}' from the list of ignored tags{% endblocktrans %}"
/>
</span>
{% endspaceless %}
{% endfor %}
</div>
<input
id=
"ignoredTagInput"
autocomplete=
"off"
type=
"text"
/>
<button
id=
"ignoredTagAdd"
type=
"submit"
value=
"{% trans "
Add
"
%}"
/>
{% comment %}
<p
id=
"hideIgnoredTagsControl"
>
<input
id=
"hideIgnoredTagsCb"
type=
"checkbox"
{%
if
request
.
user
.
hide_ignored_questions
%}
checked=
"checked"
{%
endif
%}
/>
<label
id=
"hideIgnoredTagsLabel"
for=
"hideIgnoredTagsCb"
>
{% trans "keep ignored questions hidden" %}
</label>
<p>
{% endcomment %}
</div>
{% endif %}
{% endif %}
\ No newline at end of file
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