Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
IF3110-2018-K03-Petjah
TugasBesar1_2018
Commits
59e8e8e1
Commit
59e8e8e1
authored
Oct 25, 2018
by
Wildan Dicky Alnatara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing edit profile overflow input browse
parent
9965eda3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
+13
-5
web/css/edit_profile.css
web/css/edit_profile.css
+2
-0
web/edit_profile/view.php
web/edit_profile/view.php
+11
-5
No files found.
web/css/edit_profile.css
View file @
59e8e8e1
...
...
@@ -85,6 +85,7 @@ h1 {
position
:
relative
;
margin-left
:
10px
;
display
:
inline-block
;
overflow
:
hidden
;
}
.btn
{
...
...
@@ -130,6 +131,7 @@ input[type=file]{
.profpict_dummy
{
width
:
500px
;
}
input
[
type
=
text
]
{
width
:
625px
;
font-family
:
'Arial'
;
...
...
web/edit_profile/view.php
View file @
59e8e8e1
...
...
@@ -43,11 +43,17 @@
echo
"<div class=
\"
right
\"
>"
;
echo
"<p>Update profile picture</p>"
;
echo
"<input id=
\"
profpict_dummy
\"
class=
\"
profpict_dummy
\"
type=
\"
text
\"
name=
\"
profile_picture2
\"
readonly>"
;
echo
"<div class=
\"
upload-btn-wrapper
\"
>"
;
echo
"<button class=
\"
btn
\"
>Browse ...</button>"
;
echo
"<input id=
\"
profpict
\"
type=
\"
file
\"
name=
\"
profile_picture
\"
accept=
\"
image/png, image/jpg, image/jpeg
\"
onchange=
\"
showname()
\"
>"
;
echo
"</div>"
;
echo
'
<div class="flex-container">
<input id="profpict_dummy" class="profpict_dummy"type="text" name="profile_picture2" readonly>
<div class="upload-btn-wrapper">
<button class="btn">Browse ...</button>
<input id="profpict" type="file" name="profile_picture" accept="image/png, image/jpg, image/jpeg" onchange="showname()" >
</div>
</div>
'
;
echo
"</div>"
;
echo
"</div>"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment