Skip to content

Commit a80ebd9

Browse files
authored
add checksum for downloaded JS files (#442)
1 parent e6ca48a commit a80ebd9

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Admin Features:
2424
- Automatic updating of LDAP to reflect current state of users, groups, organizations, PI groups
2525
- Cluster notices
2626
- Added to front page, mailed, and exposed via REST API
27-
- WYSIWYG HTML editor for webpage contents, cluster notices
27+
- WYSIWYG HTML editor ([ckeditor5](https://github.com/ckeditor/ckeditor5)) for webpage contents, cluster notices
2828
- Branding customization for multiple domains simultaneously
2929
- Custom UIDNumber / GIDNumber mappings for specific users
3030
- Login as another user

resources/templates/header.php

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,18 @@
3636
<html>
3737

3838
<head>
39-
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
40-
<script src="https://cdn.ckeditor.com/ckeditor5/35.1.0/classic/ckeditor.js"></script>
41-
39+
<script
40+
src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"
41+
integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq"
42+
crossorigin="anonymous"
43+
>
44+
</script>
45+
<script
46+
src="https://cdn.ckeditor.com/ckeditor5/35.1.0/classic/ckeditor.js"
47+
integrity="sha384-3j1XQYihAlsFkhoO7ydWkxt9nNxSBnHwJnSG5hx+8fjlz2xfaFHuwOM6T0umxnz6"
48+
crossorigin="anonymous"
49+
>
50+
</script>
4251
<style>
4352
<?php
4453
// set global css variables from branding

0 commit comments

Comments
 (0)