Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
our_own_cloud_project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
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
die_coolen_jungs
our_own_cloud_project
Commits
8ab5da08
Commit
8ab5da08
authored
11 years ago
by
Thomas Müller
Browse files
Options
Downloads
Plain Diff
Merge pull request #5592 from owncloud/lost_password_screen
Fixing lost password-screen
parents
e08f38f9
ffbcfef6
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
core/lostpassword/css/lostpassword.css
+36
-0
36 additions, 0 deletions
core/lostpassword/css/lostpassword.css
core/lostpassword/templates/lostpassword.php
+8
-5
8 additions, 5 deletions
core/lostpassword/templates/lostpassword.php
with
44 additions
and
5 deletions
core/lostpassword/css/lostpassword.css
0 → 100644
+
36
−
0
View file @
8ab5da08
#body-login
input
[
type
=
"text"
],
input
[
type
=
"submit"
]
{
margin
:
5px
0
;
}
input
[
type
=
"text"
]
#user
{
padding-right
:
12px
;
padding-left
:
41px
;
}
#body-login
input
[
type
=
"submit"
]
{
text-align
:
center
;
width
:
170px
;
height
:
45px
;
padding-top
:
7px
;
padding-bottom
:
7px
;
}
#body-login
input
[
type
=
"submit"
]
#submit
{
width
:
280px
;
}
#body-login
.update
{
text-align
:
left
;
}
#body-login
.update
,
#body-login
.error
{
margin
:
10px
0
5px
0
;
}
#user
{
width
:
226px
!important
;
}
This diff is collapsed.
Click to expand it.
core/lostpassword/templates/lostpassword.php
+
8
−
5
View file @
8ab5da08
<?php
if
(
$_
[
'requested'
])
:
?>
<div
class=
"success"
><p>
<?php
//load the file we need
OCP\Util
::
addStyle
(
'lostpassword'
,
'lostpassword'
);
if
(
$_
[
'requested'
])
:
?>
<div
class=
"update"
><p>
<?php
print_unescaped
(
$l
->
t
(
'The link to reset your password has been sent to your email.<br>If you do not receive it within a reasonable amount of time, check your spam/junk folders.<br>If it is not there ask your local administrator .'
));
?>
...
...
@@ -8,11 +11,11 @@
<form
action=
"
<?php
print_unescaped
(
OC_Helper
::
linkToRoute
(
'core_lostpassword_send_email'
))
?>
"
method=
"post"
>
<fieldset>
<?php
if
(
$_
[
'error'
])
:
?>
<div
class=
"error
s
"
><p>
<div
class=
"error"
><p>
<?php
print_unescaped
(
$l
->
t
(
'Request failed!<br>Did you make sure your email/username was right?'
));
?>
</p></div>
<?php
endif
;
?>
<?php
print_unescaped
(
$l
->
t
(
'You will receive a link to reset your password via Email.'
));
?>
<div
class=
"update"
>
<?php
print_unescaped
(
$l
->
t
(
'You will receive a link to reset your password via Email.'
));
?>
</div>
<p
class=
"infield"
>
<input
type=
"text"
name=
"user"
id=
"user"
placeholder=
""
value=
""
autocomplete=
"off"
required
autofocus
/>
<label
for=
"user"
class=
"infield"
>
<?php
print_unescaped
(
$l
->
t
(
'Username'
));
?>
</label>
...
...
@@ -24,7 +27,7 @@
<?php
print_unescaped
(
$l
->
t
(
'Yes, I really want to reset my password now'
));
?>
<br/><br/>
<?php
endif
;
?>
</p>
<input
type=
"submit"
id=
"submit"
value=
"
<?php
print_unescaped
(
$l
->
t
(
'Re
quest re
set'
));
?>
"
/>
<input
type=
"submit"
id=
"submit"
value=
"
<?php
print_unescaped
(
$l
->
t
(
'Reset'
));
?>
"
/>
</fieldset>
</form>
<?php
endif
;
?>
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