Skip to content

Commit 9db6d7e

Browse files
committed
[FIX] admin news div fix
1 parent 4b13360 commit 9db6d7e

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

public/templates/bootstrap/account/notifications/default.tpl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</td>
1818
<td>
1919
<input type="hidden" name="data[idle_worker]" value="0" />
20-
<input type="checkbox" class="switch" data-size="small" name="data[idle_worker]" id="idle_worker" value="1"{nocache}{if $SETTINGS['idle_worker']|default:"0" == 1}checked{/if}{/nocache} />
20+
<input type="checkbox" class="switch" data-size="mini" name="data[idle_worker]" id="idle_worker" value="1"{nocache}{if $SETTINGS['idle_worker']|default:"0" == 1}checked{/if}{/nocache} />
2121
</td>
2222
</tr>
2323
{/if}
@@ -28,7 +28,7 @@
2828
</td>
2929
<td>
3030
<input type="hidden" name="data[new_block]" value="0" />
31-
<input type="checkbox"class="switch" data-size="small" name="data[new_block]" id="new_block" value="1"{nocache}{if $SETTINGS['new_block']|default:"0" == 1}checked{/if}{/nocache} />
31+
<input type="checkbox"class="switch" data-size="mini" name="data[new_block]" id="new_block" value="1"{nocache}{if $SETTINGS['new_block']|default:"0" == 1}checked{/if}{/nocache} />
3232
</td>
3333
</tr>
3434
{/if}
@@ -38,7 +38,7 @@
3838
</td>
3939
<td>
4040
<input type="hidden" name="data[payout]" value="0" />
41-
<input type="checkbox" class="switch" data-size="small" name="data[payout]" id="payout" value="1"{nocache}{if $SETTINGS['payout']|default:"0" == 1}checked{/if}{/nocache} />
41+
<input type="checkbox" class="switch" data-size="mini" name="data[payout]" id="payout" value="1"{nocache}{if $SETTINGS['payout']|default:"0" == 1}checked{/if}{/nocache} />
4242
</td>
4343
</tr>
4444
<tr>
@@ -47,7 +47,7 @@
4747
</td>
4848
<td>
4949
<input type="hidden" name="data[success_login]" value="0" />
50-
<input type="checkbox" class="switch" data-size="small" name="data[success_login]" id="success_login" value="1"{nocache}{if $SETTINGS['success_login']|default:"0" == 1}checked{/if}{/nocache} />
50+
<input type="checkbox" class="switch" data-size="mini" name="data[success_login]" id="success_login" value="1"{nocache}{if $SETTINGS['success_login']|default:"0" == 1}checked{/if}{/nocache} />
5151
</td>
5252
</tr>
5353
</table>

public/templates/bootstrap/admin/news/default.tpl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,14 @@
5151
{$NEWS[news].content nofilter}
5252
</div>
5353
<div class="panel-footer">
54-
<div style="text-align:right">
54+
<div style="text-align:right">
5555
<a href='{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page|escape}&action=news_edit&id={$NEWS[news].id}'><i class="fa fa-wrench fa-fw"></i></a>&nbsp;
5656
<a href='{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page|escape}&action={$smarty.request.action|escape}&do=delete&id={$NEWS[news].id}'><i class="fa fa-trash-o fa-fw"></i></a>
5757
</div>
5858
</div>
5959
</div>
6060
</div>
61-
</div>
6261
{/section}
6362
{/nocache}
63+
</div>
64+

0 commit comments

Comments
 (0)