From f91770cf0a30cf47902c40ee7ee85c7ff4baecae Mon Sep 17 00:00:00 2001 From: Argo-MacBookPro Date: Sat, 15 Sep 2018 17:33:56 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=9E=84=E4=BB=A3=E7=A0=81=EF=BC=9A?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0footer=E9=BB=98=E8=AE=A4=E6=A0=B7=E5=BC=8Ffix?= =?UTF-8?q?ed=EF=BC=8C=E7=B2=BE=E7=AE=80task/noti=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.Admin/Views/Admin/Index.cshtml | 2 +- Bootstrap.Admin/Views/Home/Index.cshtml | 13 ++----------- Bootstrap.Admin/Views/Shared/Footer.cshtml | 4 ++-- Bootstrap.Admin/wwwroot/js/noti.js | 2 -- Bootstrap.Admin/wwwroot/js/tasks.js | 4 +--- 5 files changed, 6 insertions(+), 19 deletions(-) diff --git a/Bootstrap.Admin/Views/Admin/Index.cshtml b/Bootstrap.Admin/Views/Admin/Index.cshtml index 7f4b3d91..b6456372 100644 --- a/Bootstrap.Admin/Views/Admin/Index.cshtml +++ b/Bootstrap.Admin/Views/Admin/Index.cshtml @@ -5,7 +5,7 @@ } @section css { -} -
-
-
-
\ No newline at end of file +
+
\ No newline at end of file diff --git a/Bootstrap.Admin/Views/Shared/Footer.cshtml b/Bootstrap.Admin/Views/Shared/Footer.cshtml index 6be71a1a..82c19d88 100644 --- a/Bootstrap.Admin/Views/Shared/Footer.cshtml +++ b/Bootstrap.Admin/Views/Shared/Footer.cshtml @@ -1,7 +1,7 @@ @model ModelBase - \ No newline at end of file diff --git a/Bootstrap.Admin/wwwroot/js/noti.js b/Bootstrap.Admin/wwwroot/js/noti.js index 7b2cea41..461de608 100644 --- a/Bootstrap.Admin/wwwroot/js/noti.js +++ b/Bootstrap.Admin/wwwroot/js/noti.js @@ -1,6 +1,4 @@ $(function () { - $('.site-footer').footer(); - var apiUrl = "api/New"; var $table = $('table').smartTable({ url: apiUrl, diff --git a/Bootstrap.Admin/wwwroot/js/tasks.js b/Bootstrap.Admin/wwwroot/js/tasks.js index 98a1cb19..cf765855 100644 --- a/Bootstrap.Admin/wwwroot/js/tasks.js +++ b/Bootstrap.Admin/wwwroot/js/tasks.js @@ -1,6 +1,4 @@ $(function () { - var $footer = $('.site-footer').footer(); - var htmlTask = '
  • {0}{1}{2}
  • '; $('#refreshTask').on('click', function () { @@ -14,9 +12,9 @@ return $.format(htmlTask, task.TaskName, task.UserName, task.AssignTime, task.Id); }).join(''); $('#list-task').html(content); + $('.site-footer').footer(); } that.toggleClass('fa-spin'); - $footer.footer(); } }); }).trigger('click');