Fix top padding for admins (#1521)
* Update main.css * Update base.jet.html * Update index_admin.jet.html * add content-admin back * Add content-admin back * Update base.jet.html * Update base.jet.html * Update index_admin.jet.html
Cette révision appartient à :
Parent
4f8eabb5fb
révision
5e0ef75b68
4 fichiers modifiés avec 6 ajouts et 8 suppressions
|
@ -63,9 +63,6 @@ body {
|
|||
height: 60px;
|
||||
border-bottom: 1px solid;
|
||||
}
|
||||
.header.content-admin {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
#cookie-warning {
|
||||
z-index: 4;
|
||||
|
|
|
@ -7,13 +7,14 @@
|
|||
{{include "partials/menu/site"}}
|
||||
{{end}}
|
||||
|
||||
{* We used to add the class content for admin *}
|
||||
{{ block contclass()}}{{end}}
|
||||
|
||||
{* We add the mod panel title and the title block *}
|
||||
{{block titleBase()}} Moderation Panel - {{block title()}}{{end}}
|
||||
{{end}}
|
||||
|
||||
{* We add the mod panel search refine and the body block *}
|
||||
{* We add the mod nav and the body block *}
|
||||
{{ block content_body_base()}}
|
||||
{{include "partials/menu/admin"}}
|
||||
{{ block content_body()}}
|
||||
|
|
|
@ -44,11 +44,11 @@
|
|||
{{block additional_header()}}{{end}}
|
||||
</head>
|
||||
<body {{if Sukebei()}}class="sukebei"{{end}}>
|
||||
<nav id="header" class="header {{ block contclass() }}{{end}}">
|
||||
<nav id="header" class="header">
|
||||
{{block menu()}}{{end}}
|
||||
</nav>
|
||||
<div id="content" class="{{ block contclass() }}{{end}}">
|
||||
<div class="content container center {{ if User.HasAdmin() }}content-admin{{end}}">
|
||||
<div id="content" class="{{ block contclass()}}{{end}}">
|
||||
<div class="content container center">
|
||||
{{ yield infos()}}
|
||||
{{ yield errors()}}
|
||||
{{ block content_body_base() }}{{end}}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{{ extends "layouts/index_site" }}
|
||||
{{ import "layouts/partials/helpers/search" }}
|
||||
{{block title()}}{{ T("home")}}{{end}}
|
||||
{{block contclass()}}{{end}}
|
||||
{{block contclass()}}{{if User.HasAdmin() }}content-admin{{end}}{{end}}
|
||||
{{block content_body()}}
|
||||
<!-- Contain the table within a grid, as for better sizing -->
|
||||
<div class="results box">
|
||||
|
|
Référencer dans un nouveau ticket