nrpieper
/
XAF_how-to-use-google-facebook-and-microsoft-accounts-in-aspnet-xaf-applications-oauth2-demo-t535280
Public
forked from DevExpress-Examples/xaf-web-forms-use-oauth2-authentication-providers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLogonTemplateContent1.ascx
84 lines (82 loc) · 5.01 KB
/
LogonTemplateContent1.ascx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<%@ Control Language="C#" CodeBehind="LogonTemplateContent1.ascx.cs" Inherits="AuthenticationOwin.Web.LogonTemplateContent1" %>
<%@ Register Assembly="DevExpress.ExpressApp.Web.v18.2, Version=18.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.ExpressApp.Web.Templates.ActionContainers"
TagPrefix="xaf" %>
<%@ Register Assembly="DevExpress.ExpressApp.Web.v18.2, Version=18.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.ExpressApp.Web.Templates.Controls"
TagPrefix="xaf" %>
<%@ Register Assembly="DevExpress.ExpressApp.Web.v18.2, Version=18.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.ExpressApp.Web.Controls"
TagPrefix="xaf" %>
<%@ Register Assembly="DevExpress.ExpressApp.Web.v18.2, Version=18.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.ExpressApp.Web.Templates"
TagPrefix="xaf" %>
<meta name="viewport" content="width=device-width, user-scalable=no, maximum-scale=1.0, minimum-scale=1.0">
<div class="LogonTemplate">
<xaf:XafUpdatePanel ID="UPPopupWindowControl" runat="server">
<xaf:XafPopupWindowControl runat="server" ID="PopupWindowControl" />
</xaf:XafUpdatePanel>
<xaf:XafUpdatePanel ID="UPHeader" runat="server">
<div class="white borderBottom width100" id="headerTableDiv">
<div class="paddings sizeLimit" style="margin: auto">
<table id="headerTable" class="headerTable xafAlignCenter white width100 sizeLimit" style="height: 60px;">
<tbody>
<tr>
<td>
<asp:HyperLink runat="server" NavigateUrl="#" ID="LogoLink">
<xaf:ThemedImageControl ID="TIC" DefaultThemeImageLocation="Images" ImageName="Logo.png" BorderWidth="0px" runat="server" />
</asp:HyperLink>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</xaf:XafUpdatePanel>
<div style="top: 25%; width: 100%; position: absolute">
<table class="LogonMainTable LogonContentWidth">
<tr>
<td>
<xaf:XafUpdatePanel ID="UPEI" runat="server">
<xaf:ErrorInfoControl ID="ErrorInfo" Style="margin: 10px 0px 10px 0px" runat="server" />
</xaf:XafUpdatePanel>
</td>
</tr>
<tr>
<td>
<table class="LogonContent LogonContentWidth">
<tr>
<td class="LogonContentCell">
<xaf:XafUpdatePanel ID="UPVSC" runat="server">
<xaf:ViewSiteControl ID="viewSiteControl" runat="server" />
</xaf:XafUpdatePanel>
<xaf:XafUpdatePanel ID="UPPopupActions" runat="server" CssClass="right">
<xaf:ActionContainerHolder ID="PopupActions" runat="server" Orientation="Horizontal" ContainerStyle="Buttons">
<Menu Width="100%" ItemAutoWidth="False" />
<ActionContainers>
<xaf:WebActionContainer ContainerId="PopupActions" />
</ActionContainers>
</xaf:ActionContainerHolder>
</xaf:XafUpdatePanel>
</td>
</tr>
<tr>
<td>
<table id="UseExisting" class="StaticText width100" style="margin: 50px 0 20px;">
<tr>
<td style="min-width: 130px;">or use existing</td>
<td class="width100" style="padding-top: 7px;"><hr></td>
</tr>
</table>
<xaf:XafUpdatePanel ID="XafUpdatePanelOAuth" runat="server" CssClass="UPOAuth right">
<xaf:ActionContainerHolder ID="OAuthActions" CssClass="UPOAuthACH" runat="server" Orientation="Horizontal" ContainerStyle="Buttons">
<Menu ID="OAuthMenu" ClientInstanceName="UPOAuthMenu" HorizontalAlign="Left" Width="100%" ItemAutoWidth="False" />
<ActionContainers>
<xaf:WebActionContainer ContainerId="OAuthActions" />
</ActionContainers>
</xaf:ActionContainerHolder>
</xaf:XafUpdatePanel>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</div>