[IMP] Use view manager title for approval screen
bzr revid: fme@openerp.com-20120927120241-471jffmm2rvlz59g
This commit is contained in:
parent
72b2b8ce55
commit
f8c80b9af6
|
@ -1,6 +1,6 @@
|
|||
@charset "utf-8";
|
||||
.openerp .oe_oauth2_provider {
|
||||
padding: 0 10px;
|
||||
padding: 10px;
|
||||
}
|
||||
.openerp .oe_oauth2_provider .oe_oauth2_provider_error span.oe_i {
|
||||
font-size: 60px;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
|
||||
.openerp .oe_oauth2_provider
|
||||
padding: 0 10px
|
||||
padding: 10px
|
||||
.oe_oauth2_provider_error
|
||||
span.oe_i
|
||||
font-size: 60px
|
||||
|
|
|
@ -2,22 +2,32 @@
|
|||
<template>
|
||||
|
||||
<t t-name="auth_oauth2_provider">
|
||||
<div class="oe_oauth2_provider">
|
||||
<h1>OpenERP OAuth</h1>
|
||||
<div style="display: none" class="oe_oauth2_provider_error">
|
||||
<span class="oe_i">D</span>
|
||||
<ul/>
|
||||
<div>
|
||||
<div class="oe_view_manager_current">
|
||||
<!-- TODO: need a generic title + buttons template -->
|
||||
<table class="oe_view_manager_header" width="100%">
|
||||
<tr class="oe_header_row">
|
||||
<td>
|
||||
<h2>Authentication</h2>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div style="display: none" class="oe_oauth2_provider_approval">
|
||||
<b>TODO: get ClientID name</b> asks permission for:
|
||||
<ul>
|
||||
<li>
|
||||
TODO: get Client Scopes<br/>
|
||||
Basic information about your account
|
||||
</li>
|
||||
</ul>
|
||||
<button class="oe_button oe_oauth2_provider_allow">Allow Access</button>
|
||||
<button class="oe_button oe_oauth2_provider_deny">No thanks</button>
|
||||
|
||||
<div class="oe_oauth2_provider">
|
||||
<div style="display: none" class="oe_oauth2_provider_error">
|
||||
<span class="oe_i">D</span>
|
||||
<ul/>
|
||||
</div>
|
||||
<div style="display: none" class="oe_oauth2_provider_approval">
|
||||
<b>An application asks permission for:</b>
|
||||
<!--TODO: get Client Scopes-->
|
||||
<ul>
|
||||
<li>Basic information about your account</li>
|
||||
</ul>
|
||||
<button class="oe_button oe_oauth2_provider_allow">Allow Access</button>
|
||||
<button class="oe_button oe_oauth2_provider_deny">No thanks</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</t>
|
||||
|
|
Loading…
Reference in New Issue