mirror of
https://github.com/gchq/CyberChef.git
synced 2024-11-16 17:08:31 +01:00
Changed table-condensed to table-sm
This commit is contained in:
parent
a39e2c165d
commit
ab44100312
4 changed files with 4 additions and 4 deletions
|
@ -49,7 +49,7 @@ export const DATETIME_FORMATS = [
|
||||||
* MomentJS DateTime formatting examples.
|
* MomentJS DateTime formatting examples.
|
||||||
*/
|
*/
|
||||||
export const FORMAT_EXAMPLES = `Format string tokens:
|
export const FORMAT_EXAMPLES = `Format string tokens:
|
||||||
<table class="table table-striped table-hover table-condensed table-bordered" style="font-family: sans-serif">
|
<table class="table table-striped table-hover table-sm table-bordered" style="font-family: sans-serif">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Category</th>
|
<th>Category</th>
|
||||||
|
|
|
@ -77,7 +77,7 @@ class Magic extends Operation {
|
||||||
const currentRecipeConfig = this.state.opList.map(op => op.config);
|
const currentRecipeConfig = this.state.opList.map(op => op.config);
|
||||||
|
|
||||||
let output = `<table
|
let output = `<table
|
||||||
class='table table-hover table-condensed table-bordered'
|
class='table table-hover table-sm table-bordered'
|
||||||
style='table-layout: fixed;'>
|
style='table-layout: fixed;'>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Recipe (click to load)</th>
|
<th>Recipe (click to load)</th>
|
||||||
|
|
|
@ -97,7 +97,7 @@ class ParseIPv4Header extends Operation {
|
||||||
checksumResult = givenChecksum + " (incorrect, should be " + correctChecksum + ")";
|
checksumResult = givenChecksum + " (incorrect, should be " + correctChecksum + ")";
|
||||||
}
|
}
|
||||||
|
|
||||||
output = `<table class='table table-hover table-condensed table-bordered table-nonfluid'><tr><th>Field</th><th>Value</th></tr>
|
output = `<table class='table table-hover table-sm table-bordered table-nonfluid'><tr><th>Field</th><th>Value</th></tr>
|
||||||
<tr><td>Version</td><td>${version}</td></tr>
|
<tr><td>Version</td><td>${version}</td></tr>
|
||||||
<tr><td>Internet Header Length (IHL)</td><td>${ihl} (${ihl * 4} bytes)</td></tr>
|
<tr><td>Internet Header Length (IHL)</td><td>${ihl} (${ihl * 4} bytes)</td></tr>
|
||||||
<tr><td>Differentiated Services Code Point (DSCP)</td><td>${dscp}</td></tr>
|
<tr><td>Differentiated Services Code Point (DSCP)</td><td>${dscp}</td></tr>
|
||||||
|
|
|
@ -147,7 +147,7 @@ class ToTable extends Operation {
|
||||||
*/
|
*/
|
||||||
function htmlOutput(tableData) {
|
function htmlOutput(tableData) {
|
||||||
// Start the HTML output with suitable classes for styling.
|
// Start the HTML output with suitable classes for styling.
|
||||||
let output = "<table class='table table-hover table-condensed table-bordered table-nonfluid'>";
|
let output = "<table class='table table-hover table-sm table-bordered table-nonfluid'>";
|
||||||
|
|
||||||
// If the first row is a header then put it in <thead> with <th> cells.
|
// If the first row is a header then put it in <thead> with <th> cells.
|
||||||
if (firstRowHeader) {
|
if (firstRowHeader) {
|
||||||
|
|
Loading…
Reference in a new issue