mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-01 07:10:55 +00:00
modified css for wiki-index-con, show 8 grps in top-grp-popup, modified grp name shown length
This commit is contained in:
parent
c88087f334
commit
fbda6112da
@ -2742,6 +2742,9 @@ textarea:-moz-placeholder {/* for FF */
|
|||||||
.wiki-index {
|
.wiki-index {
|
||||||
margin-top:25px;
|
margin-top:25px;
|
||||||
}
|
}
|
||||||
|
#wiki-index-con {
|
||||||
|
padding-left:12px;
|
||||||
|
}
|
||||||
.wiki-index ul {
|
.wiki-index ul {
|
||||||
list-style-type: square;
|
list-style-type: square;
|
||||||
padding-left: 1.5em;
|
padding-left: 1.5em;
|
||||||
|
@ -46,7 +46,7 @@ def base(request):
|
|||||||
mods_enabled = get_enabled_mods_by_user(username)
|
mods_enabled = get_enabled_mods_by_user(username)
|
||||||
|
|
||||||
# get groups
|
# get groups
|
||||||
grps = get_personal_groups_by_user(username)[:4]
|
grps = get_personal_groups_by_user(username)[:8]
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'seafile_version': SEAFILE_VERSION,
|
'seafile_version': SEAFILE_VERSION,
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<div class="side-tabnav">
|
<div class="side-tabnav">
|
||||||
<div class="hd w100 ovhd">
|
<div class="hd w100 ovhd">
|
||||||
<h3 class="fleft">
|
<h3 class="fleft">
|
||||||
{% grp_avatar group.props.id 32 %} <span title="{{ group.group_name }}" class="vam">{{ group.group_name|truncatechars:11 }}</span>
|
{% grp_avatar group.props.id 32 %} <span title="{{ group.group_name }}" class="vam">{{ group.group_name|truncatechars:14 }}</span>
|
||||||
</h3>
|
</h3>
|
||||||
{% if is_staff %}
|
{% if is_staff %}
|
||||||
<img id="enable-mods" class="fright" title="{% trans "Enable Modules" %}" src="{{MEDIA_URL}}img/setting.png" alt="" style="margin:8px 0 0 5px;" />
|
<img id="enable-mods" class="fright" title="{% trans "Enable Modules" %}" src="{{MEDIA_URL}}img/setting.png" alt="" style="margin:8px 0 0 5px;" />
|
||||||
|
Loading…
Reference in New Issue
Block a user