From e576cdefe1f988a07cc292e55bd6e0eb795cfa66 Mon Sep 17 00:00:00 2001 From: koogua Date: Fri, 26 Feb 2021 10:35:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E5=8F=B0=E9=A6=96=E9=A1=B5=E9=83=A8?= =?UTF-8?q?=E4=BB=B6=E6=98=BE=E7=A4=BA=E5=A2=9E=E5=8A=A0=E9=9D=9E=E7=A9=BA?= =?UTF-8?q?=E5=88=A4=E6=96=AD=EF=BC=8C=E5=90=8E=E5=8F=B0=E8=A7=92=E8=89=B2?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E8=A6=81=E4=B8=8D=E5=8F=AF=E7=BC=96=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Admin/Views/role/list.volt | 19 +++++-- app/Http/Home/Views/index/full.volt | 72 +++++++++++++++------------ app/Http/Home/Views/index/simple.volt | 72 +++++++++++++++------------ 3 files changed, 96 insertions(+), 67 deletions(-) diff --git a/app/Http/Admin/Views/role/list.volt b/app/Http/Admin/Views/role/list.volt index f4aea8e1..61a32597 100644 --- a/app/Http/Admin/Views/role/list.volt +++ b/app/Http/Admin/Views/role/list.volt @@ -50,7 +50,11 @@ {% set restore_url = url({'for':'admin.role.restore','id':item.id}) %} {{ item.id }} - {{ item.name }} + {% if item.id == 1 %} + {{ item.name }} + {% else %} + {{ item.name }} + {% endif %} {{ type_info(item.type) }} @@ -61,11 +65,16 @@
diff --git a/app/Http/Home/Views/index/full.volt b/app/Http/Home/Views/index/full.volt index 00786429..2879f5fd 100644 --- a/app/Http/Home/Views/index/full.volt +++ b/app/Http/Home/Views/index/full.volt @@ -31,47 +31,57 @@ {%- endmacro %} -