Commit 1b5aa98e authored by foxbib's avatar foxbib

ajout ex block imbriké


git-svn-id: file:///mnt/marvin-var/svn/magneto/trunk@114 f61d8a82-367e-4513-8f0b-2a88b49b8d76
parent 921e0d05
......@@ -181,6 +181,41 @@ SELECT identifiant FROM animaux WHERE taille > 20;
\end{center}
\end{frame}
\begin{frame}
\frametitle{Templates}
\begin{block}{Héritage des Templates}
\begin{figure}
\centering
\includegraphics[width=.9\textwidth]{img/heritage.pdf}
\caption{Schéma d'héritage}
\end{figure}
\end{block}
\end{frame}
\begin{frame}[fragile]
\frametitle{Templates}
\begin{block}{Block imbriqués}
\begin{verbatim}
{% extends "schedule_base.html" %}
{% block content %}
<table>
<tr>
<th>Chaine</th>
</tr>
{% for sched in ready %}
<tr>
<td> {{ sched.channel.name }}</td>
</tr>
{% endfor %}
</table>
{% endblock %}
\end{verbatim}
\end{block}
\end{frame}
\begin{frame}\frametitle{l'\textsc{orm}}
Bibliothèque pour lier \textsc{sql} et python
\begin{block}{utilité}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment