redesign url and add settings storage
This commit is contained in:
21
SuperScriptViewer/templates/about.html
Normal file
21
SuperScriptViewer/templates/about.html
Normal file
@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>About Super Script Materializer</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Super Script Materializer</h1>
|
||||
<p>There are no secret script behind Virtools. Super Script Materializer will destroy all locks and show you the real code.<br />
|
||||
But Super Script Materializer only show you code. It couldn't analyse the result and touch author's heart and intention. This is your work.<br />
|
||||
This also is the meaning of this app's icon.</p>
|
||||
<br />
|
||||
<p><a href="https://github.com/yyc12345/SuperScriptMaterializer">SuperScriptMaterializer</a>. All codes are under GPLv3.<br />
|
||||
Web interface is powered by <a href="https://github.com/pallets/flask">Flask</a>.<br />
|
||||
Ancestor projects: <a href="https://github.com/BearKidsTeam/VirtoolsScriptDeobfuscation">BearKidsTeam/VirtoolsScriptDeobfuscation</a> and <a href="https://github.com/BearKidsTeam/Script-Materializer">BearKidsTeam/Script-Materializer</a>.<br />
|
||||
Thank <a href="https://github.com/chirs241097">chirs241097</a> and <a href="https://github.com/instr3">2jjy</a>.</p>
|
||||
</body>
|
||||
|
||||
</html>
|
@ -15,16 +15,18 @@
|
||||
<h2>{{ key|e }}</h2>
|
||||
<ol>
|
||||
{% for i in value %}
|
||||
<li><a href="{{ "./%s"|format(i.id) }}">{{ i.name }}</a></li>
|
||||
<li><a href="{{ "/viewer/%s"|format(i.id) }}">{{ i.name }}</a></li>
|
||||
{% endfor %}
|
||||
</ol>
|
||||
{% endfor %}
|
||||
<br />
|
||||
<br />
|
||||
<p>Generated by <a href="https://github.com/yyc12345/SuperScriptMaterializer">SuperScriptMaterializer</a>. All codes are under GPLv3.<br />
|
||||
Powered by <a href="https://github.com/pallets/flask">Flask</a>.<br />
|
||||
Ancestor projects: <a href="https://github.com/BearKidsTeam/VirtoolsScriptDeobfuscation">BearKidsTeam/VirtoolsScriptDeobfuscation</a> and <a href="https://github.com/BearKidsTeam/Script-Materializer">BearKidsTeam/Script-Materializer</a>.<br />
|
||||
Thank <a href="https://github.com/chirs241097">chirs241097</a> and <a href="https://github.com/instr3">2jjy</a>.</p>
|
||||
<p>Generated by SuperScriptMaterializer</p>
|
||||
<div style="display: flex; flex-flow: row; height: 50px;">
|
||||
<p style="margin: 5px;"><a href="/help">Help</a></p>
|
||||
<p style="margin: 5px;">|</p>
|
||||
<p style="margin: 5px;"><a href="/about">About</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
@ -13,11 +13,11 @@
|
||||
<div style="display: flex; flex-flow: column; height: 100%; width: 80%; margin: 0; padding: 0;">
|
||||
<div style="display: flex; background: #cfcfcf; flex-flow: row; width: 100%; height: 50px; overflow: scroll;">
|
||||
|
||||
<p class="hamburger"><a href="/"><b>Script Hierarchy</b></a></p>
|
||||
<p class="hamburger"><a href="/index"><b>Script Hierarchy</b></a></p>
|
||||
|
||||
{% for i in hamburgerHistory %}
|
||||
<p class="hamburger">>></p>
|
||||
<p class="hamburger"><a href="{{ i.path }}">{{ i.name|e }}</a></p>
|
||||
<p class="hamburger"><a href="{{ "/viewer%s"|format(i.path) }}">{{ i.name|e }}</a></p>
|
||||
{% endfor %}
|
||||
|
||||
<p class="hamburger">>></p>
|
||||
@ -47,7 +47,7 @@
|
||||
{% endfor %}
|
||||
|
||||
{% if i[13] != -1 %}
|
||||
<p class="block-expandable-text" style="top: 10px; left: 20px;"><a href="{{ "/%s/%s"|format(currentPath, i[13]) }}">{{ i[2]|e }}</a></p>
|
||||
<p class="block-expandable-text" style="top: 10px; left: 20px;"><a href="{{ "/viewer/%s/%s"|format(currentPath, i[13]) }}">{{ i[2]|e }}</a></p>
|
||||
{% else %}
|
||||
<p class="block-text" style="top: 10px; left: 20px;">{{ i[2]|e }}</p>
|
||||
{% endif %}
|
||||
@ -94,12 +94,13 @@
|
||||
|
||||
<div id="sidepanel-display" style="width: 100%; height: 100%; display: flex; flex-flow: column; overflow: scroll; display: none;">
|
||||
<p style="margin: 5px;">Render:<br />
|
||||
<input type="checkbox" id="sidepanel-display-plink" value="1">Show pLink and eLink</input>
|
||||
<input type="checkbox" id="sidepanel-display-plink" value="1" onclick="settingChange("plink");">Show pLink and eLink</input>
|
||||
</p>
|
||||
<p style="margin: 5px;">Action:<br />
|
||||
<input type="checkbox" id="sidepanel-display-property" value="1">Interactive property inspector</input><br />
|
||||
<input type="checkbox" id="sidepanel-display-highlight" value="1">Highlight focused object</input><br />
|
||||
<input type="checkbox" id="sidepanel-display-move" value="1">Move objects</input>
|
||||
<input type="checkbox" id="sidepanel-display-properties" value="1" onclick="settingChange("properties");">Interactive property inspector</input><br />
|
||||
<input type="checkbox" id="sidepanel-display-highlight" value="1" onclick="settingChange("highlight");">Highlight focused object</input><br />
|
||||
<input type="checkbox" id="sidepanel-display-keyboard" value="1" onclick="settingChange("keyboard");">Use keyboard to move viewer</input><br />
|
||||
<input type="checkbox" id="sidepanel-display-move" value="1" onclick="settingChange("move");">Move objects</input>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@ -109,8 +110,8 @@
|
||||
<button style="height: 30px; margin: 10px 0 10px 0;">Find</button>
|
||||
</p>
|
||||
<p style="margin: 5px;">Misc:<br />
|
||||
<button style="height: 30px; margin: 10px 0 10px 0;">Help</button><br />
|
||||
<button style="height: 30px; margin: 10px 0 10px 0;">About</button>
|
||||
<button style="height: 30px; margin: 10px 0 10px 0;" onclick="window.open("/help");">Help</button><br />
|
||||
<button style="height: 30px; margin: 10px 0 10px 0;" onclick="window.open("/about");">About</button>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user