jqh 5 年之前
父節點
當前提交
4c646ab272
共有 4 個文件被更改,包括 3 次插入5 次删除
  1. 1 1
      resources/views/form.blade.php
  2. 1 1
      resources/views/show/panel.blade.php
  3. 1 1
      src/Admin.php
  4. 0 2
      src/Form/Builder.php

+ 1 - 1
resources/views/form.blade.php

@@ -1,6 +1,6 @@
 @if($showHeader)
 <div class="box-header with-border">
-    <h3 class="box-title text-80 bold" style="line-height:30px">{!! $form->title() !!}</h3>
+    <h3 class="box-title" style="line-height:30px">{!! $form->title() !!}</h3>
     <div class="pull-right">{!! $form->renderTools() !!}</div>
 </div>
 @endif

+ 1 - 1
resources/views/show/panel.blade.php

@@ -1,6 +1,6 @@
 @if($title || $tools)
 <div class="box-header with-border">
-    <h3 class="box-title text-80 bold" style="line-height:30px;">{!! $title !!}</h3>
+    <h3 class="box-title" style="line-height:30px;">{!! $title !!}</h3>
     <div class="pull-right">{!! $tools !!}</div>
 </div>
 @endif

+ 1 - 1
src/Admin.php

@@ -108,7 +108,7 @@ class Admin
      *
      * @return string|void
      */
-    public function favicon($favicon = null)
+    public static function favicon($favicon = null)
     {
         if (is_null($favicon)) {
             return static::$favicon;

+ 0 - 2
src/Form/Builder.php

@@ -765,8 +765,6 @@ EOF;
             return $wrapper($view);
         }
 
-        $style = $this->isCreating() ? 'success' : 'default';
-
         return "<div class='card material'>{$view->render()}</div>";
     }