Merge pull request #347 from RoiEXLab/patch-1

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

@ -136,6 +136,7 @@
line-height: 1; line-height: 1;
color: @gray-light; color: @gray-light;
margin-top: 5px; margin-top: 5px;
display: block;
} }
} }

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

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

@ -5,7 +5,7 @@
<p> <p>
<a href="{config.relative_path}/user/{../user.userslug}"> <a href="{config.relative_path}/user/{../user.userslug}">
<!-- IF ../user.picture --> <!-- 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 --> <!-- ELSE -->
<span class="user-icon user-img" title="{../user.username}" style="background-color: {../user.icon:bgColor};">{../user.icon:text}</span> <span class="user-icon user-img" title="{../user.username}" style="background-color: {../user.icon:bgColor};">{../user.icon:text}</span>
<!-- ENDIF ../user.picture --> <!-- ENDIF ../user.picture -->

@ -64,7 +64,7 @@
<li id="user_label" class="dropdown"> <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"> <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 --> /> <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> <span id="user-header-name" class="visible-xs-inline">{user.username}</span>
</label> </label>
<input type="checkbox" class="hidden" id="user-control-list-check" aria-hidden="true"> <input type="checkbox" class="hidden" id="user-control-list-check" aria-hidden="true">
@ -157,7 +157,7 @@
<!-- IF config.searchEnabled --> <!-- IF config.searchEnabled -->
<ul class="nav navbar-nav navbar-right"> <ul class="nav navbar-nav navbar-right">
<li> <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> <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="hidden" id="search-fields">
<div class="form-group"> <div class="form-group">
@ -201,8 +201,10 @@
</div> </div>
<ul class="dropdown-menu" role="menu"> <ul class="dropdown-menu" role="menu">
<input type="text" class="form-control" id="indexInput" placeholder="[[global:pagination.enter_index]]"> <li>
</ul> <input type="text" class="form-control" id="indexInput" placeholder="[[global:pagination.enter_index]]">
</li>
</ul>
</li> </li>
</ul> </ul>

Loading…
Cancel
Save