Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PlanetRed
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Digital Experience Group
PlanetRed
Commits
d5648587
Commit
d5648587
authored
14 years ago
by
Matthew Juhl
Browse files
Options
Downloads
Patches
Plain Diff
Remove previous styling information from profile editor JS.
parent
2b1a2f15
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/unl_theme/scripts/JS/enhanceProfileForm.php
+6
-9
6 additions, 9 deletions
plugins/unl_theme/scripts/JS/enhanceProfileForm.php
with
6 additions
and
9 deletions
plugins/unl_theme/scripts/JS/enhanceProfileForm.php
+
6
−
9
View file @
d5648587
...
...
@@ -25,7 +25,7 @@
$
(
document
).
ready
(
function
(){
/* SET UP PROFILE EDIT FORM */
$
(
"
form.cool fieldset:first-child
"
).
css
(
"
margin-top
"
,
"
0
"
);
$
(
"
p.form-description
"
).
remove
();
// get the year and country values for later use
...
...
@@ -46,16 +46,13 @@
$
(
"
form.cool label
"
).
wrap
(
"
<li></li>
"
).
addClass
(
"
element
"
);
$
(
"
form.cool label br
"
).
remove
();
$
(
"
form.cool p.form-field-description
"
).
each
(
function
(){
$
(
this
).
appendTo
(
$
(
this
).
prev
()).
css
({
$
(
this
).
appendTo
(
$
(
this
).
prev
())
/*
.css({
fontSize: "75%",
color: "#1091D1"
});
});
$
(
"
body.fixed #maincontent p.form-field-description
"
).
css
({
marginLeft
:
"
164px
"
,
marginTop
:
"
46px
"
})*/
;
});
$
(
"
form.cool fieldset input[type!=submit], form.cool fieldset select, form.cool fieldset textarea
"
).
wrap
(
'
<div class="element"></div>
'
);
$
(
"
form.cool label div
"
).
each
(
function
(){
$
(
this
).
insertAfter
(
$
(
this
).
parent
());
...
...
@@ -76,7 +73,7 @@
$
(
"
input[name=form_data_profile_attended_to]
"
).
remove
();
$
(
"
input[name=form_data_map_explanation]
"
).
parent
().
parent
().
css
(
"
border-bottom
"
,
"
#CCC 1px dotted
"
);
$
(
"
input[name=form_data_profile_city]
"
).
parent
().
parent
().
prepend
(
'
<h6
style="width:150px;margin:0;text-align:right;"
><strong>Your Map Location</strong></h6>
'
$
(
"
input[name=form_data_profile_city]
"
).
parent
().
parent
().
prepend
(
'
<h6><strong>Your Map Location</strong></h6>
'
+
'
<p>Please enter the location you want to use for yourself on the map.</p>
'
);
...
...
@@ -497,7 +494,7 @@
$
(
"
select[name=form_data_profile_role]
"
).
change
(
alumniCheckbox
);
$
(
"
body.fixed #maincontent textarea[name=form_data_profile_unl_impact]
"
).
parent
().
css
({
clear
:
"
both
"
,
display
:
"
block
"
,
"
margin-left
"
:
"
150px
"
}).
siblings
(
"
label
"
).
css
(
"
width
"
,
"
330px
"
);
//
$("body.fixed #maincontent textarea[name=form_data_profile_unl_impact]").parent().css({clear:"both",display:"block","margin-left":"150px"}).siblings("label").css("width","330px");
$
(
"
#formloading
"
).
remove
();
$
(
"
#maincontent form.cool
"
).
show
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment