mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Fix alignment in module list
This commit is contained in:
parent
a32721b6e1
commit
0d26c75bdb
4 changed files with 14 additions and 9 deletions
|
|
@ -1,12 +1,17 @@
|
|||
.fvOff,.fvOn{
|
||||
display:inline-block;
|
||||
width:25px;
|
||||
height:25px;
|
||||
position:relative;
|
||||
top:8px;
|
||||
width:18px;
|
||||
height:18px;
|
||||
background-color:transparent;
|
||||
background-size:25px 25px;
|
||||
background-size:18px 18px;
|
||||
overflow:hidden;
|
||||
text-indent:-1000px;
|
||||
border:0
|
||||
border:0;
|
||||
.nodescription>& {
|
||||
top: -1px;
|
||||
}
|
||||
}
|
||||
.fvOff{
|
||||
background-image: data-uri('images/star-empty.svg');
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
<tr loop="$module_list => $key,$val" data-type1="#"|cond="in_array($val->module,$favoriteModuleList)" data-type2="#"|cond="$val->need_install || $val->need_update || $val->need_autoinstall_update">
|
||||
<td>
|
||||
<td class="nodescription"|cond="!$val->description">
|
||||
<button type="button" class="fvOn" onclick="doToggleFavoriteModule(this, '{$val->module}')" cond="in_array($val->module,$favoriteModuleList)">{lang("favorite")} ({lang("on")})</button>
|
||||
<button type="button" class="fvOff" onclick="doToggleFavoriteModule(this, '{$val->module}')" cond="!in_array($val->module,$favoriteModuleList)">{lang("favorite")} ({lang("off")})</button>
|
||||
</td>
|
||||
|
|
@ -31,8 +31,8 @@
|
|||
<a href="{getUrl('','module','admin','act',$val->admin_index_act)}" cond="$val->admin_index_act">{$val->title}</a>
|
||||
<strong cond="!$val->admin_index_act">{$val->title}</strong>
|
||||
</p>
|
||||
<p>{$val->description}</p>
|
||||
<p cond="Context::isBlacklistedPlugin($val->module)" class="message error" style="margin-top:6px;padding:6px 10px">
|
||||
<p cond="$val->description">{$val->description}</p>
|
||||
<p cond="Context::isBlacklistedPlugin($val->module)" class="x_alert x_alert-error">
|
||||
{$lang->msg_blacklisted_module}<br />
|
||||
{$lang->get('admin.msg_blacklisted_reason.'.$val->module)}
|
||||
</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue