added models

This commit is contained in:
DerTyp187
2021-11-10 09:53:46 +01:00
parent 4a7b65b721
commit 56d3037856
7 changed files with 111 additions and 10 deletions

View File

@@ -1,5 +1,9 @@
{% extends "main/base.html" %}
{% block content %}
<div id="main-headline">
<h2>{{ category_obj.title }}</h2>
</div>
<div id="list">
<div class="list-item">
<img src="c_icon.png"/>

View File

@@ -1,12 +1,11 @@
{% extends "main/base.html" %}
{% block content %}
<div id="main-headline">
<h2>How To Convert a String to Int</h2>
<h2>{{ title }}</h2>
</div>
<div id="main-content-code">
<pre><code style="padding-top: 5px; padding-bottom: 5px;"class="language-c">int c;
c = int.c * t/g;</code></pre>
</div>
<div id="main-content-code">
<pre><code style="padding-top: 5px; padding-bottom: 5px;"class="language-{{category_title}}">{{code}}</code></pre>
</div>
{% endblock content %}