Changeset View
Changeset View
Standalone View
Standalone View
common/templates/common/base.html
| Show All 28 Lines | <button class="btn btn-nav navdrawertoggle"> | ||||
| <i class="material-icons">menu</i> | <i class="material-icons">menu</i> | ||||
| </button> | </button> | ||||
| <a href="/" class="navbar-brand"> | <a href="/" class="navbar-brand"> | ||||
| <img src="{% static 'common/images/blender_cloud_logo.svg' %}" alt="Blender Studio"> | <img src="{% static 'common/images/blender_cloud_logo.svg' %}" alt="Blender Studio"> | ||||
| </a> | </a> | ||||
| <div class="navbar-main-nav list-group list-group-flush list-group-horizontal"> | <div class="navbar-main-nav list-group list-group-flush list-group-horizontal"> | ||||
| <a href="/films/" class="list-group-item"> | <a href="{% url 'film-list' %}" class="list-group-item"> | ||||
| <span>Films</span> | <span>Films</span> | ||||
| </a> | </a> | ||||
| <a href="/training/" class="list-group-item"> | <a href="{% url 'training_home' %}" class="list-group-item"> | ||||
sybren: When is an underscore used for separation, and when is a dash used? I'm not up to date on the… | |||||
Done Inline ActionsI believe Django documentation always uses dashes, so I went for this convention when working on the new apps, and later I realised that underscore was used in the already existing training app. I wanted to fix it at some point... but maybe it's a good opportunity to do it now. natka: I believe Django documentation always uses dashes, so I went for this convention when working… | |||||
| <span>Training</span> | <span>Training</span> | ||||
| </a> | </a> | ||||
| <a href="/services/" class="list-group-item"> | <a href="/services/" class="list-group-item"> | ||||
| <span>Services</span> | <span>Services</span> | ||||
| </a> | </a> | ||||
| <a href="/news/" class="list-group-item"> | <a href="/news/" class="list-group-item"> | ||||
| <span>News</span> | <span>News</span> | ||||
| </a> | </a> | ||||
| ▲ Show 20 Lines • Show All 129 Lines • ▼ Show 20 Lines | <div class="content-holder"> | ||||
| </a> | </a> | ||||
| <a href="#"> | <a href="#"> | ||||
| <img alt="YouTube Logo" src="{% static 'common/images/icons/youtube.svg' %}"> | <img alt="YouTube Logo" src="{% static 'common/images/icons/youtube.svg' %}"> | ||||
| </a> | </a> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| <div class="col-md-8 offset-lg-1"> | <div class="col-md-8 offset-lg-1"> | ||||
| <div class="row text-white"> | <div class="row text-white"> | ||||
| <div class="col-md-3 col-6"><a href="#" class="h3 text-white">Training</a> | <div class="col-md-3 col-6"><a href="{% url 'training_home' %}" class="h3 text-white">Training</a> | ||||
| <ul> | <ul> | ||||
| <li> | <li> | ||||
| <a href="#" class="small text-white">Courses</a> | <a href="#" class="small text-white">Courses</a> | ||||
| </li> | </li> | ||||
| <li> | <li> | ||||
| <a href="#" class="small text-white">Workshops</a> | <a href="#" class="small text-white">Workshops</a> | ||||
| </li> | </li> | ||||
| <li> | <li> | ||||
| <a href="#" class="small text-white">Production Lessons</a> | <a href="#" class="small text-white">Production Lessons</a> | ||||
| </li> | </li> | ||||
| </ul><a href="#" class="h3 text-white">Films</a> | </ul><a href="{% url 'film-list' %}" class="h3 text-white">Films</a> | ||||
| </div> | </div> | ||||
| <div class="col-md-3 col-6"><a href="#" class="h3 text-white">Libraries</a> | <div class="col-md-3 col-6"><a href="#" class="h3 text-white">Libraries</a> | ||||
| <ul> | <ul> | ||||
| <li> | <li> | ||||
| <a href="#" class="small text-white">HDRIs</a> | <a href="#" class="small text-white">HDRIs</a> | ||||
| </li> | </li> | ||||
| <li> | <li> | ||||
| <a href="#" class="small text-white">Textures</a> | <a href="#" class="small text-white">Textures</a> | ||||
| ▲ Show 20 Lines • Show All 80 Lines • Show Last 20 Lines | |||||
When is an underscore used for separation, and when is a dash used? I'm not up to date on the URL design rules used in this project, but for me it looks inconsistent.