From c92d84c7390029068a27cca1f42cb2c0c001c242 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Sat, 16 Dec 2017 13:27:09 -0700 Subject: [PATCH] Fully implement MPL-2.0 license --- action.php | 4 ++++ api.php | 4 ++++ apps/404_error.php | 4 ++++ apps/account_security.php | 4 ++++ apps/change_password.php | 4 ++++ apps/inventory_link.php | 4 ++++ apps/qwikclock_inout.php | 4 ++++ apps/sample_app.php | 4 ++++ apps/setup_2fa.php | 4 ++++ apps/sync_mobile.php | 4 ++++ apps/taskfloor_messages.php | 4 ++++ apps/taskfloor_tasks.php | 4 ++++ home.php | 7 ++++++- index.php | 7 ++++++- lang/en_us.php | 4 ++++ lang/messages.php | 4 ++++ lib/login.php | 4 ++++ lib/worst_passwords.php | 3 +++ mobile/index.php | 4 ++++ pages.php | 4 ++++ required.php | 4 ++++ settings.template.php | 7 ++++++- setup.php | 5 +++++ static/css/app.css | 4 ++++ static/css/app.min.css | 4 +++- static/js/app.js | 3 +++ static/js/app.min.js | 1 - 27 files changed, 108 insertions(+), 5 deletions(-) diff --git a/action.php b/action.php index 406ccc8..2804f07 100644 --- a/action.php +++ b/action.php @@ -1,5 +1,9 @@ [ "manage account security" => "Manage account security", diff --git a/apps/change_password.php b/apps/change_password.php index bd447fb..d57e603 100644 --- a/apps/change_password.php +++ b/apps/change_password.php @@ -1,5 +1,9 @@ [ "inventory" => "Inventory", diff --git a/apps/qwikclock_inout.php b/apps/qwikclock_inout.php index 50ddc7d..789ddbb 100644 --- a/apps/qwikclock_inout.php +++ b/apps/qwikclock_inout.php @@ -1,5 +1,9 @@ [ diff --git a/apps/sample_app.php b/apps/sample_app.php index 1feaff8..386965f 100644 --- a/apps/sample_app.php +++ b/apps/sample_app.php @@ -1,5 +1,9 @@ [ "messages" => "Messages", diff --git a/apps/taskfloor_tasks.php b/apps/taskfloor_tasks.php index 02f16fc..f53a31c 100644 --- a/apps/taskfloor_tasks.php +++ b/apps/taskfloor_tasks.php @@ -1,5 +1,9 @@ [ "tasks" => "Tasks", diff --git a/home.php b/home.php index 16a077a..71d14ef 100644 --- a/home.php +++ b/home.php @@ -1,4 +1,9 @@ diff --git a/index.php b/index.php index cfef2e6..54d7ef9 100644 --- a/index.php +++ b/index.php @@ -1,4 +1,9 @@ diff --git a/lang/en_us.php b/lang/en_us.php index 9000354..b81effd 100644 --- a/lang/en_us.php +++ b/lang/en_us.php @@ -1,5 +1,9 @@ "Sign In", "username" => "Username", diff --git a/lang/messages.php b/lang/messages.php index 7a36a45..5e9715a 100644 --- a/lang/messages.php +++ b/lang/messages.php @@ -1,5 +1,9 @@ [ "string" => "current password incorrect", diff --git a/lib/login.php b/lib/login.php index e17d67f..00b8975 100644 --- a/lib/login.php +++ b/lib/login.php @@ -1,5 +1,9 @@ [ diff --git a/required.php b/required.php index 362442e..790d725 100644 --- a/required.php +++ b/required.php @@ -1,5 +1,9 @@ li>a{color:white}.navbar-inverse .navbar-link{color:white}.apppanel{min-height:250px}.app-dock-container{display:flex}.app-dock{margin:0 auto 10px auto;display:flex;justify-content:space-around;flex-wrap:wrap}.app-icon{border:1px solid grey;border-radius:20%}.app-dock-item{padding:0 5px 2px 5px;min-width:100px}.app-dock-item p{margin-bottom:0}.app-dock-item p a{font-size:95%;color:#555}.app-dock-item p a:hover{text-decoration:none}.app-dock-item p a img{width:50px;display:block;margin:0 auto}.app-dock-item p a span{display:block;text-align:center}@media only screen and (min-width:768px) and (max-width:991px){.row.widget-box>.col-sm-6:nth-child(2n+3){clear:both}}@media only screen and (min-width:992px){.row.widget-box>.col-md-4:nth-child(3n+4){clear:both}} \ No newline at end of file diff --git a/static/js/app.js b/static/js/app.js index 6f16ebe..9dcc8a6 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -1,3 +1,6 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ $(document).ready(function () { /* Fade out alerts */ diff --git a/static/js/app.min.js b/static/js/app.min.js index e1a8f5f..b112831 100644 --- a/static/js/app.min.js +++ b/static/js/app.min.js @@ -1,2 +1 @@ - $(document).ready(function(){$(".alert .close").click(function(a){$(this).parent().fadeOut("slow")})}); \ No newline at end of file