This commit is contained in:
troy 2022-02-24 20:33:46 +01:00
parent ddf8d44471
commit 13b1e2926f
5 changed files with 44 additions and 0 deletions

7
flag.css Normal file
View File

@ -0,0 +1,7 @@
#flag-panel {
position: fixed;
bottom: 0px;
right: 0px;
width: 200px;
border: 1px solid #fff;
}

16
flag.js Normal file
View File

@ -0,0 +1,16 @@
(function() {
'use strict';
var panel = document.createElement('div');
panel.id = 'flag-panel';
var tab = document.createElement('span');
tab.innerHTML = '⚑';
var button = document.createElement('button');
button.innerHTML = 'Problem melden';
panel.appendChild(tab);
panel.appendChild(button);
document.body.appendChild(panel);
})();

1
flag.min.css vendored Normal file
View File

@ -0,0 +1 @@
#flag-panel{position:fixed;bottom:0;right:0;width:200px;border:1px solid #fff}

2
flag.min.js vendored Normal file
View File

@ -0,0 +1,2 @@
!function(){"use strict";var panel=document.createElement("div");panel.id="flag-panel";var button=document.createElement("button");button.innerHTML="Problem melden",panel.appendChild(button),document.body.appendChild(panel)}();
//# sourceMappingURL=flag.min.js.map

18
flag.min.js.map Normal file
View File

@ -0,0 +1,18 @@
{
"version": 3,
"sources": [
"flag.js"
],
"names": [
"panel",
"document",
"createElement",
"id",
"button",
"innerHTML",
"appendChild",
"body"
],
"mappings": "CAAA,WACE,aAEA,IAAIA,MAAQC,SAASC,cAAc,OACnCF,MAAMG,GAAK,aAEX,IAAIC,OAASH,SAASC,cAAc,UACpCE,OAAOC,UAAY,iBACnBL,MAAMM,YAAYF,QAElBH,SAASM,KAAKD,YAAYN,OAV5B",
"file": "flag.js"
}