blessing-skin-server/resources/views/common/manage-panel.tpl
Pig Fang 09ccae26c4 Use event listener instead of inline href
Using inline `href` to execute JavaScript in Firefox doesn't work.
2017-11-24 22:27:33 +08:00

19 lines
821 B
PHP

<div class="box box-danger">
{{-- Texture Manage Panel --}}
<div class="box-header with-border">
<h3 class="box-title">{{ $title }}</h3>
</div><!-- /.box-header -->
<div class="box-body">
<p>{{ $message }}</p>
</div><!-- /.box-body -->
<div class="box-footer">
@if ($texture->public == "1")
<a onclick="changePrivacy({{ $texture->tid }});" class="btn btn-warning">{{ trans('skinlib.privacy.set-as-private') }}</a>
@else
<a onclick="changePrivacy({{ $texture->tid }});" class="btn btn-warning">{{ trans('skinlib.privacy.set-as-public') }}</a>
@endif
<a onclick="deleteTexture({{ $texture->tid }});" class="btn btn-danger pull-right">{{ trans('skinlib.show.delete-texture') }}</a>
</div><!-- /.box-footer -->
</div><!-- /.box -->