JEPL/jepl/templates/template-AF_warning_label.tex
2025-01-31 12:24:31 -04:00

91 lines
2.8 KiB
TeX

\BLOCK{ extends "template-label4x6-base.tex" }
\BLOCK{block document}
\BLOCK{for result in results }
%% Header Warning Banner %%
\definecolor{warningcolour}{RGB}{\VAR((project.warning_colour))}
% \thispagestyle{empty}
\begin{tikzpicture}[overlay, remember picture]%
\node[]
at ($(current page.north)+(0cm, -13mm)$) {%
\begin{tikzpicture}
\node[rectangle,
draw = white,
text = black,
minimum width = \textwidth,
minimum height = 23mm,
fill = warningcolour] (r) at (0,0)
{%
\fontfamily{phv}\fontsize{36pt}{40pt}\selectfont \textbf{\VAR((project.warning_text))}% This is the warning text
};
\end{tikzpicture}
};
% This is the main message
\node[%
text width=\textwidth,
align=center,
]
at ($(current page.center) + (0cm,18mm)$) {%
\fontfamily{phv}
\fontsize{20pt}{100pt}\selectfont
\textbf{%
Arc Flash and Shock Hazard Present \\
Appropriate PPE Required
}
};
% This is the study Results
\node[text width=\textwidth, align=center]
at ($(current page.center) + (5mm,-7mm)$) {%
\begin{multicols}{2}
\textbf{ARC FLASH PROTECTION} \\
\vspace{3mm}
\begin{tabular}{ l l }
Working Distance & \textbf{\VAR((result.working_distance))} \\ % Working Distance - This needs to be added to the results
Incident Energy & \textbf{\VAR((result.energy)) cal/cm$^2$} \\ % Incident Energy Value
Arc Flash Hazard Boundary & \textbf{\VAR((result.afb))} \\ % Arc Flash Boundary
Energy Level & \textbf{\VAR((result.level))} \\ % Energy Level
\end{tabular}
\columnbreak
\textbf{SHOCK PROTECTION}\\
\vspace{4mm}
\begin{tabular}{ l l }
Shock Hazard & \textbf{\VAR((result.voltage))} \\ % Shock voltage
Limited Approach & \textbf{\VAR((result.limited_approach))} \\ % Limited Approach boundary
Restricted Approach & \textbf{\VAR((result.restricted_approach))} \\ % Restricted Approach boundard
Glove Class & \textbf{\VAR((result.gloveclass))} \\ % Glove Class
\end{tabular}
\end{multicols}
};
% This is the equipment information
\node[text width=0.5\textwidth, align=left]
at ($(current page.west) + (45mm,-40mm)$) {%
\large
Equipment: \textbf{\VAR((result.equipment))} \\
Date: \textbf{\VAR((project.date))} \\
\vspace{2mm}
\scriptsize
Arc flash analysis by \VAR((project.author))
};
% This is the logo
\node[text width=0.5\textwidth, align=right]
at ($(current page.east) + (-40mm,-4cm)$) {%
\includegraphics[width=70mm,left]{jepl/templates/static/logo.png}
};
\end{tikzpicture}
\newpage
\BLOCK{ endfor }
\BLOCK{endblock document}