[FIX] admin news div fix

This commit is contained in:
iAmShorty 2014-03-28 13:59:23 +01:00
parent 4b13360568
commit 9db6d7ecee
2 changed files with 7 additions and 6 deletions

View File

@ -17,7 +17,7 @@
</td> </td>
<td> <td>
<input type="hidden" name="data[idle_worker]" value="0" /> <input type="hidden" name="data[idle_worker]" value="0" />
<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} /> <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} />
</td> </td>
</tr> </tr>
{/if} {/if}
@ -28,7 +28,7 @@
</td> </td>
<td> <td>
<input type="hidden" name="data[new_block]" value="0" /> <input type="hidden" name="data[new_block]" value="0" />
<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} /> <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} />
</td> </td>
</tr> </tr>
{/if} {/if}
@ -38,7 +38,7 @@
</td> </td>
<td> <td>
<input type="hidden" name="data[payout]" value="0" /> <input type="hidden" name="data[payout]" value="0" />
<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} /> <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} />
</td> </td>
</tr> </tr>
<tr> <tr>
@ -47,7 +47,7 @@
</td> </td>
<td> <td>
<input type="hidden" name="data[success_login]" value="0" /> <input type="hidden" name="data[success_login]" value="0" />
<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} /> <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} />
</td> </td>
</tr> </tr>
</table> </table>

View File

@ -51,13 +51,14 @@
{$NEWS[news].content nofilter} {$NEWS[news].content nofilter}
</div> </div>
<div class="panel-footer"> <div class="panel-footer">
<div style="text-align:right"> <div style="text-align:right">
<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; <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;
<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> <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>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div>
{/section} {/section}
{/nocache} {/nocache}
</div>