Multi strategy HTML page

Posted By: Veratyr

Multi strategy HTML page - 01/16/16 23:18

I wrote up a very basic bit of HTML that shows multiple Z strategy logs on the same page:

Code:
<html>
<head>
<title>Zorro Panel</title>
<style type="text/css">
    iframe {
        width: 33%;
        height: 100%;
    }
</style>
</head>
<body>
    <iframe src="Z12.htm"></iframe>
    <iframe src="Z3.htm"></iframe>
    <iframe src="Z7.htm"></iframe>
</body>
</html>



If you're running multiple Z strategies on a VPS or something, using IIS to serve the log folder, you can put this in a .htm beside the Z1/2/3/7/12.htm files and open it instead.

Pretty basic and probably something only a few people will care about but thought I'd share it nonetheless.
Posted By: jcl

Re: Multi strategy HTML page - 01/18/16 10:38

Thanks! Very useful when you don't want to have your status on different pages.
Posted By: nanotir

Re: Multi strategy HTML page - 01/18/16 22:07

Really useful nice one!
What about doing that each Z is bellow the other ones in the htm? No idea how to code that.
Posted By: Veratyr

Re: Multi strategy HTML page - 01/19/16 19:33

If you set width to 100% as well you'll get them stacked one above the other but you'll have to scroll:

Code:
<html>
<head>
<title>Zorro Panel</title>
<style type="text/css">
    iframe {
        width: 100%;
        height: 100%;
    }
</style>
</head>
<body>
    <iframe src="Z12.htm"></iframe>
    <iframe src="Z3.htm"></iframe>
    <iframe src="Z7.htm"></iframe>
</body>
</html>



If you want them all visible but half height, you can set width to 100% and height to 33%:

Code:
<html>
<head>
<title>Zorro Panel</title>
<style type="text/css">
    iframe {
        width: 100%;
        height: 33%;
    }
</style>
</head>
<body>
    <iframe src="Z12.htm"></iframe>
    <iframe src="Z3.htm"></iframe>
    <iframe src="Z7.htm"></iframe>
</body>
</html>

Posted By: nanotir

Re: Multi strategy HTML page - 01/19/16 22:07

Thanks laugh
© 2024 lite-C Forums