Skip to content

Commit

Permalink
Merge pull request #72 from arlen/feature-co2931-removeNotyJs
Browse files Browse the repository at this point in the history
Remove Noty.js (CO-2931)
  • Loading branch information
satkinson authored Feb 5, 2026
2 parents 1816679 + 8cea6cc commit ba72a01
Show file tree
Hide file tree
Showing 23 changed files with 0 additions and 3,301 deletions.
4 changes: 0 additions & 4 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,5 @@ files and utilities for further information:
Open Sans (app/webroot/css/fonts/opensans)
Apache 2.0
https://fonts.google.com/specimen/Open+Sans

noty (app/webroot/js/jquery/noty)
MIT License
http://ned.im/noty

---------------------------------------------------------------------------
3 changes: 0 additions & 3 deletions app/templates/layout/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,6 @@
<?= $this->Html->script([
'bootstrap/bootstrap.bundle.min.js',
'js-cookie/js.cookie-2.1.3.min.js',
'jquery/noty/jquery.noty.js',
'jquery/noty/layouts/topCenter.js',
'jquery/noty/themes/comanage.js',
'comanage/match-lib.js',
'comanage/match-onload.js'
]) . "\n" ?>
Expand Down
11 changes: 0 additions & 11 deletions app/webroot/css/co-base.css
Original file line number Diff line number Diff line change
Expand Up @@ -328,17 +328,6 @@ body.logged-in #top-menu {
clear: both;
padding: 1em 0;
}
/* NOTICES */
.noty_text {
letter-spacing: 0.3px;
font-size: 14px;
}
.noty_text .material-icons {
font-size: 20px !important;
padding: 0;
margin: 0 4px 0 -10px;
vertical-align: text-bottom;
}
/* ALERT MESSAGES */
#flash-messages {
margin: 0;
Expand Down
11 changes: 0 additions & 11 deletions app/webroot/js/comanage/match-lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,6 @@
* @license Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
*/

// Generate flash notifications for messages
function generateFlash(text, type) {
var n = noty({
text: text,
type: type,
dismissQueue: true,
layout: 'topCenter',
theme: 'comanage'
});
}

// Generate a loading animation by revealing a persistent hidden div with CSS animation.
// An element's onclick action will trigger this to appear if it has the class "spin" class on an element.
// (See Template/Elements/javascript.ctp)
Expand Down
20 changes: 0 additions & 20 deletions app/webroot/js/jquery/noty/LICENSE.txt

This file was deleted.

Loading

0 comments on commit ba72a01

Please sign in to comment.