mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
merge from dev
This commit is contained in:
parent
d96250df7f
commit
bcfee41a57
318 changed files with 54424 additions and 6419 deletions
28
dashboard-ui/bower_components/jquery/test/data/support/bodyBackground.html
vendored
Normal file
28
dashboard-ui/bower_components/jquery/test/data/support/bodyBackground.html
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr" id="html">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<style>
|
||||
body {
|
||||
background: #000000;
|
||||
}
|
||||
|
||||
div {
|
||||
padding: 15px;
|
||||
border: 1px solid #999;
|
||||
display: inline;
|
||||
margin:8px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<script src="../../jquery.js"></script>
|
||||
<script src="getComputedSupport.js"></script>
|
||||
</div>
|
||||
<script>
|
||||
window.parent.iframeCallback( jQuery( "body" ).css( "backgroundColor" ),
|
||||
getComputedSupport( jQuery.support ) );
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
3
dashboard-ui/bower_components/jquery/test/data/support/csp-clean.php
vendored
Normal file
3
dashboard-ui/bower_components/jquery/test/data/support/csp-clean.php
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?php
|
||||
file_put_contents("csp.log", "", LOCK_EX);
|
||||
?>
|
3
dashboard-ui/bower_components/jquery/test/data/support/csp-log.php
vendored
Normal file
3
dashboard-ui/bower_components/jquery/test/data/support/csp-log.php
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?php
|
||||
file_put_contents("csp.log", "error", LOCK_EX);
|
||||
?>
|
3
dashboard-ui/bower_components/jquery/test/data/support/csp.js
vendored
Normal file
3
dashboard-ui/bower_components/jquery/test/data/support/csp.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
jQuery( function() {
|
||||
parent.iframeCallback( getComputedSupport( jQuery.support ) );
|
||||
} );
|
18
dashboard-ui/bower_components/jquery/test/data/support/csp.php
vendored
Normal file
18
dashboard-ui/bower_components/jquery/test/data/support/csp.php
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
# This test page checks CSP only for browsers with "Content-Security-Policy" header support
|
||||
# i.e. no old WebKit or old Firefox
|
||||
header("Content-Security-Policy: default-src 'self'; report-uri csp-log.php");
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>CSP Test Page</title>
|
||||
<script src="../../jquery.js"></script>
|
||||
<script src="csp.js"></script>
|
||||
<script src="getComputedSupport.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<p>CSP Test Page</p>
|
||||
</body>
|
||||
</html>
|
14
dashboard-ui/bower_components/jquery/test/data/support/getComputedSupport.js
vendored
Normal file
14
dashboard-ui/bower_components/jquery/test/data/support/getComputedSupport.js
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
function getComputedSupport( support ) {
|
||||
var prop,
|
||||
result = {};
|
||||
|
||||
for ( prop in support ) {
|
||||
if ( typeof support[ prop ] === "function" ) {
|
||||
result[ prop ] = support[ prop ]();
|
||||
} else {
|
||||
result[ prop ] = support[ prop ];
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue