|
@@ -20,7 +20,7 @@
|
|
-->
|
|
-->
|
|
<!-- htmlmin:ignore -->
|
|
<!-- htmlmin:ignore -->
|
|
<!DOCTYPE html>
|
|
<!DOCTYPE html>
|
|
-<html lang="en">
|
|
|
|
|
|
+<html lang="en" class="classic">
|
|
<head>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta charset="UTF-8">
|
|
<title>CyberChef</title>
|
|
<title>CyberChef</title>
|
|
@@ -30,15 +30,25 @@
|
|
<meta name="keywords" content="base64, hex, decode, encode, encrypt, decrypt, compress, decompress, regex, regular expressions, hash, crypt, hexadecimal, user agent, url, certificate, x.509, parser, JSON, gzip, md5, sha1, aes, des, blowfish, xor" />
|
|
<meta name="keywords" content="base64, hex, decode, encode, encrypt, decrypt, compress, decompress, regex, regular expressions, hash, crypt, hexadecimal, user agent, url, certificate, x.509, parser, JSON, gzip, md5, sha1, aes, des, blowfish, xor" />
|
|
|
|
|
|
<link rel="icon" type="image/ico" href="<%- require('../static/images/favicon.ico') %>" />
|
|
<link rel="icon" type="image/ico" href="<%- require('../static/images/favicon.ico') %>" />
|
|
|
|
+
|
|
|
|
+ <script type="application/javascript">
|
|
|
|
+ // Load theme before the preloader is shown
|
|
|
|
+ document.querySelector(":root").className = JSON.parse(localStorage.getItem("options")).theme;
|
|
|
|
+ </script>
|
|
</head>
|
|
</head>
|
|
<body>
|
|
<body>
|
|
|
|
+ <!-- Preloader overlay -->
|
|
|
|
+ <div id="loader-wrapper">
|
|
|
|
+ <div id="preloader"></div>
|
|
|
|
+ </div>
|
|
|
|
+ <!-- End preloader overlay -->
|
|
<span id="edit-favourites" class="btn btn-default btn-sm"><img aria-hidden="true" src="<%- require('../static/images/favourite-16x16.png') %>" alt="Star Icon"/> Edit</span>
|
|
<span id="edit-favourites" class="btn btn-default btn-sm"><img aria-hidden="true" src="<%- require('../static/images/favourite-16x16.png') %>" alt="Star Icon"/> Edit</span>
|
|
<div id="alert" class="alert alert-danger">
|
|
<div id="alert" class="alert alert-danger">
|
|
<button type="button" class="close" id="alert-close">×</button>
|
|
<button type="button" class="close" id="alert-close">×</button>
|
|
<span id="alert-content"></span>
|
|
<span id="alert-content"></span>
|
|
</div>
|
|
</div>
|
|
<div id="content-wrapper">
|
|
<div id="content-wrapper">
|
|
- <div id="banner" class="green">
|
|
|
|
|
|
+ <div id="banner">
|
|
<% if (htmlWebpackPlugin.options.inline) { %>
|
|
<% if (htmlWebpackPlugin.options.inline) { %>
|
|
<span style="float: left; margin-left: 10px;">Compile time: <%= htmlWebpackPlugin.options.compileTime %></span>
|
|
<span style="float: left; margin-left: 10px;">Compile time: <%= htmlWebpackPlugin.options.compileTime %></span>
|
|
<% } else { %>
|
|
<% } else { %>
|
|
@@ -57,17 +67,17 @@
|
|
<a href="#" id="support" class="banner-right" data-toggle="modal" data-target="#support-modal">About / Support<img aria-hidden="true" src="<%- require('../static/images/help-22x22.png') %>" alt="Question Mark Icon"/></a>
|
|
<a href="#" id="support" class="banner-right" data-toggle="modal" data-target="#support-modal">About / Support<img aria-hidden="true" src="<%- require('../static/images/help-22x22.png') %>" alt="Question Mark Icon"/></a>
|
|
<a href="#" id="options" class="banner-right">Options<img aria-hidden="true" src="<%- require('../static/images/settings-22x22.png') %>" alt="Settings Icon"/></a>
|
|
<a href="#" id="options" class="banner-right">Options<img aria-hidden="true" src="<%- require('../static/images/settings-22x22.png') %>" alt="Settings Icon"/></a>
|
|
</div>
|
|
</div>
|
|
- <div id="wrapper">
|
|
|
|
|
|
+ <div id="workspace-wrapper">
|
|
<div id="operations" class="split split-horizontal no-select">
|
|
<div id="operations" class="split split-horizontal no-select">
|
|
<div class="title no-select">Operations</div>
|
|
<div class="title no-select">Operations</div>
|
|
- <input type="search" class="form-control" id="search" placeholder="Search..." autocomplete="off">
|
|
|
|
- <ul class="op-list" id="search-results"></ul>
|
|
|
|
- <div class="panel-group no-select" id="categories"></div>
|
|
|
|
|
|
+ <input id="search" type="search" class="form-control" placeholder="Search..." autocomplete="off">
|
|
|
|
+ <ul id="search-results" class="op-list"></ul>
|
|
|
|
+ <div id="categories" class="panel-group no-select"></div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div id="recipe" class="split split-horizontal no-select">
|
|
<div id="recipe" class="split split-horizontal no-select">
|
|
<div class="title no-select">Recipe</div>
|
|
<div class="title no-select">Recipe</div>
|
|
- <ul id="rec-list" class="no-select"></ul>
|
|
|
|
|
|
+ <ul id="rec-list" class="list-area no-select"></ul>
|
|
|
|
|
|
<div id="controls" class="no-select">
|
|
<div id="controls" class="no-select">
|
|
<div id="operational-controls">
|
|
<div id="operational-controls">
|
|
@@ -165,6 +175,7 @@
|
|
<input type="checkbox" id="save-link-recipe-checkbox" checked> <label for="save-link-recipe-checkbox"> Include recipe </label>
|
|
<input type="checkbox" id="save-link-recipe-checkbox" checked> <label for="save-link-recipe-checkbox"> Include recipe </label>
|
|
<input type="checkbox" id="save-link-input-checkbox" checked> <label for="save-link-input-checkbox"> Include input </label>
|
|
<input type="checkbox" id="save-link-input-checkbox" checked> <label for="save-link-input-checkbox"> Include input </label>
|
|
</div>
|
|
</div>
|
|
|
|
+ <br>
|
|
<a id="save-link" style="word-wrap: break-word;"></a>
|
|
<a id="save-link" style="word-wrap: break-word;"></a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -207,6 +218,13 @@
|
|
</div>
|
|
</div>
|
|
<div class="modal-body" id="options-body">
|
|
<div class="modal-body" id="options-body">
|
|
<p style="font-weight: bold">Please note that these options will persist between sessions.</p>
|
|
<p style="font-weight: bold">Please note that these options will persist between sessions.</p>
|
|
|
|
+ <div class="option-item">
|
|
|
|
+ <select option="theme" id="theme">
|
|
|
|
+ <option value="classic">Classic</option>
|
|
|
|
+ <option value="dark">Dark</option>
|
|
|
|
+ </select>
|
|
|
|
+ <label for="theme"> Theme (only supported in modern browsers)</label>
|
|
|
|
+ </div>
|
|
<div class="option-item">
|
|
<div class="option-item">
|
|
<input type="checkbox" option="update_url" id="update_url" checked />
|
|
<input type="checkbox" option="update_url" id="update_url" checked />
|
|
<label for="update_url"> Update the URL when the input or recipe changes </label>
|
|
<label for="update_url"> Update the URL when the input or recipe changes </label>
|
|
@@ -280,7 +298,10 @@
|
|
</div>
|
|
</div>
|
|
<div class="modal-body">
|
|
<div class="modal-body">
|
|
<img aria-hidden="true" class="about-img-left" src="<%- require('../static/images/cyberchef-128x128.png') %>" alt="CyberChef Logo"/>
|
|
<img aria-hidden="true" class="about-img-left" src="<%- require('../static/images/cyberchef-128x128.png') %>" alt="CyberChef Logo"/>
|
|
- <p class="subtext">Compile time: <%= htmlWebpackPlugin.options.compileTime %></p>
|
|
|
|
|
|
+ <p class="subtext">
|
|
|
|
+ Version <%= htmlWebpackPlugin.options.version %><br>
|
|
|
|
+ Compile time: <%= htmlWebpackPlugin.options.compileTime %>
|
|
|
|
+ </p>
|
|
<p>© Crown Copyright 2016.</p>
|
|
<p>© Crown Copyright 2016.</p>
|
|
<p>Licenced under the Apache Licence, Version 2.0.</p>
|
|
<p>Licenced under the Apache Licence, Version 2.0.</p>
|
|
<br>
|
|
<br>
|