Skip to content

Commit 5cc32ca

Browse files
committed
website-update-resources-page
1 parent 1bd1441 commit 5cc32ca

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

resources/templates/resourcesN.html

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ <h3 class="h2 g-font-weight-300 g-mb-20"><b>Resources</b></h3>
5050
<div class="media-body">
5151
<h3 class="h5 g-color-black mb-20">Books</h3>
5252
<div class="g-width-30 g-brd-bottom g-brd-gray-dark-v5 g-my-15"></div>
53+
<span class="u-label u-label--sm g-bg-green rounded g-px-10"><small><b>Beginner</b></small></span>
54+
<span class="u-label u-label--sm g-bg-yellow g-color-black rounded g-px-10"><small><b>Intermediate</b></small></span>
55+
<span class="u-label u-label--sm g-bg-red rounded g-px-10"><small><b>Expert</b></small></span>
56+
5357
<br><br>
5458

5559
<div class="shortcode-html">
@@ -137,19 +141,19 @@ <h3 class="h5 g-color-black mb-20" href="https://wiki.python.org/moin/ReferenceB
137141
<h4 class="h5 g-mb-7">
138142
<a class="g-color-black g-color-primary--hover g-text-underline--none--hover" href="{{ book.book_link }}" target="/">{{ book.book_title }}</a>
139143
</h4>
140-
<p class="d-inline-block g-color-gray-dark-v5 g-font-size-13 g-mb-10">
144+
<p class="d-inline-block g-color-gray-dark-v5 g-mb-10">
141145
{% if book.beginner_level%}
142-
<span class="u-label u-label--sm g-bg-green rounded g-px-10"><small><b>Beginner</b></small></span>
146+
<span class="u-label u-label--sm g-bg-green rounded g-px-10"><small><b> </b></small></span>
143147
{% else %}
144148
<p></p>
145149
{% endif %}
146150
{% if book.intermediate_level %}
147-
<span class="u-label u-label--sm g-bg-yellow g-color-black rounded g-px-10"><small><b>Intermediate</b></small></span>
151+
<span class="u-label u-label--sm g-bg-yellow g-color-black rounded g-px-10"><small><b> </b></small></span>
148152
{% else %}
149153
<p></p>
150154
{% endif %}
151155
{% if book.expert_level %}
152-
<span class="u-label u-label--sm g-bg-red rounded g-px-10"><small><b>Expert</b></small></span>
156+
<span class="u-label u-label--sm g-bg-red rounded g-px-10"><small><b> </b></small></span>
153157
{% else %}
154158
<p></p>
155159
{% endif %}
@@ -225,17 +229,17 @@ <h5 class="h6 g-font-weight-600 g-color-black">{{ article.article_title }}</h5>
225229

226230
<p class="d-inline-block g-color-gray-dark-v5 g-font-size-13 g-mb-10">
227231
{% if article.beginner_level%}
228-
<span class="u-label u-label--sm g-bg-green rounded g-px-10"><small><b>Beginner</b></small></span>
232+
<span class="u-label u-label--sm g-bg-green rounded g-px-10"><small><b> </b></small></span>
229233
{% else %}
230234
<p></p>
231235
{% endif %}
232236
{% if article.intermediate_level %}
233-
<span class="u-label u-label--sm g-bg-yellow g-color-black rounded g-px-10"><small><b>Intermediate</b></small></span>
237+
<span class="u-label u-label--sm g-bg-yellow g-color-black rounded g-px-10"><small><b> </b></small></span>
234238
{% else %}
235239
<p></p>
236240
{% endif %}
237241
{% if article.expert_level %}
238-
<span class="u-label u-label--sm g-bg-red rounded g-px-10"><small><b>Expert</b></small></span>
242+
<span class="u-label u-label--sm g-bg-red rounded g-px-10"><small><b> </b></small></span>
239243
{% else %}
240244
<p></p>
241245
{% endif %}

0 commit comments

Comments
 (0)