mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-18 13:05:50 +00:00
093cc20ee0
Extracts a new VectorMenu mustache component from VectorTemplate. VectorMenu is the "more" menu that appears at small widths instead of the Read/Edit/View History menu near the top of the Vector skin. Bug: T239248, T240062 Change-Id: I41b1ec949d81303abddadb981741445572c939e3
18 lines
502 B
Plaintext
18 lines
502 B
Plaintext
{{!
|
|
string|null empty-portlet
|
|
string msg-label
|
|
string menu-id
|
|
string menu-label-id
|
|
string|null html-items
|
|
string|null html-userlangattributes
|
|
}}
|
|
<div id="{{menu-id}}" role="navigation" class="vectorMenu {{empty-portlet}}" aria-labelledby="{{menu-label-id}}">
|
|
<input type="checkbox" class="vectorMenuCheckbox" aria-labelledby="{{menu-label-id}}" />
|
|
<h3 id="{{menu-label-id}}">
|
|
<span>{{msg-label}}</span>
|
|
</h3>
|
|
<ul class="menu" {{{html-userlangattributes}}}>
|
|
{{{html-items}}}
|
|
</ul>
|
|
</div>
|