From 300d5c4b6ffe8138ea88cd8a04a7689ad9014371 Mon Sep 17 00:00:00 2001 From: printempw Date: Sat, 10 Sep 2016 17:02:47 +0800 Subject: [PATCH] working on support for sub directory --- resources/views/admin/customize.tpl | 6 +++--- resources/views/admin/index.tpl | 4 ++-- resources/views/admin/master.tpl | 13 ++++++------ resources/views/admin/options.tpl | 6 +++--- resources/views/admin/players.tpl | 32 +++++++---------------------- resources/views/admin/score.tpl | 4 ++-- resources/views/admin/update.tpl | 2 +- resources/views/admin/users.tpl | 2 +- resources/views/auth/bind.tpl | 2 +- resources/views/auth/forgot.tpl | 6 +++--- resources/views/auth/login.tpl | 10 ++++----- resources/views/auth/register.tpl | 6 +++--- resources/views/auth/reset.tpl | 2 +- resources/views/index.tpl | 19 ++++++++--------- resources/views/skinlib/master.tpl | 10 ++++----- resources/views/skinlib/search.tpl | 2 +- resources/views/skinlib/show.tpl | 12 +++++------ resources/views/skinlib/upload.tpl | 4 ++-- resources/views/user/closet.tpl | 14 ++++++------- resources/views/user/config.tpl | 4 ++-- resources/views/user/master.tpl | 8 ++++---- resources/views/user/player.tpl | 4 ++-- setup/index.php | 2 +- 23 files changed, 78 insertions(+), 96 deletions(-) diff --git a/resources/views/admin/customize.tpl b/resources/views/admin/customize.tpl index d086f214..e29bb65a 100644 --- a/resources/views/admin/customize.tpl +++ b/resources/views/admin/customize.tpl @@ -3,7 +3,7 @@ @section('title', '个性化') @section('style') - + @endsection @section('content') @@ -94,7 +94,7 @@

首页配置

-
+
- +
- +
注册用户 @@ -34,7 +34,7 @@
- +
角色总数 {{ App\Models\PlayerModel::all()->count() }} diff --git a/resources/views/admin/master.tpl b/resources/views/admin/master.tpl index 8ff74d2a..b27af1cc 100644 --- a/resources/views/admin/master.tpl +++ b/resources/views/admin/master.tpl @@ -61,7 +61,7 @@
  • - {{ $value['title'] }} + {{ $value['title'] }}
  • @endforeach @if ($user->is_admin)
  • 返回
  • -
  • 用户中心
  • +
  • 用户中心
  • @endif @@ -134,10 +134,11 @@ @if (Option::get('check_update') == '1') @endif diff --git a/resources/views/admin/options.tpl b/resources/views/admin/options.tpl index 5d4efe9a..2f6f0160 100644 --- a/resources/views/admin/options.tpl +++ b/resources/views/admin/options.tpl @@ -30,7 +30,7 @@

    常规选项

    - +

    站点公告

    - +

    数据对接配置

    - +

    当前版本数据对接不可用。

    diff --git a/resources/views/admin/players.tpl b/resources/views/admin/players.tpl index ca8c8bef..f45109e3 100644 --- a/resources/views/admin/players.tpl +++ b/resources/views/admin/players.tpl @@ -15,6 +15,7 @@ 角色管理 @endif Player Management + - @@ -59,24 +59,24 @@ @if ($player->tid_steve == '0') @else - - + + @endif @if ($player->tid_alex == '0') @else - - + + @endif @if ($player->tid_cape == '0') @else - - + + @endif @@ -145,24 +145,6 @@
    - - @endsection @section('script') diff --git a/resources/views/admin/score.tpl b/resources/views/admin/score.tpl index c9a30a0a..eb8b939b 100644 --- a/resources/views/admin/score.tpl +++ b/resources/views/admin/score.tpl @@ -22,7 +22,7 @@

    积分换算

    -
    +

    签到配置

    - +

    更新选项

    - +
    修改昵称
  • 更改密码
  • -
  • 查看该用户拥有的角色
  • +
  • 查看该用户拥有的角色
  • {{-- If current user is super admin --}} diff --git a/resources/views/auth/bind.tpl b/resources/views/auth/bind.tpl index 65831c12..b3001e72 100644 --- a/resources/views/auth/bind.tpl +++ b/resources/views/auth/bind.tpl @@ -6,7 +6,7 @@