Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PERFORMA_REPLICA
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Muhammad Usman
PERFORMA_REPLICA
Commits
0ae8c1a6
Commit
0ae8c1a6
authored
Feb 05, 2018
by
Nilu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
responsive alert
parent
3f5b3836
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
90 additions
and
0 deletions
+90
-0
common.css
cmsWebApp/webroot/css/common.css
+40
-0
CustomServlets_adminPortal.xml
...oot/extensions/adminportal/CustomServlets_adminPortal.xml
+4
-0
htmlheader.jsp
cmsWebApp/webroot/extensions/adminportal/inc/htmlheader.jsp
+9
-0
responsive_alert.jsp
...ebApp/webroot/extensions/adminportal/responsive_alert.jsp
+29
-0
sign_in.jsp
cmsWebApp/webroot/extensions/adminportal/sign_in.jsp
+8
-0
No files found.
cmsWebApp/webroot/css/common.css
View file @
0ae8c1a6
...
@@ -2557,6 +2557,46 @@ a.forgot-pass {
...
@@ -2557,6 +2557,46 @@ a.forgot-pass {
color
:
#4a4a4a
;
color
:
#4a4a4a
;
padding
:
0
60px
;
padding
:
0
60px
;
}
}
.reponsive-alert
{
display
:
block
;
width
:
100%
;
height
:
100%
;
padding
:
2.5%
;
box-sizing
:
border-box
;
}
.responsive-alert-top
{
height
:
100%
;
}
.reponsive-alert
.responsive-alert-body
{
height
:
100%
;
padding
:
15%
0
;
}
.grin-with-sweat
{
font-size
:
100px
;
}
.responsive-alert-body
{
border-radius
:
2px
;
background-color
:
#ffffff
;
box-shadow
:
0
0
30px
5px
rgba
(
0
,
0
,
0
,
0.2
);
border
:
1px
solid
#e8e8eb
;
margin
:
0
auto
;
text-align
:
center
;
padding
:
0
;
}
.responsive-alert-body
h2
{
font-size
:
22px
;
font-weight
:
600
;
color
:
#4a4a4a
;
margin
:
0
0
22px
;
}
.responsive-alert-body
p
{
font-size
:
16px
;
font-weight
:
300
;
line-height
:
1.56
;
text-align
:
center
;
color
:
#4a4a4a
;
padding
:
0
60px
;
}
.create-y-f-job
{
.create-y-f-job
{
width
:
100%
;
width
:
100%
;
border-top
:
1px
solid
#ededef
;
border-top
:
1px
solid
#ededef
;
...
...
cmsWebApp/webroot/extensions/adminportal/CustomServlets_adminPortal.xml
View file @
0ae8c1a6
...
@@ -110,6 +110,10 @@
...
@@ -110,6 +110,10 @@
</FORM>
</FORM>
</NODE>
</NODE>
<NODE
name=
"responsive_alert_jsp"
factory=
"Participant"
>
<INHERITS
factory=
"Named"
nodename=
"CoreORMAdminNoPriv"
/>
</NODE>
<NODE
name=
"verification_sent_jsp"
factory=
"Participant"
>
<NODE
name=
"verification_sent_jsp"
factory=
"Participant"
>
<INHERITS
factory=
"Named"
nodename=
"CoreORMAdminNoPriv"
/>
<INHERITS
factory=
"Named"
nodename=
"CoreORMAdminNoPriv"
/>
</NODE>
</NODE>
...
...
cmsWebApp/webroot/extensions/adminportal/inc/htmlheader.jsp
View file @
0ae8c1a6
...
@@ -20,6 +20,8 @@
...
@@ -20,6 +20,8 @@
<
%@
include
file=
"/inc/std_imports.jsp"
%
>
<
%@
include
file=
"/inc/std_imports.jsp"
%
>
<
%@
include
file=
"/hotjar.jsp"
%
>
<
%@
include
file=
"/hotjar.jsp"
%
>
<
%@
include
file=
"/heapAnalysis.jsp"
%
>
<
%@
include
file=
"/heapAnalysis.jsp"
%
>
<
%@
page
import=
"oneit.servlets.portability.BrowserServices"
%
>
</head>
</head>
<script>
<script>
window
.
intercomSettings
=
{
window
.
intercomSettings
=
{
...
@@ -32,6 +34,13 @@
...
@@ -32,6 +34,13 @@
</script>
</script>
<body>
<body>
<
%
<
%
boolean
isMobile =
BrowserServices.isMobile(request);
if
(
isMobile
)
{
response
.
sendRedirect
(
request
.
getContextPath
()
+
"/
extensions
/
adminportal
/
responsive_alert
.
jsp
");
}
Article
home =
WebUtils.getArticleByShortCut(objTran,
WebUtils
.
ADMIN_HOME
);
Article
home =
WebUtils.getArticleByShortCut(objTran,
WebUtils
.
ADMIN_HOME
);
String
homeUrl =
home.getLink(request);
String
homeUrl =
home.getLink(request);
String
signoutUrl =
"logout.jsp?nextURL="
+
homeUrl
;
String
signoutUrl =
"logout.jsp?nextURL="
+
homeUrl
;
...
...
cmsWebApp/webroot/extensions/adminportal/responsive_alert.jsp
0 → 100644
View file @
0ae8c1a6
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ page extends="oneit.servlets.jsp.FormJSP" %>
<%@ include file="/setuprequest.jsp" %>
<%@ include file="/inc/stdimports50.jsp" %><%-- This is in cougar --%>
<%@ include file="/extensions/performa/inc/stdimports.jsp" %>
<%! protected String getName (ServletConfig config) { return "responsive_alert_jsp"; } %>
<%@ include file="inc/htmlheader_nopriv.jsp" %>
<div class="modal reponsive-alert" role="dialog">
<div class="responsive-alert-top">
<div class="responsive-alert-body">
<div class="responsive-alert-wrapper">
<div class="grin-with-sweat">😅</div>
<h2>Uh oh</h2>
<p> Talentology for Hiring Teams is currently available on desktop computers only.</p>
<p>Sorry about that!</p>
<p>On your desktop, check your email for our "Welcome to Talentology" message, and follow its link to get started!</p>
<div class="create-y-f-job">
<img src="<%= request.getContextPath() %>/images/logo.svg">
</div>
</div>
</div>
</div>
</div>
<%@ include file="inc/htmlfooter_nopriv.jsp" %>
\ No newline at end of file
cmsWebApp/webroot/extensions/adminportal/sign_in.jsp
View file @
0ae8c1a6
...
@@ -3,9 +3,17 @@
...
@@ -3,9 +3,17 @@
<%@ include file="/setuprequest.jsp" %>
<%@ include file="/setuprequest.jsp" %>
<%@ include file="/inc/stdimports50.jsp" %><%-- This is in cougar --%>
<%@ include file="/inc/stdimports50.jsp" %><%-- This is in cougar --%>
<%@ include file="/extensions/performa/inc/stdimports.jsp" %>
<%@ include file="/extensions/performa/inc/stdimports.jsp" %>
<%@page import="oneit.servlets.portability.BrowserServices"%>
<%! protected String getName (ServletConfig config) { return "signin_jsp"; } %>
<%! protected String getName (ServletConfig config) { return "signin_jsp"; } %>
<%
<%
boolean isMobile = BrowserServices.isMobile(request);
if(isMobile)
{
response.sendRedirect(request.getContextPath() + "/extensions/adminportal/responsive_alert.jsp");
}
ORMProcessState process = (ORMProcessState) ProcessDecorator.getDefaultProcess(request);
ORMProcessState process = (ORMProcessState) ProcessDecorator.getDefaultProcess(request);
ObjectTransaction objTran = process.getTransaction ();
ObjectTransaction objTran = process.getTransaction ();
String nextPage = WebUtils.getArticleByShortCut(objTran, WebUtils.ADMIN_HOME).getLink(request);
String nextPage = WebUtils.getArticleByShortCut(objTran, WebUtils.ADMIN_HOME).getLink(request);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment