Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
Tz Tools
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
012b4fe5
authored
2020-02-04 15:47:57 -0500
by
Jeremy Groot
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
login page updates
1 parent
1bd26cfd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
4 deletions
com/Branding/css/tz_login.css
com/Branding/images/Icon_Arrow_2_WHITE.svg
tz-tools.php
com/Branding/css/tz_login.css
View file @
012b4fe
...
...
@@ -60,12 +60,15 @@ body.login {
}
#backtoblog
:before
{
content
:
''
;
font-family
:
'FontAwesome'
;
content
:
''
;
width
:
18px
;
height
:
18px
;
background-image
:
url(../images/Icon_Arrow_2_WHITE.svg)
;
background-repeat
:
no-repeat
;
font-size
:
20px
;
position
:
absolute
;
left
:
2
0px
;
top
:
-1
px
;
left
:
0px
;
top
:
4
px
;
}
@media
(
max-width
:
600px
)
{
...
...
com/Branding/images/Icon_Arrow_2_WHITE.svg
0 → 100755
View file @
012b4fe
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 23.0.4, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
version=
"1.1"
id=
"Layer_1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
x=
"0px"
y=
"0px"
viewBox=
"0 0 31 27"
style=
"enable-background:new 0 0 31 27;"
xml:space=
"preserve"
>
<style
type=
"text/css"
>
.st0{fill:#FFFFFF;}
</style>
<g>
<g>
<line
class=
"st0"
x1=
"31"
y1=
"13.5"
x2=
"2.8"
y2=
"13.5"
/>
<rect
x=
"2.8"
y=
"11.5"
class=
"st0"
width=
"28.2"
height=
"4"
/>
</g>
<g>
<polygon
class=
"st0"
points=
"13.5,0 16.3,2.8 5.7,13.5 16.3,24.1 13.5,27 0,13.5 "
/>
</g>
</g>
</svg>
tz-tools.php
View file @
012b4fe
...
...
@@ -15,6 +15,19 @@ use Tz\WordPress\Tools\ShortCodes;
spl_autoload_register
(
__NAMESPACE__
.
'\autoloader'
);
add_action
(
'login_headertext'
,
function
(
$title
)
{
return
"LOG IN:"
;
}
);
add_filter
(
'gettext_with_context'
,
function
(
$translated
)
{
// Use the text string exactly as it is in the translation file
if
(
$translated
==
"← Back to %s"
)
{
$translated
=
"Back to %s"
;
}
return
$translated
;
}
);
// Code to prevent PHP from parsing Symlinks
if
(
defined
(
__NAMESPACE__
.
'\DIR'
))
{
define
(
__NAMESPACE__
.
'\OVERRIDE'
,
1
);
...
...
Please
register
or
sign in
to post a comment