Skip to content

Commit

Permalink
updated pwnagotchi iframe height and removed commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
sixt0o committed Jan 28, 2022
1 parent 503f522 commit b5602c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
12 changes: 2 additions & 10 deletions f0xtr0t.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,6 @@
<div id="navbar"
class="absolute right-6 sm:right-0 top-40 rounded-lg sm:rounded-none sm:top-0 z-40 sm:relative sm:h-full sm:w-28 overflow-hidden sm:block bg-slate-900 bg-opacity-90">
<div class="w-full py-6 flex flex-col items-center">
<!-- <div id="navLogo" class="flex-shrink-0 flex items-center">
<img class="h-12 w-auto" src="https://raw.githubusercontent.com/sixt0o/f0xtr0t/main/fox.png"
alt="f0xtr0t">
</div> -->
<div class="flex-1 w-full px-2 space-y-2 text-center">
<button type="button" @click="isOpen = !isOpen"
class="lg:hidden px-4 text-gray-500 hover:bg-slate-700 py-2 rounded-lg focus:outline-none">
Expand Down Expand Up @@ -404,9 +400,9 @@

<!-- pwnagotchi modal -->
<div id="pwnagotchi"
class="mx-auto absolute inset-x-10 bottom-10 z-50 bg-white overflow-hidden shadow-lg h-64 hidden sm:w-4/5">
class="mx-auto absolute inset-x-10 bottom-10 z-50 bg-white overflow-hidden shadow-lg h-72 hidden sm:w-4/5">
<iframe id="iframe_pwnagotchi" src="http://pwnagotchi.local:8080/"
class="w-full h-72 -mt-10"></iframe>
class="w-full h-80 -mt-10"></iframe>
</div>

</section>
Expand Down Expand Up @@ -909,10 +905,6 @@
changeMapStyle();
});

// document.getElementById('navLogo').addEventListener('click', () => {
// minimizeNav();
// });

document.getElementById("buttonExecuteUpdate").addEventListener('click', () => {
document.getElementById("updateModal").classList.add("hidden");
document.getElementById("notification").classList.remove("hidden");
Expand Down
4 changes: 2 additions & 2 deletions f0xtr0t.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ def update_gps(self):

class f0xtr0t(plugins.Plugin):
__author__ = 'https://github.com/sixt0o'
__version__ = '1.3.2-alpha'
__version__ = '1.3.3-alpha'
__name__ = 'f0xtr0t'
__license__ = 'GPL3'
__description__ = 'a plugin for pwnagotchi that shows a openstreetmap with positions of ap-handshakes in your webbrowser. Based on the origional webgpsmaps'

ALREADY_SENT = list()
SKIP = list()
CURRENT_VERSION = 'v1.3.2-alpha'
CURRENT_VERSION = 'v1.3.3-alpha'

def __init__(self):
self.ready = False
Expand Down

0 comments on commit b5602c6

Please sign in to comment.