Merge pull request #347 from RoiEXLab/patch-1

Adress HTML violations
main
Julian Lam 7 years ago committed by GitHub
commit 960c38a35b

@ -136,6 +136,7 @@
line-height: 1;
color: @gray-light;
margin-top: 5px;
display: block;
}
}
@ -157,4 +158,4 @@
.category-dropdown-menu {
max-height: 500px;
overflow-y: auto;
}
}

@ -32,7 +32,7 @@
<body class="{bodyClass} skin-{config.bootswatchSkin}">
<nav id="menu" class="hidden">
<section class="menu-profile">
<div class="menu-profile">
<!-- IF user.uid -->
<!-- IF user.picture -->
<img src="{user.picture}"/>
@ -41,7 +41,7 @@
<!-- ENDIF user.picture -->
<i component="user/status" class="fa fa-fw fa-circle status {user.status}"></i>
<!-- ENDIF user.uid -->
</section>
</div>
<section class="menu-section" data-section="navigation">
<h3 class="menu-section-title">[[global:header.navigation]]</h3>

@ -9,9 +9,7 @@
<h2 class="title">
<!-- IMPORT partials/categories/link.tpl --><br/>
<!-- IF ../descriptionParsed -->
<div class="description">
{../descriptionParsed}
</div>
<span class="description">{../descriptionParsed}</span>
<!-- ENDIF ../descriptionParsed -->
<!-- IF !config.hideSubCategories -->
{function.generateChildrenCategories}

@ -5,7 +5,7 @@
<p>
<a href="{config.relative_path}/user/{../user.userslug}">
<!-- IF ../user.picture -->
<img class="user-img" title="{../user.username}" alt="{../user.username}" src="{../user.picture}" title="{../user.username}"/>
<img class="user-img" title="{../user.username}" alt="{../user.username}" src="{../user.picture}">
<!-- ELSE -->
<span class="user-icon user-img" title="{../user.username}" style="background-color: {../user.icon:bgColor};">{../user.icon:text}</span>
<!-- ENDIF ../user.picture -->
@ -28,4 +28,4 @@
</div>
</div>
<!-- ENDIF !../posts.length -->
</div>
</div>

@ -64,7 +64,7 @@
<li id="user_label" class="dropdown">
<label for="user-control-list-check" class="dropdown-toggle" data-toggle="dropdown" id="user_dropdown" title="[[global:header.profile]]" role="button">
<img component="header/userpicture" src="{user.picture}" alt="{user.username}"<!-- IF !user.picture --> style="display: none;"<!-- ENDIF !user.picture --> />
<div component="header/usericon" class="user-icon" style="background-color: {user.icon:bgColor};<!-- IF user.picture --> display: none;"<!-- ENDIF user.picture -->">{user.icon:text}</div>
<div component="header/usericon" class="user-icon" style="background-color: {user.icon:bgColor};<!-- IF user.picture --> display: none;<!-- ENDIF user.picture -->">{user.icon:text}</div>
<span id="user-header-name" class="visible-xs-inline">{user.username}</span>
</label>
<input type="checkbox" class="hidden" id="user-control-list-check" aria-hidden="true">
@ -157,7 +157,7 @@
<!-- IF config.searchEnabled -->
<ul class="nav navbar-nav navbar-right">
<li>
<form id="search-form" class="navbar-form navbar-right hidden-xs" role="search" method="GET" action="">
<form id="search-form" class="navbar-form navbar-right hidden-xs" role="search" method="GET">
<button id="search-button" type="button" class="btn btn-link"><i class="fa fa-search fa-fw" title="[[global:header.search]]"></i></button>
<div class="hidden" id="search-fields">
<div class="form-group">
@ -201,8 +201,10 @@
</div>
<ul class="dropdown-menu" role="menu">
<input type="text" class="form-control" id="indexInput" placeholder="[[global:pagination.enter_index]]">
</ul>
<li>
<input type="text" class="form-control" id="indexInput" placeholder="[[global:pagination.enter_index]]">
</li>
</ul>
</li>
</ul>

Loading…
Cancel
Save