Merge branch 'bug/JAL-4344_structureimage_cl_arg_only_creating_background_colour_squa...
[jalview.git] / utils / jalviewjs / site-resources / jalview_bin_JalviewJS-corenamespace.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
5 <title>SwingJS test Jalview</title><meta charset="utf-8" />
6 <script src="swingjs/swingjs2.js"></script>
7 <script>
8 if (!self.SwingJS)alert('swingjs2.js was not found. It needs to be in swingjs folder in the same directory as ' + document.location.href)
9 Info = {
10   code: null,
11   main: "jalview.bin.JalviewJS",
12   core: "_jalview",
13   width: 850,
14   height: 550,
15   readyFunction: null,
16   serverURL: 'https://chemapps.stolaf.edu/jmol/jsmol/php/jsmol.php',
17   j2sPath: 'swingjs/j2s',
18   console:'sysoutdiv',
19   allowjavascript: true,
20   // all j2s_... values can be accessed in Jalview.getInstance().getJSInfoValue(key)
21   j2s_namespace: "jv",
22   j2s_overflow: true
23 }
24 </script>
25 <style>
26 @keyframes rotation {
27   from {
28     transform: rotate(0deg);
29   }
30   to {
31     transform: rotate(360deg);
32   }
33 }
34 @keyframes pulse {
35   0% {
36     transform: scale(1);
37   }
38   50% {
39     transform: scale(0.85);
40   }
41   100% {
42     transform: scale(1);
43   }
44 }
45 .jv1_jalviewjsSplashRotate {
46   animation: rotation 3s infinite cubic-bezier(0.4, 0.6, 0.6, 0.4);
47 }
48 .jv1_jalviewjsSplashActive {
49   display: visible;
50   opacity: 100%;
51   z-index: 100;
52 }
53 .jv1_jalviewjsSplashInactive {
54   opacity: 0%;
55   transition: opacity 1s;
56   z-index: 100;
57 }
58 .jv1_jalviewjsSplashFinal {
59   display: none;
60 }
61
62 .jv_jalviewjsSplashRotate {
63   animation: pulse 1s cubic-bezier(0.4, 0.6, 0.6, 0.4);
64   animation-iteration-count: infinite;
65   animation-fill-mode: forwards;
66 }
67 .jv_jalviewjsSplashActive {
68   z-index: 100;
69 }
70 .jv_jalviewjsSplashInactive {
71   animation-iteration-count: 1;
72   animation-fill-mode: forwards;
73   opacity: 30%;
74   transition: all 1s;
75   z-index: 100;
76 }
77 .jv_jalviewjsSplashFinal {
78   z-index: -1;
79   opacity: 30%;
80 }
81
82 </style>
83 </head>
84 <body>
85 <script>
86 SwingJS.getApplet('jalviewjs', Info);
87 getClassList = function(){J2S._saveFile('_j2sclasslist.txt', Clazz.ClassFilesLoaded.sort().join('\n'))};
88 </script>
89 <div style="position:absolute;left:10px;top:10px;width:640px;height:1200px;">
90 <div id="sysoutdiv" contentEditable="true" style="padding: 5px; border: 1px solid green; width: 100%; height: 95%; overflow: auto; font-family: 'Fira Mono', monospace; font-size: 8pt;">
91 <div id="jv:jalviewjsSplash" class="jv_jalviewjsSplashRotate jv_jalviewjsSplashActive" style="position: absolute; right: 1rem; top: 1rem;">
92 <img style="width; 2rem; height: 2rem;" src="images/jalview_logo_small.svg" />
93 </div>
94 </div>
95 This is System.out. <a href="javascript:jalviewjs._clearConsole()">clear it</a>  <a href='javascript:J2S.getProfile()'>start/stop profiling</a><br>see <a href=___j2sflags.htm>___j2sflags.htm</a> for SwingJS URL command-line options<br><a href="javascript:getClassList()">get _j2sClassList.txt</a>
96 </div>
97 </body>
98 </html>