mirror of
https://github.com/openvk/openvk
synced 2025-07-07 16:29:50 +03:00
restyling file pickers button
This commit is contained in:
parent
fcb88efd6d
commit
75ab468f6e
4 changed files with 29 additions and 24 deletions
|
@ -71,7 +71,8 @@
|
||||||
<span class="nobold">{_avatar}: </span>
|
<span class="nobold">{_avatar}: </span>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="file" name="ava" accept="image/*" />
|
<label class="button" style="">Обзор<input type="file" id="ava" name="ava" style="display: none;" onchange="filename.innerHTML=blob.value" /></label>
|
||||||
|
<div id="filename" style="margin-top: 10px;"></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
@ -37,9 +37,10 @@
|
||||||
<form method="POST" enctype="multipart/form-data">
|
<form method="POST" enctype="multipart/form-data">
|
||||||
<div id="backdropEditor">
|
<div id="backdropEditor">
|
||||||
<div id="backdropFilePicker">
|
<div id="backdropFilePicker">
|
||||||
<input type="file" accept="image/*" name="backdrop1" />
|
<label class="button" style="">Обзор<input type="file" accept="image/*" name="backdrop1" style="display: none;"></label>
|
||||||
<div id="spacer"></div>
|
<div id="spacer" style="width: 366px;"></div>
|
||||||
<input type="file" accept="image/*" name="backdrop2" />
|
<label class="button" style="">Обзор<input type="file" accept="image/*" name="backdrop2" style="display: none;"></label>
|
||||||
|
<div id="spacer" style="width: 366px;"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -318,7 +318,8 @@
|
||||||
<span class="nobold">{_picture}: </span>
|
<span class="nobold">{_picture}: </span>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="file" name="blob" accept="image/*" />
|
<label class="button" style="">Обзор<input type="file" id="blob" name="blob" style="display: none;" onchange="filename.innerHTML=blob.value" /></label>
|
||||||
|
<div id="filename" style="margin-top: 10px;"></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -341,9 +342,10 @@
|
||||||
<form method="POST" enctype="multipart/form-data">
|
<form method="POST" enctype="multipart/form-data">
|
||||||
<div id="backdropEditor">
|
<div id="backdropEditor">
|
||||||
<div id="backdropFilePicker">
|
<div id="backdropFilePicker">
|
||||||
<input type="file" accept="image/*" name="backdrop1" />
|
<label class="button" style="">Обзор<input type="file" accept="image/*" name="backdrop1" style="display: none;"></label>
|
||||||
<div id="spacer"></div>
|
<div id="spacer" style="width: 366px;"></div>
|
||||||
<input type="file" accept="image/*" name="backdrop2" />
|
<label class="button" style="">Обзор<input type="file" accept="image/*" name="backdrop2" style="display: none;"></label>
|
||||||
|
<div id="spacer" style="width: 366px;"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -231,6 +231,7 @@ h1 {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 140px;
|
top: 140px;
|
||||||
padding: 0 19px;
|
padding: 0 19px;
|
||||||
|
margin: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#backdropFilePicker > input {
|
#backdropFilePicker > input {
|
||||||
|
|
Loading…
Reference in a new issue