Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Alfakhori
M4labplatform
Commits
39dd3ec3
Commit
39dd3ec3
authored
Aug 03, 2021
by
Cholgrrr
Browse files
update button design
parent
3244c7e5
Changes
3
Hide whitespace changes
Inline
Side-by-side
vcm/css/menu.css
View file @
39dd3ec3
...
...
@@ -108,7 +108,7 @@
text-align
:
center
;
text-decoration
:
none
;
display
:
inline-block
;
width
:
10em
;
height
:
2em
;
border-radius
:
2px
;
box-shadow
:
0
8px
16px
0
#27272733
,
0
6px
20px
0
rgba
(
0
,
0
,
0
,
0.19
);
}
...
...
vcm/index.html
View file @
39dd3ec3
...
...
@@ -228,7 +228,7 @@
</p><br>
<img
id=
"dragFrom"
onmouseover=
"setPointStartEnd('fav')"
ondragstart=
"dragstart_handler(event);"
draggable=
true
src=
"templates/locationSM.png"
style=
"height:30px;height: 30px; display: inline-block; position: absolute;cursor: -webkit-grab; cursor: grab;"
>
</div><br><br>
<button
onclick
=
"getLocationFav
()
"
>
Aktuelle Position
</button><br>
<button
id
=
"getLocationFav
"
class=
"btn_standard
"
>
Aktuelle Position
</button><br>
<br>
<label
class=
"container contentOne"
>
Andere Lieblingsorte
<input
type=
"checkbox"
id=
"favcheck"
onclick=
"switchFavPlaces()"
>
<span
class=
"checkmark"
></span>
...
...
vcm/js/favoriteplaces.js
View file @
39dd3ec3
...
...
@@ -141,6 +141,15 @@ function switchFavPlaces(){
// Get Location of User
document
.
getElementById
(
'
getLocationFav
'
).
ontouchstart
=
function
(
eve
)
{
getLocationFav
()
}
document
.
getElementById
(
'
getLocationFav
'
).
onclick
=
function
(
eve
)
{
getLocationFav
()
}
function
getLocationFav
()
{
if
(
navigator
.
geolocation
)
{
navigator
.
geolocation
.
getCurrentPosition
(
showPositionFav
,
showError
);
...
...
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