forked from git-workflow/autogits
Compare commits
1 Commits
main
...
dynamic-sv
| Author | SHA256 | Date | |
|---|---|---|---|
| 09a68afa21 |
@@ -1,3 +1,5 @@
|
||||

|
||||
|
||||
OBS Status Service
|
||||
==================
|
||||
|
||||
|
||||
18
obs-status-service/test-ajax/index.html
Normal file
18
obs-status-service/test-ajax/index.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Test svg with ajax</title>
|
||||
</head>
|
||||
<body>
|
||||
<svg version="2.0" width="8em" height="1.5em" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="100%" height="100%" fill="#080"/>
|
||||
<text x="4em" y="1.1em" text-anchor="middle" fill="#fff">succeeded</text>
|
||||
<script type="text/javascript">
|
||||
<![CDATA[
|
||||
window.addEventListener('load',function(){
|
||||
alert('Hi')
|
||||
})
|
||||
]]>
|
||||
</script>
|
||||
</svg>
|
||||
</body>
|
||||
</html>
|
||||
9
obs-status-service/test-ajax/teststatus.svg
Executable file
9
obs-status-service/test-ajax/teststatus.svg
Executable file
@@ -0,0 +1,9 @@
|
||||
<svg version="2.0" width="8em" height="1.5em" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="100%" height="100%" fill="#080"/>
|
||||
<text x="4em" y="1.1em" text-anchor="middle" fill="#fff">succeeded</text>
|
||||
<script type="text/javascript">
|
||||
<![CDATA[
|
||||
console.log("js works");
|
||||
]]>
|
||||
</script>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 323 B |
Reference in New Issue
Block a user