mirror of https://github.com/MISP/misp-training
chg: [cheatcheets] Improved layouts
parent
a81e8aa3ee
commit
dd526a4a1d
|
@ -69,7 +69,7 @@ POST /attributes/restSearch
|
||||||
\end{lrbox}
|
\end{lrbox}
|
||||||
|
|
||||||
\begin{multicols*}{2}
|
\begin{multicols*}{2}
|
||||||
\multicolstitle{User}
|
\multicolstitle{- User -}
|
||||||
\cheatboxlarge{API}{
|
\cheatboxlarge{API}{
|
||||||
\textbf{\texttt{Wildcard} searches:}\\
|
\textbf{\texttt{Wildcard} searches:}\\
|
||||||
\hspace*{0.5em}\usebox\codeboxA\\
|
\hspace*{0.5em}\usebox\codeboxA\\
|
||||||
|
@ -109,7 +109,7 @@ POST /attributes/restSearch
|
||||||
}
|
}
|
||||||
|
|
||||||
\columnbreak
|
\columnbreak
|
||||||
\multicolstitle{Admin}
|
\multicolstitle{- Admin -}
|
||||||
\cheatboxlarge{Reset Password}{
|
\cheatboxlarge{Reset Password}{
|
||||||
API: \httpcode[\{"password": "***"\}]{POST}{/users/initiatePasswordReset/[id]}\\
|
API: \httpcode[\{"password": "***"\}]{POST}{/users/initiatePasswordReset/[id]}\\
|
||||||
CLI: \clicode{Password [email] [password]}
|
CLI: \clicode{Password [email] [password]}
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
% MISP ELEMENTS
|
% MISP ELEMENTS
|
||||||
%
|
%
|
||||||
\newcommand{\hr}{\centerline{\rule{3.5in}{1pt}}}
|
\newcommand{\hr}{\centerline{\rule{3.5in}{1pt}}}
|
||||||
|
\newcommand{\misp}{\includegraphics[scale=0.2]{misp.pdf}\hspace*{0.5em}}
|
||||||
\newcommand{\events}{\texttt{Events }}
|
\newcommand{\events}{\texttt{Events }}
|
||||||
\newcommand{\event}{\texttt{Event }}
|
\newcommand{\event}{\texttt{Event }}
|
||||||
\newcommand{\attributes}{\texttt{Attributes }}
|
\newcommand{\attributes}{\texttt{Attributes }}
|
||||||
|
@ -40,9 +41,19 @@
|
||||||
inner sep=10pt, inner ysep=10pt
|
inner sep=10pt, inner ysep=10pt
|
||||||
]
|
]
|
||||||
\tikzstyle{boxtitle} = [
|
\tikzstyle{boxtitle} = [
|
||||||
fill=black,
|
% fill=black,
|
||||||
text=white,
|
% text=white,
|
||||||
|
% fill=gray!30,
|
||||||
|
% text=black,
|
||||||
|
% font=\bfseries,
|
||||||
|
% right=10pt
|
||||||
|
draw=black,
|
||||||
|
line width=1pt,
|
||||||
|
text=black,
|
||||||
|
fill=gray!70,
|
||||||
font=\bfseries,
|
font=\bfseries,
|
||||||
|
rectangle, rounded corners=2pt,
|
||||||
|
inner sep=4pt,
|
||||||
right=10pt
|
right=10pt
|
||||||
]
|
]
|
||||||
\tikzset{actionbox/.style={
|
\tikzset{actionbox/.style={
|
||||||
|
|
Loading…
Reference in New Issue