mirror of
https://github.com/optim-enterprises-bv/OptimCloud-gw-ui.git
synced 2025-10-30 01:42:19 +00:00
Pre font family same as the rest of the website
This commit is contained in:
@@ -155,7 +155,7 @@ const ActionModalWidget = ({ show, toggleModal, title, directions, action, extra
|
||||
|
||||
<div hidden={!hadSuccess && !hadFailure}>
|
||||
<div>
|
||||
<pre>{responseBody}</pre>
|
||||
<pre className='ignore'>{responseBody}</pre>
|
||||
</div>
|
||||
</div>
|
||||
</CModalBody>
|
||||
|
||||
@@ -167,7 +167,7 @@ const BlinkModalWidget = ({show, toggleModal}) => {
|
||||
</CRow>
|
||||
<div hidden={!hadSuccess && !hadFailure}>
|
||||
<div>
|
||||
<pre>{responseBody}</pre>
|
||||
<pre className='ignore'>{responseBody}</pre>
|
||||
</div>
|
||||
</div>
|
||||
</CModalBody>
|
||||
|
||||
@@ -95,11 +95,11 @@ const DeviceCommands = ({selectedDeviceId}) => {
|
||||
const result = commandDetails.results;
|
||||
if(result)
|
||||
return (
|
||||
<pre>{JSON.stringify(result, null, 4)}</pre>
|
||||
<pre className='ignore'>{JSON.stringify(result, null, 4)}</pre>
|
||||
);
|
||||
}
|
||||
|
||||
return <pre>{JSON.stringify(commandDetails, null, 4)}</pre>
|
||||
return <pre className='ignore'>{JSON.stringify(commandDetails, null, 4)}</pre>
|
||||
|
||||
}
|
||||
const columns = [
|
||||
|
||||
@@ -172,7 +172,7 @@ const DeviceHealth = ({selectedDeviceId}) => {
|
||||
<CCardBody>
|
||||
<h5>Details</h5>
|
||||
<div>
|
||||
<pre>{JSON.stringify(item.values, null, 4)}</pre>
|
||||
<pre className='ignore'>{JSON.stringify(item.values, null, 4)}</pre>
|
||||
</div>
|
||||
</CCardBody>
|
||||
</CCollapse>
|
||||
|
||||
@@ -147,7 +147,7 @@ const DeviceLogs = ({selectedDeviceId}) => {
|
||||
<CCardBody>
|
||||
<h5>Details</h5>
|
||||
<div>
|
||||
<pre>{JSON.stringify(item, null, 4)}</pre>
|
||||
<pre className='ignore'>{JSON.stringify(item, null, 4)}</pre>
|
||||
</div>
|
||||
</CCardBody>
|
||||
</CCollapse>
|
||||
|
||||
@@ -196,7 +196,7 @@ const FirmwareUpgradeModal = ({ show, toggleModal }) => {
|
||||
<CInvalidFeedback>You need a url...</CInvalidFeedback>
|
||||
<div hidden={!hadSuccess && !hadFailure}>
|
||||
<div>
|
||||
<pre>{responseBody}</pre>
|
||||
<pre className='ignore'>{responseBody}</pre>
|
||||
</div>
|
||||
</div>
|
||||
</CModalBody>
|
||||
|
||||
@@ -175,7 +175,7 @@ const TraceModalWidget = ({ show, toggleModal }) => {
|
||||
|
||||
<div hidden={!hadSuccess && !hadFailure}>
|
||||
<div>
|
||||
<pre>{responseBody} </pre>
|
||||
<pre className='ignore'>{responseBody} </pre>
|
||||
</div>
|
||||
</div>
|
||||
</CModalBody>
|
||||
|
||||
@@ -1 +1,4 @@
|
||||
// Here you can add other styles
|
||||
pre.ignore {
|
||||
font-family: inherit;
|
||||
}
|
||||
Reference in New Issue
Block a user