335e81a26c
Closes #1612 Merges @afkbrb work to finish @wetneb protype, including: * adding support for OAuth in addition to basic auth * supporting registration of single user Wikidata OAuth consumers. * adding extensive tests * cleaning up the login dialog This depends on the next release of the Wikidata Toolkit, but we're currently publishing our own snapshot that includes the necessary changes (thanks @wetneb!) Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
26 lines
1.0 KiB
HTML
26 lines
1.0 KiB
HTML
<div class="dialog-frame" style="width: 800px;">
|
|
<div class="dialog-header" bind="dialogHeader"></div>
|
|
<div class="dialog-body" bind="dialogBody" style="position: relative; height: 100px">
|
|
<div class="wikidata-logo">
|
|
<a href="https://www.wikidata.org/" target="_blank">
|
|
<img src="extension/wikidata/images/wikidata.png" style="height: 100px" alt="Wikidata logo"/>
|
|
</a>
|
|
</div>
|
|
<div class="right-of-logo">
|
|
<div class="wikibase-user-management-area">
|
|
<div class="wikibase-user-logout" bind="logoutArea">
|
|
<p><span bind="loggedInAs"></span>
|
|
<a bind="loggedInUsername" target="_blank"></a></p>
|
|
<div class="wikibase-login-buttons">
|
|
<button class="button cancel-button" bind="cancelButton"></button>
|
|
<button class="button button-primary" bind="logoutButton"></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="dialog-footer" style="text-align: center">
|
|
<span bind="explainLogIn"></span>
|
|
</div>
|
|
</div>
|