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
552b896d
Commit
552b896d
authored
Oct 03, 2018
by
Saliya Randunu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix radio button style issues in my company page
parent
3791656b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
3 deletions
+42
-3
common.css
cmsWebApp/webroot/css/common.css
+11
-1
my_company.jsp
cmsWebApp/webroot/extensions/adminportal/my_company.jsp
+31
-2
No files found.
cmsWebApp/webroot/css/common.css
View file @
552b896d
...
...
@@ -4344,7 +4344,16 @@ span.right-img {
.invite-combo
{
text-align
:
center
;
}
.oneit-radio
span
.radio
{
margin
:
0
;}
.oneit-radio
label
:after
{
background-color
:
#03a0e7
;
}
.oneit-radio
label
.checked
::after
{
-webkit-transform
:
scale
(
1
,
1
);
-ms-transform
:
scale
(
1
,
1
);
-o-transform
:
scale
(
1
,
1
);
transform
:
scale
(
1
,
1
);
}
/*Manage User Page End*/
/*popup message*/
...
...
@@ -4948,6 +4957,7 @@ img.alert-icon {float: left;}
.main-company-profile
{
margin
:
40px
auto
0
;
padding
:
0
15px
;
width
:
100%
;}
.hello-company-name
{
font-size
:
18px
;}
.main-invite-friend
{
padding
:
35px
30px
25px
;}
}
@media
screen
and
(
max-width
:
750px
){
...
...
cmsWebApp/webroot/extensions/adminportal/my_company.jsp
View file @
552b896d
...
...
@@ -29,8 +29,27 @@
$("#remove-logo").click(function(){
removeLogo();
});
$(".oneit-radio input").each(function(){
if($(this).is(':checked')) {
updateRadioChecked(this);
}
$(this).click(function(){
if($(this).is(':checked')) {
updateRadioChecked(this);
}
});
});
});
function updateRadioChecked(ele){
$(".oneit-radio label").removeClass('checked');
$(ele).closest('label').addClass('checked');
}
function saveOwnBilling(ownBilling)
{
ajaxProcessAddJQ ("<%= request.getContextPath() %>/extensions/adminportal/inc/save_own_billing.jsp", 'form' ,
...
...
@@ -135,8 +154,18 @@
</div>
</div>
<div class="form-group row">
<oneit:ormInput obj="<%= hiringTeam %>" type="radio" attributeName="ManageOwnBilling" value="true"/>Yes
<oneit:ormInput obj="<%= hiringTeam %>" type="radio" attributeName="ManageOwnBilling" value="false"/>No
<div class="col-md-6">
<div class="radio radio-primary second-radio-primary oneit-radio">
<label >
<oneit:ormInput obj="<%= hiringTeam %>" type="radio" attributeName="ManageOwnBilling" value="true"/>Yes
</label>
</div>
<div class="radio radio-primary second-radio-primary oneit-radio">
<label>
<oneit:ormInput obj="<%= hiringTeam %>" type="radio" attributeName="ManageOwnBilling" value="false"/>No
</label>
</div>
</div>
</div>
<div class="form-group row">
<%
...
...
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