flag
This commit is contained in:
parent
ddf8d44471
commit
13b1e2926f
7
flag.css
Normal file
7
flag.css
Normal file
@ -0,0 +1,7 @@
|
||||
#flag-panel {
|
||||
position: fixed;
|
||||
bottom: 0px;
|
||||
right: 0px;
|
||||
width: 200px;
|
||||
border: 1px solid #fff;
|
||||
}
|
||||
16
flag.js
Normal file
16
flag.js
Normal 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
1
flag.min.css
vendored
Normal 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
2
flag.min.js
vendored
Normal 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
18
flag.min.js.map
Normal 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"
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user