mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-13 13:50:07 +00:00
[grp list] show 'lib/wiki/..' links when hover; modified grp avatar size setting
This commit is contained in:
@@ -1657,6 +1657,9 @@ textarea:-moz-placeholder {/* for FF */
|
|||||||
width:330px;
|
width:330px;
|
||||||
margin:0 17px 30px 0;
|
margin:0 17px 30px 0;
|
||||||
}
|
}
|
||||||
|
.group-list .group {
|
||||||
|
margin-bottom:25px;
|
||||||
|
}
|
||||||
.group-list .group,
|
.group-list .group,
|
||||||
.user-list .user {
|
.user-list .user {
|
||||||
*display:inline; /* for ie 6,7 */
|
*display:inline; /* for ie 6,7 */
|
||||||
|
@@ -19,5 +19,14 @@
|
|||||||
{% with post_url=group_add_url %}
|
{% with post_url=group_add_url %}
|
||||||
{% include "snippets/group_add_js.html" %}
|
{% include "snippets/group_add_js.html" %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
|
|
||||||
|
$('.group').hover(
|
||||||
|
function() {
|
||||||
|
$('.fast', $(this)).removeClass('vh');
|
||||||
|
},
|
||||||
|
function() {
|
||||||
|
$('.fast', $(this)).addClass('vh');
|
||||||
|
}
|
||||||
|
);
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@@ -12,8 +12,8 @@
|
|||||||
<h4><a href="{% url 'group_info' group.props.id %}">{{ group.props.group_name }}</a></h4>
|
<h4><a href="{% url 'group_info' group.props.id %}">{{ group.props.group_name }}</a></h4>
|
||||||
<p><span class="item-name">{% trans "Creator: " %}</span>{{ group.props.creator_name }}</p>
|
<p><span class="item-name">{% trans "Creator: " %}</span>{{ group.props.creator_name }}</p>
|
||||||
<p><span class="item-name">{% trans "Time: "%}</span>{{ group.props.timestamp|tsstr_sec }}</p>
|
<p><span class="item-name">{% trans "Time: "%}</span>{{ group.props.timestamp|tsstr_sec }}</p>
|
||||||
<div class="fast">
|
<div class="fast vh">
|
||||||
<a href="{% url 'group_info' group.props.id %}" title="{% trans "Libraries" %}" class="a"><span class="icon-folder-close"></span></a>
|
<a href="{% url 'group_info' group.props.id %}" title="{% trans "Libraries" %}" class="a"><span class="icon-archive"></span></a>
|
||||||
<a href="{% url 'group_discuss' group.props.id %}" title="{% trans "Discussion" %}" class="a"><span class="icon-comment"></span></a>
|
<a href="{% url 'group_discuss' group.props.id %}" title="{% trans "Discussion" %}" class="a"><span class="icon-comment"></span></a>
|
||||||
{% if group.wiki_enabled %}
|
{% if group.wiki_enabled %}
|
||||||
<a href="{% url 'group_wiki' group.props.id %}" title="{% trans "Wiki" %}" class="a"><span class="icon-book"></span></a>
|
<a href="{% url 'group_wiki' group.props.id %}" title="{% trans "Wiki" %}" class="a"><span class="icon-book"></span></a>
|
||||||
|
@@ -211,7 +211,7 @@ AUTO_GENERATE_AVATAR_SIZES = (16, 20, 28, 36, 40, 48, 60, 80)
|
|||||||
# Group avatar
|
# Group avatar
|
||||||
GROUP_AVATAR_STORAGE_DIR = 'avatars/groups'
|
GROUP_AVATAR_STORAGE_DIR = 'avatars/groups'
|
||||||
GROUP_AVATAR_DEFAULT_URL = 'avatars/groups/default.png'
|
GROUP_AVATAR_DEFAULT_URL = 'avatars/groups/default.png'
|
||||||
AUTO_GENERATE_GROUP_AVATAR_SIZES = (20, 24, 48)
|
AUTO_GENERATE_GROUP_AVATAR_SIZES = (20, 24, 48, 56)
|
||||||
|
|
||||||
LOG_DIR = os.environ.get('SEAHUB_LOG_DIR', '/tmp')
|
LOG_DIR = os.environ.get('SEAHUB_LOG_DIR', '/tmp')
|
||||||
CACHE_DIR = "/tmp"
|
CACHE_DIR = "/tmp"
|
||||||
|
Reference in New Issue
Block a user