blessing-skin-server/resources/views/common/texture-preview.blade.php

23 lines
1.3 KiB
PHP
Raw Normal View History

2016-09-30 20:46:15 +08:00
<div class="box-header with-border">
2018-09-06 16:26:03 +08:00
<h3 class="box-title" style="width: 100%;">{!! $title ?? trans('general.texture-preview') !!}
<span id="textures-indicator" data-toggle="tooltip" title="" class="badge bg-light-blue"></span>
2016-09-30 20:46:15 +08:00
<div class="operations">
2018-07-17 11:06:55 +08:00
<i data-toggle="tooltip" data-placement="bottom" title="@lang('general.walk').' / '.trans('general.run')" class="fa fa-forward"></i>
<i data-toggle="tooltip" data-placement="bottom" title="@lang('general.rotation')" class="fa fa-repeat"></i>
<i data-toggle="tooltip" data-placement="bottom" title="@lang('general.pause')" class="fa fa-pause"></i>
<i data-toggle="tooltip" data-placement="bottom" title="@lang('general.reset')" class="fa fa-stop"></i>
2016-09-30 20:46:15 +08:00
</div>
</h3>
</div><!-- /.box-header -->
<div class="box-body">
2018-02-23 21:56:03 +08:00
<div id="preview-3d-container">
2016-09-30 20:46:15 +08:00
<!-- Container for 3D Preview -->
</div>
</div><!-- /.box-body -->
2018-02-23 16:22:01 +08:00
<script type="text/javascript" src="{{ assets('js/skinview3d.js') }}"></script>
<script type="text/javascript">
2018-02-23 23:17:29 +08:00
var defaultAlexSkin = "data:image/png;base64,{{ App\Http\Controllers\TextureController::getDefaultAlexSkin() }}";
var defaultSteveSkin = "data:image/png;base64,{{ App\Http\Controllers\TextureController::getDefaultSteveSkin() }}";
2016-09-30 20:46:15 +08:00
</script>