Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor 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
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
1f64f9df
Commit
1f64f9df
authored
7 years ago
by
Laurent Destailleur
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #7303 from hregis/6.0_background
Fix: better for responsive background image
parents
c382ca22
b3642708
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
htdocs/core/tpl/login.tpl.php
+1
-1
1 addition, 1 deletion
htdocs/core/tpl/login.tpl.php
htdocs/core/tpl/passwordforgotten.tpl.php
+1
-1
1 addition, 1 deletion
htdocs/core/tpl/passwordforgotten.tpl.php
with
2 additions
and
2 deletions
htdocs/core/tpl/login.tpl.php
+
1
−
1
View file @
1f64f9df
...
...
@@ -49,7 +49,7 @@ print top_htmlhead('', $titleofloginpage, 0, 0, $arrayofjs, array(), 0, $disable
?>
<!-- BEGIN PHP TEMPLATE LOGIN.TPL.PHP -->
<body
class=
"body bodylogin"
<?php
print
empty
(
$conf
->
global
->
MAIN_LOGIN_BACKGROUND
)
?
''
:
' style="background-size: cover; background-image: url(\''
.
DOL_URL_ROOT
.
'/viewimage.php?cache=1&noalt=1&modulepart=mycompany&file='
.
urlencode
(
$conf
->
global
->
MAIN_LOGIN_BACKGROUND
)
.
'\')"'
;
?>
>
<body
class=
"body bodylogin"
<?php
print
empty
(
$conf
->
global
->
MAIN_LOGIN_BACKGROUND
)
?
''
:
' style="background-size: cover;
background-position: center center; background-attachment: fixed; background-repeat: no-repeat;
background-image: url(\''
.
DOL_URL_ROOT
.
'/viewimage.php?cache=1&noalt=1&modulepart=mycompany&file='
.
urlencode
(
$conf
->
global
->
MAIN_LOGIN_BACKGROUND
)
.
'\')"'
;
?>
>
<?php
if
(
empty
(
$conf
->
dol_use_jmobile
))
{
?>
<script
type=
"text/javascript"
>
...
...
This diff is collapsed.
Click to expand it.
htdocs/core/tpl/passwordforgotten.tpl.php
+
1
−
1
View file @
1f64f9df
...
...
@@ -35,7 +35,7 @@ print top_htmlhead('',$langs->trans('SendNewPassword'));
?>
<!-- BEGIN PHP TEMPLATE PASSWORDFORGOTTEN.TPL.PHP -->
<body
class=
"body bodylogin"
<?php
print
empty
(
$conf
->
global
->
MAIN_LOGIN_BACKGROUND
)
?
''
:
' style="background-size: cover; background-image: url(\''
.
DOL_URL_ROOT
.
'/viewimage.php?cache=1&noalt=1&modulepart=mycompany&file='
.
urlencode
(
$conf
->
global
->
MAIN_LOGIN_BACKGROUND
)
.
'\')"'
;
?>
>
<body
class=
"body bodylogin"
<?php
print
empty
(
$conf
->
global
->
MAIN_LOGIN_BACKGROUND
)
?
''
:
' style="background-size: cover;
background-position: center center; background-attachment: fixed; background-repeat: no-repeat;
background-image: url(\''
.
DOL_URL_ROOT
.
'/viewimage.php?cache=1&noalt=1&modulepart=mycompany&file='
.
urlencode
(
$conf
->
global
->
MAIN_LOGIN_BACKGROUND
)
.
'\')"'
;
?>
>
<?php
if
(
empty
(
$conf
->
dol_use_jmobile
))
{
?>
<script
type=
"text/javascript"
>
...
...
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