This repository has been archived by the owner on Jul 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathshell.php
executable file
·57 lines (46 loc) · 1.8 KB
/
shell.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php include('header.php'); ?>
<div id="shell">
<h2>Turbine sandbox</h2>
<?php
include('turbine/lib/browser/browser.php');
include('turbine/lib/base.php');
$browser = new Browser();
$browser->parse();
?>
<div class="shellcell1">
<h3>Paste Turbine code here</h3>
<textarea id="cssp">#foo
color:red</textarea>
</div>
<div class="shellcell2">
<h3>Paste HTML code here</h3>
<textarea id="html"><p id="foo">
Lorem Ipsum
</p></textarea>
</div>
<div class="shellcell1">
<h3>Resulting CSS</h3>
<textarea id="css"></textarea>
</div>
<div class="shellcell2">
<h3>Resulting CSS + HTML</h3>
<iframe id="result" src="lib/shell/display.html"></iframe>
</div>
<h3>Choose your browser</h3>
<p id="browservars">
<label>Browser: <input value="<?php echo $browser->browser ?>" id="browser" name="browser" type="text"></label>
<label>Version: <input value="<?php echo $browser->browser_version ?>" id="browser_version" name="browser_version" class="version" type="text"></label>
<br><br>
<label>Engine: <input value="<?php echo $browser->engine ?>" id="engine" name="engine" type="text"></label>
<label>Version: <input value="<?php echo $browser->engine_version ?>" id="engine_version" name="engine_version" class="version" type="text"></label>
<br><br>
<label>Platform: <input value="<?php echo $browser->platform ?>" id="platform" name="platform" type="text"></label>
<label>Version: <input value="<?php echo $browser->platform_version ?>" id="platform_version" name="platform_version" class="version" type="text"></label>
<label>Type: <input value="<?php echo $browser->platform_type ?>" id="platform_type" name="platform_type" class="type" type="text"></label>
</p>
<p>
<label><input type="checkbox" id="interactive">Interactive mode</label>
<button id="go">Go!</button>
</p>
</div>
<?php include('footer.php'); ?>