From efad43d209b534caa5d8a1943b16d25f90ec9f3c Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Sat, 3 Feb 2018 20:55:45 -0700 Subject: [PATCH] Upgrade to Bootstrap 4.0, FontAwesome 5, jQuery 3.3.7 --- app.php | 246 +- index.php | 139 +- lib/getmsgs.php | 44 +- lib/gettaskman.php | 100 +- lib/gettasks.php | 279 +- pages.php | 18 +- pages/404.php | 4 +- pages/edittask.php | 46 +- pages/home.php | 29 +- pages/messages.php | 21 +- pages/mytasks.php | 33 +- pages/taskman.php | 13 +- required.php | 20 +- static/css/app.css | 162 +- static/css/bootstrap-datetimepicker.min.css | 5 - static/css/bootstrap.min.css | 16 +- static/css/fa-svg-with-js.css | 343 + static/css/font-awesome.min.css | 4 - static/{fonts => css/font}/summernote.eot | Bin 13654 -> 16570 bytes static/{fonts => css/font}/summernote.ttf | Bin 13468 -> 16384 bytes static/css/font/summernote.woff | Bin 0 -> 10184 bytes static/css/index.css | 11 + static/css/material-color | 2 +- static/css/summernote-bs4.css | 1 + static/css/summernote-lite.css | 1 + static/css/summernote.css | 1 - static/css/tempusdominus-bootstrap-4.min.css | 204 + static/fonts/FontAwesome.otf | Bin 134808 -> 0 bytes static/fonts/fontawesome-webfont.eot | Bin 165742 -> 0 bytes static/fonts/fontawesome-webfont.svg | 2671 ------ static/fonts/fontawesome-webfont.ttf | Bin 165548 -> 0 bytes static/fonts/fontawesome-webfont.woff | Bin 98024 -> 0 bytes static/fonts/fontawesome-webfont.woff2 | Bin 77160 -> 0 bytes static/fonts/glyphicons-halflings-regular.eot | Bin 20127 -> 0 bytes static/fonts/glyphicons-halflings-regular.svg | 288 - static/fonts/glyphicons-halflings-regular.ttf | Bin 45404 -> 0 bytes .../fonts/glyphicons-halflings-regular.woff | Bin 23424 -> 0 bytes .../fonts/glyphicons-halflings-regular.woff2 | Bin 18028 -> 0 bytes static/fonts/summernote.woff | Bin 8652 -> 0 bytes static/js/bootstrap.min.js | 12 +- static/js/edittask.js | 20 +- static/js/fontawesome-all.min.js | 5 + static/js/jquery-3.2.1.min.js | 4 - static/js/jquery-3.3.1.min.js | 2 + static/js/lang/summernote-ar-AR.js | 59 +- static/js/lang/summernote-bg-BG.js | 64 +- static/js/lang/summernote-ca-ES.js | 16 +- static/js/lang/summernote-cs-CZ.js | 54 +- static/js/lang/summernote-da-DK.js | 51 +- static/js/lang/summernote-de-DE.js | 54 +- static/js/lang/summernote-el-GR.js | 14 +- static/js/lang/summernote-es-ES.js | 16 +- static/js/lang/summernote-es-EU.js | 59 +- static/js/lang/summernote-fa-IR.js | 60 +- static/js/lang/summernote-fi-FI.js | 55 +- static/js/lang/summernote-fr-FR.js | 26 +- static/js/lang/summernote-gl-ES.js | 16 +- static/js/lang/summernote-he-IL.js | 54 +- static/js/lang/summernote-hr-HR.js | 57 +- static/js/lang/summernote-hu-HU.js | 30 +- static/js/lang/summernote-id-ID.js | 60 +- static/js/lang/summernote-it-IT.js | 59 +- static/js/lang/summernote-ja-JP.js | 42 +- static/js/lang/summernote-ko-KR.js | 48 +- static/js/lang/summernote-lt-LT.js | 56 +- static/js/lang/summernote-lt-LV.js | 34 +- static/js/lang/summernote-mn-MN.js | 47 +- static/js/lang/summernote-nb-NO.js | 56 +- static/js/lang/summernote-nl-NL.js | 59 +- static/js/lang/summernote-pl-PL.js | 49 +- static/js/lang/summernote-pt-BR.js | 39 +- static/js/lang/summernote-pt-PT.js | 57 +- static/js/lang/summernote-ro-RO.js | 67 +- static/js/lang/summernote-ru-RU.js | 49 +- static/js/lang/summernote-sk-SK.js | 57 +- static/js/lang/summernote-sl-SI.js | 57 +- static/js/lang/summernote-sr-RS-Latin.js | 57 +- static/js/lang/summernote-sr-RS.js | 57 +- static/js/lang/summernote-sv-SE.js | 59 +- static/js/lang/summernote-ta-IN.js | 50 +- static/js/lang/summernote-th-TH.js | 259 +- static/js/lang/summernote-tr-TR.js | 14 +- static/js/lang/summernote-uk-UA.js | 52 +- static/js/lang/summernote-vi-VN.js | 59 +- static/js/lang/summernote-zh-CN.js | 29 +- static/js/lang/summernote-zh-TW.js | 48 +- .../databasic/summernote-ext-databasic.js | 135 +- .../js/plugin/hello/summernote-ext-hello.js | 19 +- .../summernote-ext-specialchars.js | 47 +- static/js/summernote-bs4.min.js | 3 + static/js/summernote-lite.js | 7798 +++++++++++++++++ static/js/summernote.min.js | 5 - static/js/tempusdominus-bootstrap-4.min.js | 7 + 93 files changed, 10986 insertions(+), 3977 deletions(-) delete mode 100644 static/css/bootstrap-datetimepicker.min.css create mode 100644 static/css/fa-svg-with-js.css delete mode 100644 static/css/font-awesome.min.css rename static/{fonts => css/font}/summernote.eot (51%) rename static/{fonts => css/font}/summernote.ttf (51%) create mode 100644 static/css/font/summernote.woff create mode 100644 static/css/index.css create mode 100644 static/css/summernote-bs4.css create mode 100644 static/css/summernote-lite.css delete mode 100644 static/css/summernote.css create mode 100644 static/css/tempusdominus-bootstrap-4.min.css delete mode 100644 static/fonts/FontAwesome.otf delete mode 100644 static/fonts/fontawesome-webfont.eot delete mode 100644 static/fonts/fontawesome-webfont.svg delete mode 100644 static/fonts/fontawesome-webfont.ttf delete mode 100644 static/fonts/fontawesome-webfont.woff delete mode 100644 static/fonts/fontawesome-webfont.woff2 delete mode 100644 static/fonts/glyphicons-halflings-regular.eot delete mode 100644 static/fonts/glyphicons-halflings-regular.svg delete mode 100644 static/fonts/glyphicons-halflings-regular.ttf delete mode 100644 static/fonts/glyphicons-halflings-regular.woff delete mode 100644 static/fonts/glyphicons-halflings-regular.woff2 delete mode 100644 static/fonts/summernote.woff create mode 100644 static/js/fontawesome-all.min.js delete mode 100644 static/js/jquery-3.2.1.min.js create mode 100644 static/js/jquery-3.3.1.min.js create mode 100644 static/js/summernote-bs4.min.js create mode 100644 static/js/summernote-lite.js delete mode 100644 static/js/summernote.min.js create mode 100644 static/js/tempusdominus-bootstrap-4.min.js diff --git a/app.php b/app.php index 148c1fc..ae34f1d 100644 --- a/app.php +++ b/app.php @@ -1,8 +1,4 @@ - + + + -
-
-
- - - -
-
- - -
- strip_tags($_GET['arg'])], false); } - ?> - strip_tags($_GET['arg'])], false); - } - $alerttype = MESSAGES[$_GET['msg']]['type']; - $alerticon = "square-o"; - switch (MESSAGES[$_GET['msg']]['type']) { - case "danger": - $alerticon = "times"; - break; - case "warning": - $alerticon = "exclamation-triangle"; - break; - case "info": - $alerticon = "info-circle"; - break; - case "success": - $alerticon = "check"; - break; - } - echo << -
+ $alerttype = MESSAGES[$_GET['msg']]['type']; + $alerticon = "square-o"; + switch (MESSAGES[$_GET['msg']]['type']) { + case "danger": + $alerticon = "times"; + break; + case "warning": + $alerticon = "exclamation-triangle"; + break; + case "info": + $alerticon = "info-circle"; + break; + case "success": + $alerticon = "check"; + break; + } + echo << +
- $alertmsg + $alertmsg
END; - } - ?> + } + ?> + + var navbar_breakpoint = \"$navbar_breakpoint\";" + ?> + + +
- + \n"; diff --git a/index.php b/index.php index f2892a3..0072492 100644 --- a/index.php +++ b/index.php @@ -1,15 +1,10 @@ - - + -
-
-
-
- - - -
-
-
-

-
-
-
- -
- -
- - " required="required" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" autofocus />
- " required="required" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" />
- -
-
- - - -
- -
- " required="required" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" autofocus />
- - - - -
-
-
-
-
- + + + \ No newline at end of file diff --git a/lib/getmsgs.php b/lib/getmsgs.php index 40a273c..1d19985 100644 --- a/lib/getmsgs.php +++ b/lib/getmsgs.php @@ -1,5 +1,4 @@ 0) { $to = $usercache[$msg['to']]; } ?> -
-
- -
-