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
35c96cad
Commit
35c96cad
authored
Nov 21, 2018
by
Saliya Randunu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
S12523741 # Client - Incoming Issues (raised by Client) #UX is not forcing selection of a Plan
parent
76f004ae
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
73 additions
and
15 deletions
+73
-15
common.css
cmsWebApp/webroot/css/common.css
+12
-0
manage_plan.jsp
cmsWebApp/webroot/extensions/adminportal/manage_plan.jsp
+61
-15
No files found.
cmsWebApp/webroot/css/common.css
View file @
35c96cad
...
...
@@ -6200,6 +6200,18 @@ label, label .label-title span {
.manage-plan-hidden-info
{
display
:
none
;
}
.oneit-radio.checked
.manage-plan-hidden-info
{
display
:
block
;}
.overlayx
{
display
:
none
;
width
:
100%
;
height
:
100%
;
min-height
:
100%
;
position
:
fixed
;
/* Stay in place */
z-index
:
1000
;
/* Sit on top */
left
:
0
;
top
:
0
;
background-color
:
transparent
;
}
.subscription-billed
{
height
:
60px
;
width
:
100%
;
...
...
cmsWebApp/webroot/extensions/adminportal/manage_plan.jsp
View file @
35c96cad
...
...
@@ -38,6 +38,7 @@
%>
<script type="text/javascript">
var Popup = null;
var PopupCoupon = null;
$(document).ready(function()
{
setTabingSideBarHeight();
...
...
@@ -50,14 +51,16 @@
width : 600, height : 640
});
var isinvliadCoupon = getParameterByName("invalidcoupon");
if (isinvliadCoupon==='true'){
PopupCoupon = new jBox('Modal', {
id : "change-plan",
overlay : true,
content : $("#invalid-coupon-popup") ,
overlay : true,
width : 500, height : 400
});
var isinvliadCoupon = getParameterByName("invalidcoupon");
if (isinvliadCoupon==='true'){
PopupCoupon.setContent($("#invalid-coupon-popup"));
PopupCoupon.open();
}
...
...
@@ -77,14 +80,42 @@
$(".manage-plan-row input").on("change", function(){
setTabingSideBarHeight();
});
disableOutSideWhileChoosePlan();
$(document).on("click",".plan-selection input",function(e)
{
disableOutSideWhileChoosePlan();
});
});
function disableOutSideWhileChoosePlan(){
if ($(".manage-plan-hidden-info").is(":visible")){
if(!$(".choose-plan-item.active").length){
$("a ").each(function(){
if ( !$(this).parents(".choose-plan-wrap").length ) {
if($(this).prop("tagName") === "A"){
$(this).prop("onclick", null).off("click");
$(this).css("cursor","arrow").click(function(){
PopupCoupon.setContent($("#force-to-choose-popup"));
PopupCoupon.open();
return false;
});
}
}
});
}
}
}
function paymentPlanChanged()
{
$("#savePaymentPlan").click();
}
</script>
<div class="overlayx"></div>
<div class="container-fluid">
<div class="row content">
<div class="main-content-area">
...
...
@@ -110,6 +141,7 @@
<div class="company-content-area">
<!-- Tab panes -->
<div class="tab-content">
<div class="choose-plan-wrap">
<div class="tab-pane active" id="company-detail">
<div>
<div class="tabpage-title manage-plan">
...
...
@@ -156,7 +188,7 @@
<div class="rectangle-5">
<div class="manage-plan-row">
<div class="radio">
<label>
<label
class="plan-selection"
>
<oneit:ormInput obj="<%= hiringTeam %>" type="radio" attributeName="IsPPJ" value="true" onchange="paymentPlanChanged()"/>
</label>
</div>
...
...
@@ -191,7 +223,7 @@
<div class="rectangle-5">
<div class="manage-plan-row">
<div class="radio">
<label>
<label
class="plan-selection"
>
<oneit:ormInput obj="<%= hiringTeam %>" type="radio" attributeName="IsPPJ" value="false"/>
</label>
</div>
...
...
@@ -421,14 +453,6 @@
Looking to cancel your account? Please <a href="http://www.talentology.com/">contact us.</a>
</div>
</div>
</div>
</div>
</div>
</oneit:form>
</div>
</div>
</div>
<div id="invalid-coupon-popup" style="display:none" >
<div class="change-plan-content">
...
...
@@ -443,5 +467,27 @@
</div>
</div>
<div id="force-to-choose-popup" style="display:none" >
<div class="change-plan-content">
<h3>Alert!</h3>
<div class="upgrade-info">
<span>You must select your plan before continue. <br>Try again</span>
</div>
</div>
<div class="change-plan-button">
<a class="invalid-coupon-close-button popup-no-button">Close & Retry</a>
</div>
</div>
</div>
</div>
</div>
</div>
</oneit:form>
</div>
</div>
</div>
</oneit:dynIncluded>
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