mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-12-01 09:26:53 +00:00
Fixed incorrect DOM structure
This commit is contained in:
parent
72ab186ccd
commit
65a364e3ca
|
@ -143,11 +143,12 @@ class CitizenTemplate extends BaseTemplate {
|
||||||
'html-input' => $this->makeSearchInput( [ 'id' => 'search-input' ] ),
|
'html-input' => $this->makeSearchInput( [ 'id' => 'search-input' ] ),
|
||||||
'html-button-search' => $this->makeSearchButton(
|
'html-button-search' => $this->makeSearchButton(
|
||||||
'image',
|
'image',
|
||||||
[ 'id' => 'search-button',
|
[
|
||||||
|
'id' => 'search-button',
|
||||||
'src' => $this->getSkin()->getSkinStylePath( 'resources/images/icons/search.svg' ),
|
'src' => $this->getSkin()->getSkinStylePath( 'resources/images/icons/search.svg' ),
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
'msg-search' => $this->msg( 'search' ),
|
'msg-search' => $this->getMsg( 'search' )->text(),
|
||||||
'page-title' => SpecialPage::getTitleFor( 'Search' )->getPrefixedDBkey(),
|
'page-title' => SpecialPage::getTitleFor( 'Search' )->getPrefixedDBkey(),
|
||||||
];
|
];
|
||||||
return $props;
|
return $props;
|
||||||
|
|
|
@ -7,9 +7,7 @@
|
||||||
<aside class="mw-bottombar">
|
<aside class="mw-bottombar">
|
||||||
<nav class="mw-bottombar-buttons">
|
<nav class="mw-bottombar-buttons">
|
||||||
<div class="citizen-ui-icon" id="citizen-ui-button">
|
<div class="citizen-ui-icon" id="citizen-ui-button">
|
||||||
<a href="{{html-citizen-bottombar-button-href}}" title="{{html-citizen-bottombar-button-title}}" rel="noopener noreferrer" target="_blank">
|
<a href="{{html-citizen-bottombar-button-href}}" title="{{html-citizen-bottombar-button-title}}" rel="noopener noreferrer" target="_blank">{{html-citizen-bottombar-button-text}}</a>
|
||||||
{{html-citizen-bottombar-button-text}}
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
</aside>
|
</aside>
|
Loading…
Reference in a new issue