Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
UNL_Lockup_Factory
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
UNL_Lockup_Factory
Commits
11810817
Commit
11810817
authored
3 years ago
by
Jeff Sturek
Browse files
Options
Downloads
Plain Diff
Merge branch 'update-notices' into 'master'
Implement DCF Notices See merge request
!15
parents
6b526a9b
0e8769d9
No related branches found
No related tags found
1 merge request
!15
Implement DCF Notices
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
less/main.less
+0
-4
0 additions, 4 deletions
less/main.less
public/css/main.css
+1
-1
1 addition, 1 deletion
public/css/main.css
src/Views/main_template.php
+11
-18
11 additions, 18 deletions
src/Views/main_template.php
src/Views/new_lockup.php
+3
-10
3 additions, 10 deletions
src/Views/new_lockup.php
with
15 additions
and
33 deletions
less/main.less
+
0
−
4
View file @
11810817
...
@@ -84,10 +84,6 @@ img.height-40 {
...
@@ -84,10 +84,6 @@ img.height-40 {
}
}
}
}
.wdn_notice {
margin-top: 1em;
}
.caps {
.caps {
text-transform: uppercase;
text-transform: uppercase;
color: inherit;
color: inherit;
...
...
This diff is collapsed.
Click to expand it.
public/css/main.css
+
1
−
1
View file @
11810817
.dcf-nav-menu-child
ul
{
list-style
:
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'/%3E")
;
margin-bottom
:
0
;
padding-left
:
0
}
a
{
text-decoration
:
none
}
label
>
input
{
visibility
:
hidden
;
position
:
absolute
}
label
img
{
padding
:
5px
}
label
>
input
+
img
,
label
>
input
+
img
+
img
{
cursor
:
pointer
;
-webkit-box-shadow
:
0
0
8px
#DDD
;
box-shadow
:
0
0
8px
#DDD
}
label
>
input
:checked
+
img
,
label
>
input
:checked
+
img
+
img
{
-webkit-box-shadow
:
0
0
8px
#1B9AE8
;
box-shadow
:
0
0
8px
#1B9AE8
}
form
legend
{
font-size
:
1.5em
}
textarea
{
resize
:
vertical
}
.page-title
{
margin-top
:
0
}
div
.left
,
section
.left
,
td
.left
,
th
.left
{
text-align
:
left
}
div
.center
,
label
.center
,
section
.center
,
td
.center
,
th
.center
{
text-align
:
center
}
div
.right
,
section
.right
,
td
.right
,
th
.right
{
text-align
:
right
}
img
.height-36
{
max-height
:
108px
}
img
.height-38
{
max-height
:
114px
}
img
.height-40
{
max-height
:
120px
}
.approval-bug
{
text-align
:
center
;
background
:
#1b9ae8
;
border
:
1px
solid
#137cbd
;
border-radius
:
1em
;
padding
:
1em
;
color
:
#fefdfa
;
font-family
:
"Gotham SSm A"
,
"Gotham SSm B"
,
Verdana
,
"Verdana Ref"
,
Geneva
,
Tahoma
,
"Lucida Grande"
,
"Lucida Sans Unicode"
,
"Lucida Sans"
,
"DejaVu Sans"
,
"Bitstream Vera Sans"
,
"Liberation Sans"
,
sans-serif
;
font-weight
:
400
;
font-style
:
normal
}
.approval-bug.approved
{
background
:
#00bc3c
;
border
:
1px
solid
#00892c
}
.approval-bug.denied
{
background
:
#ff5151
;
border
:
1px
solid
#d00000
}
.wdn_notice
{
margin-top
:
1em
}
.caps
{
text-transform
:
uppercase
;
color
:
inherit
}
.featured-icon
{
background-color
:
#00BD3C
;
height
:
144px
;
width
:
144px
;
border-radius
:
80px
;
float
:
none
!important
;
margin
:
0
auto
!important
}
.featured-icon.red
{
background-color
:
#D00000
}
.featured-icon.blue
{
background-color
:
#1B9AE8
}
.table-actions
{
line-height
:
1
}
.table-actions
a
,
.table-actions
button
{
vertical-align
:
middle
}
.delete-form
{
display
:
inline
;
padding
:
0
}
svg
.preview
{
border
:
2px
dashed
#DDD
;
max-width
:
100%
}
.wdn-hero
{
position
:
relative
;
overflow
:
hidden
;
height
:
25.24em
;
height
:
42vh
;
background-color
:
#000
;
display
:
-ms-flexbox
;
display
:
-webkit-box
;
display
:
flex
;
-ms-flex-align
:
center
;
-webkit-box-align
:
center
;
align-items
:
center
}
.wdn-hero
video
{
width
:
100%
}
.wdn-hero-text
{
position
:
relative
;
bottom
:
auto
;
display
:
-ms-flexbox
;
display
:
-webkit-box
;
display
:
flex
;
-ms-flex-direction
:
column
;
-webkit-box-orient
:
vertical
;
-webkit-box-direction
:
normal
;
flex-direction
:
column
;
width
:
100%
;
text-align
:
center
}
.wdn-hero-heading
{
z-index
:
1
;
margin
:
0
;
font-size
:
2.67em
;
text-transform
:
uppercase
;
color
:
#fff
}
.wdn-hero-heading
.hero-line
{
display
:
inline-block
;
line-height
:
1
;
border-top
:
1px
solid
rgba
(
255
,
255
,
255
,
.2
);
border-bottom
:
1px
solid
rgba
(
255
,
255
,
255
,
.2
)}
.is-video.wdn-hero
.wdn-hero-video
{
position
:
absolute
;
top
:
0
;
left
:
0
}
.tooltip
{
background-color
:
#1B9AE8
;
border-radius
:
2em
;
height
:
1.5em
;
width
:
1.5em
;
padding
:
0
.2em
;
color
:
#fff
;
display
:
inline-block
;
text-align
:
center
;
font-size
:
.85em
;
line-height
:
1.6em
;
position
:
relative
;
font-size
:
.8125rem
}
.tooltip
>
div
{
position
:
absolute
;
display
:
none
;
background-color
:
#fff
;
color
:
#000
;
-webkit-box-shadow
:
0
1px
4px
rgba
(
0
,
0
,
0
,
.2
);
box-shadow
:
0
1px
4px
rgba
(
0
,
0
,
0
,
.2
);
padding
:
.75em
;
bottom
:
160%
;
left
:
-91px
;
width
:
200px
;
text-align
:
left
;
z-index
:
250
}
.tooltip
>
div
:before
{
background-color
:
#fff
;
content
:
""
;
display
:
block
;
width
:
15px
;
height
:
15px
;
position
:
absolute
;
bottom
:
-8px
;
left
:
50%
;
margin-left
:
-7px
;
transform
:
rotate
(
45deg
);
-ms-transform
:
rotate
(
45deg
);
-o-transform
:
rotate
(
45deg
);
-moz-transform
:
rotate
(
45deg
);
-webkit-transform
:
rotate
(
45deg
);
-webkit-box-shadow
:
0
0
4px
rgba
(
0
,
0
,
0
,
.25
);
box-shadow
:
0
0
4px
rgba
(
0
,
0
,
0
,
.25
)}
.tooltip
>
div
:after
{
content
:
""
;
height
:
12px
;
width
:
40px
;
background-color
:
#fff
;
display
:
block
;
position
:
absolute
;
bottom
:
0
;
left
:
50%
;
margin-left
:
-24px
}
.tooltip.hang-right
>
div
{
left
:
-27px
}
.tooltip.hang-left
>
div
{
left
:
-157px
}
.tooltip.hang-right
>
div
:before
{
left
:
34px
;
margin-left
:
-7px
}
.tooltip.hang-right
>
div
:after
{
left
:
34px
;
margin-left
:
-24px
}
.tooltip.hang-left
>
div
:before
{
left
:
166px
;
margin-left
:
-7px
}
.tooltip.hang-left
>
div
:after
{
left
:
166px
;
margin-left
:
-24px
}
.tooltip
ul
li
{
margin-bottom
:
.75em
}
.tooltip
span
.heading
{
font-family
:
"Tungsten A"
,
"Tungsten B"
,
HelveticaNeueCondensed
,
HelveticaNeue-Condensed
,
"Helvetica Neue Condensed"
,
HelveticaNeueRomanCondensed
,
HelveticaNeue-Roman-Condensed
,
"Helvetica Neue Roman Condensed"
,
"Arial Narrow"
,
HelveticaNeue
,
"Helvetica Neue"
,
HelveticaNeueRoman
,
HelveticaNeue-Roman
,
"Helvetica Neue Roman"
,
Helvetica
,
Tahoma
,
Geneva
,
Arial
,
sans-serif
;
font-size
:
1.777em
}
.tooltip
:hover
>
div
{
display
:
block
}
.tooltip
p
{
margin
:
0
}
.tooltip.italic
*
{
font-style
:
italic
}
.toolbox
,
.visual-island
{
background
:
#f9f8f5
;
margin-bottom
:
1em
;
word-wrap
:
break-word
;
padding
:
0
!important
}
.toolbox
.details
,
.toolbox
.tools
,
.visual-island
.details
,
.visual-island
.tools
{
padding
:
1em
;
border-left
:
1px
solid
#d5d5d2
;
border-right
:
1px
solid
#d5d5d2
;
border-bottom
:
1px
solid
#d5d5d2
}
.toolbox
.details.top-border
,
.toolbox
.tools.top-border
,
.visual-island
.details.top-border
,
.visual-island
.tools.top-border
{
border-top
:
1px
solid
#d5d5d2
}
.toolbox
.vi-header
,
.toolbox
h1
,
.toolbox
h2
,
.toolbox
h3
,
.toolbox
h4
,
.toolbox
h5
,
.toolbox
h6
,
.visual-island
.vi-header
,
.visual-island
h1
,
.visual-island
h2
,
.visual-island
h3
,
.visual-island
h4
,
.visual-island
h5
,
.visual-island
h6
{
display
:
block
;
font-size
:
.802em
!important
;
margin
:
0
;
border-bottom
:
1px
solid
#474746
;
font-family
:
"Gotham SSm A"
,
"Gotham SSm B"
,
Verdana
,
"Verdana Ref"
,
Geneva
,
Tahoma
,
"Lucida Grande"
,
"Lucida Sans Unicode"
,
"Lucida Sans"
,
"DejaVu Sans"
,
"Bitstream Vera Sans"
,
"Liberation Sans"
,
sans-serif
;
width
:
100%
;
background-color
:
#474746
;
padding
:
1em
;
text-transform
:
uppercase
;
color
:
#fff
;
font-weight
:
400
;
font-style
:
normal
;
text-align
:
center
}
.toolbox
p
,
.visual-island
p
{
padding
:
0
1em
1em
1em
}
.toolbox
ul
,
.visual-island
ul
{
padding
:
0
;
padding-left
:
1em
;
margin
:
0
}
.toolbox
ul
a
,
.visual-island
ul
a
{
border-bottom
:
none
;
font-family
:
"Gotham SSm A"
,
"Gotham SSm B"
,
Verdana
,
"Verdana Ref"
,
Geneva
,
Tahoma
,
"Lucida Grande"
,
"Lucida Sans Unicode"
,
"Lucida Sans"
,
"DejaVu Sans"
,
"Bitstream Vera Sans"
,
"Liberation Sans"
,
sans-serif
}
@media
(
min-width
:
0px
){
.wdn-hero
{
height
:
5em
;
height
:
10vh
;
max-height
:
8em
}}
@media
(
min-height
:
480px
)
and
(
min-width
:
480px
){
.wdn-hero
{
height
:
15em
;
height
:
30vh
;
max-height
:
22em
}}
@media
(
min-height
:
718px
)
and
(
min-width
:
960px
){
.wdn-hero
{
height
:
25.24em
;
height
:
56vh
;
max-height
:
31.474em
}}
@media
(
min-height
:
895px
)
and
(
min-width
:
1044px
){
.wdn-hero
{
height
:
31.474em
;
height
:
75vh
;
max-height
:
33.645em
}}
@media
(
min-width
:
480px
){
.wdn-hero-heading
{
font-size
:
3.16em
}}
@media
(
min-width
:
768px
){
.wdn-hero-heading
{
font-size
:
4.21em
}}
@media
(
min-width
:
1044px
){
.wdn-hero-heading
{
font-size
:
4.74em
}}
.dcf-nav-menu-child
ul
{
list-style
:
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'/%3E")
;
margin-bottom
:
0
;
padding-left
:
0
}
a
{
text-decoration
:
none
}
label
>
input
{
visibility
:
hidden
;
position
:
absolute
}
label
img
{
padding
:
5px
}
label
>
input
+
img
,
label
>
input
+
img
+
img
{
cursor
:
pointer
;
-webkit-box-shadow
:
0
0
8px
#DDD
;
box-shadow
:
0
0
8px
#DDD
}
label
>
input
:checked
+
img
,
label
>
input
:checked
+
img
+
img
{
-webkit-box-shadow
:
0
0
8px
#1B9AE8
;
box-shadow
:
0
0
8px
#1B9AE8
}
form
legend
{
font-size
:
1.5em
}
textarea
{
resize
:
vertical
}
.page-title
{
margin-top
:
0
}
div
.left
,
section
.left
,
td
.left
,
th
.left
{
text-align
:
left
}
div
.center
,
label
.center
,
section
.center
,
td
.center
,
th
.center
{
text-align
:
center
}
div
.right
,
section
.right
,
td
.right
,
th
.right
{
text-align
:
right
}
img
.height-36
{
max-height
:
108px
}
img
.height-38
{
max-height
:
114px
}
img
.height-40
{
max-height
:
120px
}
.approval-bug
{
text-align
:
center
;
background
:
#1b9ae8
;
border
:
1px
solid
#137cbd
;
border-radius
:
1em
;
padding
:
1em
;
color
:
#fefdfa
;
font-family
:
"Gotham SSm A"
,
"Gotham SSm B"
,
Verdana
,
"Verdana Ref"
,
Geneva
,
Tahoma
,
"Lucida Grande"
,
"Lucida Sans Unicode"
,
"Lucida Sans"
,
"DejaVu Sans"
,
"Bitstream Vera Sans"
,
"Liberation Sans"
,
sans-serif
;
font-weight
:
400
;
font-style
:
normal
}
.approval-bug.approved
{
background
:
#00bc3c
;
border
:
1px
solid
#00892c
}
.approval-bug.denied
{
background
:
#ff5151
;
border
:
1px
solid
#d00000
}
.caps
{
text-transform
:
uppercase
;
color
:
inherit
}
.featured-icon
{
background-color
:
#00BD3C
;
height
:
144px
;
width
:
144px
;
border-radius
:
80px
;
float
:
none
!important
;
margin
:
0
auto
!important
}
.featured-icon.red
{
background-color
:
#D00000
}
.featured-icon.blue
{
background-color
:
#1B9AE8
}
.table-actions
{
line-height
:
1
}
.table-actions
a
,
.table-actions
button
{
vertical-align
:
middle
}
.delete-form
{
display
:
inline
;
padding
:
0
}
svg
.preview
{
border
:
2px
dashed
#DDD
;
max-width
:
100%
}
.wdn-hero
{
position
:
relative
;
overflow
:
hidden
;
height
:
25.24em
;
height
:
42vh
;
background-color
:
#000
;
display
:
-ms-flexbox
;
display
:
-webkit-box
;
display
:
flex
;
-ms-flex-align
:
center
;
-webkit-box-align
:
center
;
align-items
:
center
}
.wdn-hero
video
{
width
:
100%
}
.wdn-hero-text
{
position
:
relative
;
bottom
:
auto
;
display
:
-ms-flexbox
;
display
:
-webkit-box
;
display
:
flex
;
-ms-flex-direction
:
column
;
-webkit-box-orient
:
vertical
;
-webkit-box-direction
:
normal
;
flex-direction
:
column
;
width
:
100%
;
text-align
:
center
}
.wdn-hero-heading
{
z-index
:
1
;
margin
:
0
;
font-size
:
2.67em
;
text-transform
:
uppercase
;
color
:
#fff
}
.wdn-hero-heading
.hero-line
{
display
:
inline-block
;
line-height
:
1
;
border-top
:
1px
solid
rgba
(
255
,
255
,
255
,
.2
);
border-bottom
:
1px
solid
rgba
(
255
,
255
,
255
,
.2
)}
.is-video.wdn-hero
.wdn-hero-video
{
position
:
absolute
;
top
:
0
;
left
:
0
}
.tooltip
{
background-color
:
#1B9AE8
;
border-radius
:
2em
;
height
:
1.5em
;
width
:
1.5em
;
padding
:
0
.2em
;
color
:
#fff
;
display
:
inline-block
;
text-align
:
center
;
font-size
:
.85em
;
line-height
:
1.6em
;
position
:
relative
;
font-size
:
.8125rem
}
.tooltip
>
div
{
position
:
absolute
;
display
:
none
;
background-color
:
#fff
;
color
:
#000
;
-webkit-box-shadow
:
0
1px
4px
rgba
(
0
,
0
,
0
,
.2
);
box-shadow
:
0
1px
4px
rgba
(
0
,
0
,
0
,
.2
);
padding
:
.75em
;
bottom
:
160%
;
left
:
-91px
;
width
:
200px
;
text-align
:
left
;
z-index
:
250
}
.tooltip
>
div
:before
{
background-color
:
#fff
;
content
:
""
;
display
:
block
;
width
:
15px
;
height
:
15px
;
position
:
absolute
;
bottom
:
-8px
;
left
:
50%
;
margin-left
:
-7px
;
transform
:
rotate
(
45deg
);
-ms-transform
:
rotate
(
45deg
);
-o-transform
:
rotate
(
45deg
);
-moz-transform
:
rotate
(
45deg
);
-webkit-transform
:
rotate
(
45deg
);
-webkit-box-shadow
:
0
0
4px
rgba
(
0
,
0
,
0
,
.25
);
box-shadow
:
0
0
4px
rgba
(
0
,
0
,
0
,
.25
)}
.tooltip
>
div
:after
{
content
:
""
;
height
:
12px
;
width
:
40px
;
background-color
:
#fff
;
display
:
block
;
position
:
absolute
;
bottom
:
0
;
left
:
50%
;
margin-left
:
-24px
}
.tooltip.hang-right
>
div
{
left
:
-27px
}
.tooltip.hang-left
>
div
{
left
:
-157px
}
.tooltip.hang-right
>
div
:before
{
left
:
34px
;
margin-left
:
-7px
}
.tooltip.hang-right
>
div
:after
{
left
:
34px
;
margin-left
:
-24px
}
.tooltip.hang-left
>
div
:before
{
left
:
166px
;
margin-left
:
-7px
}
.tooltip.hang-left
>
div
:after
{
left
:
166px
;
margin-left
:
-24px
}
.tooltip
ul
li
{
margin-bottom
:
.75em
}
.tooltip
span
.heading
{
font-family
:
"Tungsten A"
,
"Tungsten B"
,
HelveticaNeueCondensed
,
HelveticaNeue-Condensed
,
"Helvetica Neue Condensed"
,
HelveticaNeueRomanCondensed
,
HelveticaNeue-Roman-Condensed
,
"Helvetica Neue Roman Condensed"
,
"Arial Narrow"
,
HelveticaNeue
,
"Helvetica Neue"
,
HelveticaNeueRoman
,
HelveticaNeue-Roman
,
"Helvetica Neue Roman"
,
Helvetica
,
Tahoma
,
Geneva
,
Arial
,
sans-serif
;
font-size
:
1.777em
}
.tooltip
:hover
>
div
{
display
:
block
}
.tooltip
p
{
margin
:
0
}
.tooltip.italic
*
{
font-style
:
italic
}
.toolbox
,
.visual-island
{
background
:
#f9f8f5
;
margin-bottom
:
1em
;
word-wrap
:
break-word
;
padding
:
0
!important
}
.toolbox
.details
,
.toolbox
.tools
,
.visual-island
.details
,
.visual-island
.tools
{
padding
:
1em
;
border-left
:
1px
solid
#d5d5d2
;
border-right
:
1px
solid
#d5d5d2
;
border-bottom
:
1px
solid
#d5d5d2
}
.toolbox
.details.top-border
,
.toolbox
.tools.top-border
,
.visual-island
.details.top-border
,
.visual-island
.tools.top-border
{
border-top
:
1px
solid
#d5d5d2
}
.toolbox
.vi-header
,
.toolbox
h1
,
.toolbox
h2
,
.toolbox
h3
,
.toolbox
h4
,
.toolbox
h5
,
.toolbox
h6
,
.visual-island
.vi-header
,
.visual-island
h1
,
.visual-island
h2
,
.visual-island
h3
,
.visual-island
h4
,
.visual-island
h5
,
.visual-island
h6
{
display
:
block
;
font-size
:
.802em
!important
;
margin
:
0
;
border-bottom
:
1px
solid
#474746
;
font-family
:
"Gotham SSm A"
,
"Gotham SSm B"
,
Verdana
,
"Verdana Ref"
,
Geneva
,
Tahoma
,
"Lucida Grande"
,
"Lucida Sans Unicode"
,
"Lucida Sans"
,
"DejaVu Sans"
,
"Bitstream Vera Sans"
,
"Liberation Sans"
,
sans-serif
;
width
:
100%
;
background-color
:
#474746
;
padding
:
1em
;
text-transform
:
uppercase
;
color
:
#fff
;
font-weight
:
400
;
font-style
:
normal
;
text-align
:
center
}
.toolbox
p
,
.visual-island
p
{
padding
:
0
1em
1em
1em
}
.toolbox
ul
,
.visual-island
ul
{
padding
:
0
;
padding-left
:
1em
;
margin
:
0
}
.toolbox
ul
a
,
.visual-island
ul
a
{
border-bottom
:
none
;
font-family
:
"Gotham SSm A"
,
"Gotham SSm B"
,
Verdana
,
"Verdana Ref"
,
Geneva
,
Tahoma
,
"Lucida Grande"
,
"Lucida Sans Unicode"
,
"Lucida Sans"
,
"DejaVu Sans"
,
"Bitstream Vera Sans"
,
"Liberation Sans"
,
sans-serif
}
@media
(
min-width
:
0px
){
.wdn-hero
{
height
:
5em
;
height
:
10vh
;
max-height
:
8em
}}
@media
(
min-height
:
480px
)
and
(
min-width
:
480px
){
.wdn-hero
{
height
:
15em
;
height
:
30vh
;
max-height
:
22em
}}
@media
(
min-height
:
718px
)
and
(
min-width
:
960px
){
.wdn-hero
{
height
:
25.24em
;
height
:
56vh
;
max-height
:
31.474em
}}
@media
(
min-height
:
895px
)
and
(
min-width
:
1044px
){
.wdn-hero
{
height
:
31.474em
;
height
:
75vh
;
max-height
:
33.645em
}}
@media
(
min-width
:
480px
){
.wdn-hero-heading
{
font-size
:
3.16em
}}
@media
(
min-width
:
768px
){
.wdn-hero-heading
{
font-size
:
4.21em
}}
@media
(
min-width
:
1044px
){
.wdn-hero-heading
{
font-size
:
4.74em
}}
\ No newline at end of file
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/Views/main_template.php
+
11
−
18
View file @
11810817
...
@@ -45,40 +45,33 @@ $page->appcontrols = '
...
@@ -45,40 +45,33 @@ $page->appcontrols = '
# set output
# set output
$page
->
maincontentarea
=
''
;
$page
->
maincontentarea
=
''
;
if
((
$notice
=
\Core
::
getNotice
())
!=
NULL
)
{
if
((
$notice
=
\Core
::
getNotice
())
!=
NULL
)
{
$class
=
''
;
$class
=
'
dcf-notice-info
'
;
switch
(
$notice
[
'level'
])
{
switch
(
$notice
[
'level'
])
{
case
'success'
:
case
'success'
:
$class
=
'
affirm
'
;
$class
=
'
dcf-notice-success
'
;
break
;
break
;
case
'failure'
:
case
'failure'
:
$class
=
'
negate
'
;
$class
=
'
dcf-notice-danger
'
;
break
;
break
;
case
'alert'
:
case
'alert'
:
$class
=
'alert'
;
$class
=
'dcf-notice-warning'
;
break
;
default
:
$class
=
'dcf-notice-info'
;
break
;
break
;
}
}
$page
->
maincontentarea
.
=
'
$page
->
maincontentarea
.
=
'
<div id="notice" class="wdn_notice '
.
$class
.
'">
<div id="notice" class="dcf-mt-4 dcf-notice '
.
$class
.
'" hidden>
<div class="close">
<h2>'
.
$notice
[
'header'
]
.
'</h2>
<a href="#" title="Close this notice">Close this notice</a>
</div>
<div class="message">
<h4>'
.
$notice
[
'header'
]
.
'</h4>
<div class="message-content">'
.
html_entity_decode
(
$notice
[
'messageHTML'
])
.
'</div>
<div class="message-content">'
.
html_entity_decode
(
$notice
[
'messageHTML'
])
.
'</div>
</div>
</div>
</div>
'
;
'
;
}
else
{
}
else
{
$page
->
maincontentarea
.
=
'
$page
->
maincontentarea
.
=
'
<div id="notice" class="wdn_notice" style="display: none;">
<div id="notice" class="dcf-mt-4 dcf-notice dcf-notice-info" hidden style="display: none!important;">
<div class="close">
<h2>Message Header</h2>
<a href="#" title="Close this notice">Close this notice</a>
</div>
<div class="message">
<h4>Message Header</h4>
<div class="message-content">Message Content</div>
<div class="message-content">Message Content</div>
</div>
</div>
</div>
'
;
'
;
}
}
...
...
This diff is collapsed.
Click to expand it.
src/Views/new_lockup.php
+
3
−
10
View file @
11810817
...
@@ -180,12 +180,10 @@
...
@@ -180,12 +180,10 @@
<fieldset
id=
"lockup-text"
class=
"dcf-pt-4 dcf-pb-4"
>
<fieldset
id=
"lockup-text"
class=
"dcf-pt-4 dcf-pb-4"
>
<legend
class=
"dcf-legend"
>
Lockup Text
</legend>
<legend
class=
"dcf-legend"
>
Lockup Text
</legend>
<div
id=
"text-notice"
class=
"wdn_notice alert"
style=
"display: none;"
tab-index=
"-1"
>
<div
id=
"text-notice"
class=
"dcf-mt-4 dcf-notice dcf-notice-warning"
hidden
style=
"display: none!important;"
tab-index=
"-1"
>
<div
class=
"message"
>
<h2>
Invalid Text Entered
</h2>
<h4>
Invalid Text Entered
</h4>
<div
class=
"message-content"
></div>
<div
class=
"message-content"
></div>
</div>
</div>
</div>
<div
id=
"organization-field"
>
<div
id=
"organization-field"
>
<label
for=
"organization"
>
Organization
</label>
<label
for=
"organization"
>
Organization
</label>
...
@@ -345,11 +343,6 @@ require(['jquery'], function ($) {
...
@@ -345,11 +343,6 @@ require(['jquery'], function ($) {
}
}
});
});
// temporary hack, until framework is improved to allow for closeable notices that do not remove HTML
$('#text-notice').click(function (click) {
$(this).fadeOut();
});
$('input[name=type]').change(function (change) {
$('input[name=type]').change(function (change) {
if ($('#type-org-only').is(':checked')) {
if ($('#type-org-only').is(':checked')) {
$('#organization-field').show();
$('#organization-field').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