From ea029f1c363088c92300c0f9f5c75cde0c5c4b7d Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Wed, 23 Sep 2015 11:08:57 +0200 Subject: [PATCH] Commit --- rapport/gestion.tex | 2 +- slides/main.tex | 53 ++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 53 insertions(+), 2 deletions(-) diff --git a/rapport/gestion.tex b/rapport/gestion.tex index ec2a69e..bb774b8 100644 --- a/rapport/gestion.tex +++ b/rapport/gestion.tex @@ -20,7 +20,7 @@ pu leur apporter une petite aide : \item dans un premier temps, j'ai établi des profils de bande-passante lors de téléchargements. Pour ce faire, j'ai utilisé le programme \texttt{curl} qui affiche la vitesse instantanée de téléchargement - chaque seconde + chaque seconde ; \item dans un second temps, j'ai pu nettoyer une partie d'un code PHP servant à remplir les lignes d'une table d'une base de données. Le code était alors sensible à l'injection SQL. diff --git a/slides/main.tex b/slides/main.tex index 1e0c83b..381c021 100644 --- a/slides/main.tex +++ b/slides/main.tex @@ -21,6 +21,7 @@ \usepackage{hyperref} \usepackage{tikz} \usepackage{appendixnumberbeamer} +\usepackage{mwe} \newboolean{sectiontoc} \setboolean{sectiontoc}{true} @@ -79,7 +80,57 @@ \includegraphics[scale=0.2]{icons/vortex.png}\\[0.5cm] \includegraphics[scale=0.3]{icons/nus.jpg} \end{frame} - +\makeatletter +\defbeamertemplate*{note page}{mynotes} +{% + {% + \scriptsize + \usebeamerfont{note title}\usebeamercolor[fg]{note title}% + \ifbeamercolorempty[bg]{note title}{}{% + \insertvrule{.45\paperheight}{note title.bg}% + \vskip-.45\paperheight% + \nointerlineskip% + }% + \vbox{ + \hfill\insertslideintonotes{0.45}\hskip-\Gm@rmargin\hskip0pt% + \vskip-0.45\paperheight% + \nointerlineskip + \begin{pgfpicture}{0cm}{0cm}{0cm}{0cm} + \begin{pgflowlevelscope}{\pgftransformrotate{90}} + {\pgftransformshift{\pgfpoint{-2cm}{0.2cm}}% + \pgftext[base,left]{\usebeamerfont{note date}\usebeamercolor[fg]{note date}\the\year-\ifnum\month<10\relax0\fi\the\month-\ifnum\day<10\relax0\fi\the\day}} + \end{pgflowlevelscope} + \end{pgfpicture}} + \nointerlineskip + \vbox to .45\paperheight{\vskip0.5em + \hbox{\insertshorttitle[width=8cm]}% + \setbox\beamer@tempbox=\hbox{\insertsection}% + \hbox{\ifdim\wd\beamer@tempbox>1pt{\hskip4pt\raise3pt\hbox{\vrule + width0.4pt height7pt\vrule width 9pt + height0.4pt}}\hskip1pt\hbox{\begin{minipage}[t]{7.5cm}\def\breakhere{}\insertsection\end{minipage}}\fi% + }% + \setbox\beamer@tempbox=\hbox{\insertsubsection}% + \hbox{\ifdim\wd\beamer@tempbox>1pt{\hskip17.4pt\raise3pt\hbox{\vrule + width0.4pt height7pt\vrule width 9pt + height0.4pt}}\hskip1pt\hbox{\begin{minipage}[t]{7.5cm}\def\breakhere{}\insertsubsection\end{minipage}}\fi% + }% + \setbox\beamer@tempbox=\hbox{\insertshortframetitle}% + \hbox{\ifdim\wd\beamer@tempbox>1pt{\hskip30.8pt\raise3pt\hbox{\vrule + width0.4pt height7pt\vrule width 9pt + height0.4pt}}\hskip1pt\hbox{\insertshortframetitle[width=7cm]}\fi% + }% + \vfil}% + }% + \ifbeamercolorempty[bg]{note page}{}{% + \nointerlineskip% + \insertvrule{.55\paperheight}{note page.bg}% + \vskip-.55\paperheight% + }% + \vskip.25em + \nointerlineskip + \insertnote +} +\makeatother \begin{frame} \begin{figure} \includegraphics[scale=0.2]{new/bureau.jpg}