chg: [cheatcheets] Improved layouts

pull/13/head
mokaddem 2021-05-19 13:09:11 +02:00
parent a81e8aa3ee
commit dd526a4a1d
2 changed files with 15 additions and 4 deletions

View File

@ -69,7 +69,7 @@ POST /attributes/restSearch
\end{lrbox}
\begin{multicols*}{2}
\multicolstitle{User}
\multicolstitle{- User -}
\cheatboxlarge{API}{
\textbf{\texttt{Wildcard} searches:}\\
\hspace*{0.5em}\usebox\codeboxA\\
@ -109,7 +109,7 @@ POST /attributes/restSearch
}
\columnbreak
\multicolstitle{Admin}
\multicolstitle{- Admin -}
\cheatboxlarge{Reset Password}{
API: \httpcode[\{"password": "***"\}]{POST}{/users/initiatePasswordReset/[id]}\\
CLI: \clicode{Password [email] [password]}

View File

@ -2,6 +2,7 @@
% MISP ELEMENTS
%
\newcommand{\hr}{\centerline{\rule{3.5in}{1pt}}}
\newcommand{\misp}{\includegraphics[scale=0.2]{misp.pdf}\hspace*{0.5em}}
\newcommand{\events}{\texttt{Events }}
\newcommand{\event}{\texttt{Event }}
\newcommand{\attributes}{\texttt{Attributes }}
@ -40,9 +41,19 @@
inner sep=10pt, inner ysep=10pt
]
\tikzstyle{boxtitle} = [
fill=black,
text=white,
% fill=black,
% text=white,
% fill=gray!30,
% text=black,
% font=\bfseries,
% right=10pt
draw=black,
line width=1pt,
text=black,
fill=gray!70,
font=\bfseries,
rectangle, rounded corners=2pt,
inner sep=4pt,
right=10pt
]
\tikzset{actionbox/.style={