From de75057a1523d7d63581df82d5b9f46512279b99 Mon Sep 17 00:00:00 2001 From: Eneko Illarramendi Date: Fri, 17 Apr 2020 20:43:14 +0200 Subject: [PATCH] chore: remove legacy frontend libraries --- lnbits/__init__.py | 4 - lnbits/static/Gruntfile.js | 68 - lnbits/static/LICENSE | 20 - lnbits/static/README.md | 145 - lnbits/static/app.js | 516 - lnbits/static/bootstrap/css/bootstrap.css | 6566 --------- lnbits/static/bootstrap/css/bootstrap.css.map | 1 - lnbits/static/bootstrap/css/bootstrap.min.css | 5 - .../static/bootstrap/css/datepicker.min.css | 7 - .../fonts/glyphicons-halflings-regular.eot | Bin 20127 -> 0 bytes .../fonts/glyphicons-halflings-regular.svg | 288 - .../fonts/glyphicons-halflings-regular.ttf | Bin 45404 -> 0 bytes .../fonts/glyphicons-halflings-regular.woff | Bin 23424 -> 0 bytes .../fonts/glyphicons-halflings-regular.woff2 | Bin 18028 -> 0 bytes lnbits/static/bootstrap/js/bootstrap.js | 2306 --- lnbits/static/bootstrap/js/bootstrap.min.js | 7 - lnbits/static/bootstrap/js/datepicker.min.js | 8 - lnbits/static/bootstrap/js/npm.js | 13 - .../static/build/bootstrap-less/mixins.less | 39 - .../build/bootstrap-less/mixins/alerts.less | 14 - .../mixins/background-variant.less | 8 - .../bootstrap-less/mixins/border-radius.less | 18 - .../build/bootstrap-less/mixins/buttons.less | 52 - .../bootstrap-less/mixins/center-block.less | 7 - .../build/bootstrap-less/mixins/clearfix.less | 22 - .../build/bootstrap-less/mixins/forms.less | 85 - .../bootstrap-less/mixins/gradients.less | 59 - .../bootstrap-less/mixins/grid-framework.less | 91 - .../build/bootstrap-less/mixins/grid.less | 122 - .../bootstrap-less/mixins/hide-text.less | 21 - .../build/bootstrap-less/mixins/image.less | 33 - .../build/bootstrap-less/mixins/labels.less | 12 - .../bootstrap-less/mixins/list-group.less | 29 - .../bootstrap-less/mixins/nav-divider.less | 10 - .../mixins/nav-vertical-align.less | 9 - .../build/bootstrap-less/mixins/opacity.less | 8 - .../bootstrap-less/mixins/pagination.less | 23 - .../build/bootstrap-less/mixins/panels.less | 24 - .../bootstrap-less/mixins/progress-bar.less | 9 - .../bootstrap-less/mixins/reset-filter.less | 8 - .../build/bootstrap-less/mixins/resize.less | 6 - .../mixins/responsive-visibility.less | 15 - .../build/bootstrap-less/mixins/size.less | 10 - .../bootstrap-less/mixins/tab-focus.less | 9 - .../bootstrap-less/mixins/table-row.less | 28 - .../bootstrap-less/mixins/text-emphasis.less | 8 - .../bootstrap-less/mixins/text-overflow.less | 8 - .../mixins/vendor-prefixes.less | 227 - .../build/bootstrap-less/variables.less | 857 -- lnbits/static/build/less/404_500_errors.less | 36 - lnbits/static/build/less/AdminLTE.less | 71 - lnbits/static/build/less/alerts.less | 44 - .../static/build/less/bootstrap-social.less | 107 - lnbits/static/build/less/boxes.less | 446 - lnbits/static/build/less/buttons.less | 157 - lnbits/static/build/less/callout.less | 48 - lnbits/static/build/less/carousel.less | 15 - lnbits/static/build/less/core.less | 175 - lnbits/static/build/less/direct-chat.less | 175 - lnbits/static/build/less/dropdown.less | 342 - lnbits/static/build/less/forms.less | 82 - lnbits/static/build/less/fullcalendar.less | 88 - lnbits/static/build/less/header.less | 221 - lnbits/static/build/less/info-box.less | 63 - lnbits/static/build/less/invoice.less | 39 - lnbits/static/build/less/labels.less | 23 - lnbits/static/build/less/lockscreen.less | 68 - .../static/build/less/login_and_register.less | 51 - lnbits/static/build/less/mailbox.less | 136 - lnbits/static/build/less/miscellaneous.less | 345 - lnbits/static/build/less/mixins.less | 105 - lnbits/static/build/less/modal.less | 73 - lnbits/static/build/less/navs.less | 170 - lnbits/static/build/less/products.less | 44 - lnbits/static/build/less/progress-bars.less | 107 - lnbits/static/build/less/sidebar.less | 150 - .../static/build/less/skins/_all-skins.less | 7 - .../static/build/less/skins/skin-black.less | 149 - lnbits/static/build/less/skins/skin-blue.less | 140 - .../static/build/less/skins/skin-green.less | 135 - .../static/build/less/skins/skin-purple.less | 135 - lnbits/static/build/less/skins/skin-red.less | 135 - .../static/build/less/skins/skin-yellow.less | 135 - lnbits/static/build/less/small-box.less | 89 - lnbits/static/build/less/table.less | 71 - lnbits/static/build/less/timeline.less | 98 - lnbits/static/build/less/users-list.less | 36 - lnbits/static/build/less/variables.less | 102 - lnbits/static/changelog | 33 - lnbits/static/composer.json | 26 - lnbits/static/dist/app.js | 36 - lnbits/static/dist/css/AdminLTE.css | 4053 ------ lnbits/static/dist/css/AdminLTE.min.css | 7 - lnbits/static/dist/css/skins/_all-skins.css | 876 -- .../static/dist/css/skins/_all-skins.min.css | 1 - lnbits/static/dist/css/skins/skin-black.css | 165 - .../static/dist/css/skins/skin-black.min.css | 1 - lnbits/static/dist/css/skins/skin-blue.css | 151 - .../static/dist/css/skins/skin-blue.min.css | 1 - lnbits/static/dist/css/skins/skin-green.css | 140 - .../static/dist/css/skins/skin-green.min.css | 1 - lnbits/static/dist/css/skins/skin-purple.css | 140 - .../static/dist/css/skins/skin-purple.min.css | 1 - lnbits/static/dist/css/skins/skin-red.css | 140 - lnbits/static/dist/css/skins/skin-red.min.css | 1 - lnbits/static/dist/css/skins/skin-yellow.css | 140 - .../static/dist/css/skins/skin-yellow.min.css | 1 - lnbits/static/dist/img/avatar.png | Bin 27738 -> 0 bytes lnbits/static/dist/img/avatar04.png | Bin 44586 -> 0 bytes lnbits/static/dist/img/avatar2.png | Bin 28512 -> 0 bytes lnbits/static/dist/img/avatar3.png | Bin 32476 -> 0 bytes lnbits/static/dist/img/avatar5.png | Bin 24988 -> 0 bytes lnbits/static/dist/img/boxed-bg.jpg | Bin 123770 -> 0 bytes lnbits/static/dist/img/boxed-bg.png | Bin 43694 -> 0 bytes .../dist/img/credit/american-express.png | Bin 2796 -> 0 bytes lnbits/static/dist/img/credit/cirrus.png | Bin 1872 -> 0 bytes lnbits/static/dist/img/credit/mastercard.png | Bin 1988 -> 0 bytes lnbits/static/dist/img/credit/mestro.png | Bin 1981 -> 0 bytes lnbits/static/dist/img/credit/paypal.png | Bin 2664 -> 0 bytes lnbits/static/dist/img/credit/paypal2.png | Bin 1416 -> 0 bytes lnbits/static/dist/img/credit/visa.png | Bin 1199 -> 0 bytes lnbits/static/dist/img/default-50x50.gif | Bin 184 -> 0 bytes lnbits/static/dist/img/icons.png | Bin 1896 -> 0 bytes lnbits/static/dist/img/photo1.png | Bin 1639025 -> 0 bytes lnbits/static/dist/img/photo2.png | Bin 1427229 -> 0 bytes lnbits/static/dist/img/sprite-skin-flat.png | Bin 352 -> 0 bytes lnbits/static/dist/img/sprite-skin-nice.png | Bin 1022 -> 0 bytes lnbits/static/dist/img/user1-128x128.jpg | Bin 3377 -> 0 bytes lnbits/static/dist/img/user2-160x160.jpg | Bin 8042 -> 0 bytes lnbits/static/dist/img/user3-128x128.jpg | Bin 4025 -> 0 bytes lnbits/static/dist/img/user4-128x128.jpg | Bin 3482 -> 0 bytes lnbits/static/dist/img/user5-128x128.jpg | Bin 6492 -> 0 bytes lnbits/static/dist/img/user6-128x128.jpg | Bin 4863 -> 0 bytes lnbits/static/dist/img/user7-128x128.jpg | Bin 7066 -> 0 bytes lnbits/static/dist/img/user8-128x128.jpg | Bin 5728 -> 0 bytes lnbits/static/dist/js/app.js | 477 - lnbits/static/dist/js/app.min.js | 13 - lnbits/static/dist/js/calc.js | 10 - lnbits/static/dist/js/camera.js | 36 - lnbits/static/dist/js/demo.js | 162 - lnbits/static/dist/js/pages/dashboard.js | 239 - lnbits/static/dist/js/pages/dashboard2.js | 279 - lnbits/static/js/base.js | 26 +- lnbits/static/package.json | 10 - lnbits/static/plugins/README | 1 - lnbits/static/plugins/bolt11/decoder.js | 236 - lnbits/static/plugins/bolt11/utils.js | 96 - .../bootstrap-slider/bootstrap-slider.js | 1167 -- .../plugins/bootstrap-slider/slider.css | 169 - .../bootstrap3-wysihtml5.all.min.js | 6 - .../bootstrap3-wysihtml5.css | 102 - .../bootstrap3-wysihtml5.js | 350 - .../bootstrap3-wysihtml5.min.css | 3 - lnbits/static/plugins/chartjs/Chart.js | 3457 ----- lnbits/static/plugins/chartjs/Chart.min.js | 11 - .../datatables/dataTables.bootstrap.css | 223 - .../datatables/dataTables.bootstrap.js | 250 - .../plugins/datatables/images/sort_asc.png | Bin 1118 -> 0 bytes .../datatables/images/sort_asc_disabled.png | Bin 1050 -> 0 bytes .../plugins/datatables/images/sort_both.png | Bin 1136 -> 0 bytes .../plugins/datatables/images/sort_desc.png | Bin 1127 -> 0 bytes .../datatables/images/sort_desc_disabled.png | Bin 1045 -> 0 bytes .../plugins/datatables/jquery.dataTables.js | 12099 ---------------- lnbits/static/plugins/fastclick/fastclick.js | 841 -- .../static/plugins/fastclick/fastclick.min.js | 1 - lnbits/static/plugins/flot/excanvas.js | 1427 -- lnbits/static/plugins/flot/excanvas.min.js | 1 - .../plugins/flot/jquery.colorhelpers.js | 180 - .../plugins/flot/jquery.colorhelpers.min.js | 1 - .../static/plugins/flot/jquery.flot.canvas.js | 345 - .../plugins/flot/jquery.flot.canvas.min.js | 1 - .../plugins/flot/jquery.flot.categories.js | 190 - .../flot/jquery.flot.categories.min.js | 1 - .../plugins/flot/jquery.flot.crosshair.js | 176 - .../plugins/flot/jquery.flot.crosshair.min.js | 1 - .../plugins/flot/jquery.flot.errorbars.js | 353 - .../plugins/flot/jquery.flot.errorbars.min.js | 1 - .../plugins/flot/jquery.flot.fillbetween.js | 226 - .../flot/jquery.flot.fillbetween.min.js | 1 - .../static/plugins/flot/jquery.flot.image.js | 241 - .../plugins/flot/jquery.flot.image.min.js | 1 - lnbits/static/plugins/flot/jquery.flot.js | 3137 ---- lnbits/static/plugins/flot/jquery.flot.min.js | 2 - .../plugins/flot/jquery.flot.navigate.js | 346 - .../plugins/flot/jquery.flot.navigate.min.js | 1 - lnbits/static/plugins/flot/jquery.flot.pie.js | 817 -- .../plugins/flot/jquery.flot.pie.min.js | 1 - .../static/plugins/flot/jquery.flot.resize.js | 60 - .../plugins/flot/jquery.flot.resize.min.js | 1 - .../plugins/flot/jquery.flot.selection.js | 360 - .../plugins/flot/jquery.flot.selection.min.js | 1 - .../static/plugins/flot/jquery.flot.stack.js | 188 - .../plugins/flot/jquery.flot.stack.min.js | 1 - .../static/plugins/flot/jquery.flot.symbol.js | 71 - .../plugins/flot/jquery.flot.symbol.min.js | 1 - .../plugins/flot/jquery.flot.threshold.js | 142 - .../plugins/flot/jquery.flot.threshold.min.js | 1 - .../static/plugins/flot/jquery.flot.time.js | 429 - .../plugins/flot/jquery.flot.time.min.js | 1 - .../static/plugins/jQuery/jQuery-2.1.3.min.js | 4 - .../plugins/jQueryUI/jquery-ui-1.10.3.js | 8709 ----------- .../plugins/jQueryUI/jquery-ui-1.10.3.min.js | 6 - lnbits/static/plugins/jscam/JS.js | 10042 ------------- lnbits/static/plugins/jscam/qrcode.min.js | 1 - .../jvectormap/jquery-jvectormap-1.2.2.css | 40 - .../jvectormap/jquery-jvectormap-1.2.2.min.js | 8 - .../jquery-jvectormap-world-mill-en.js | 1 - lnbits/static/plugins/knob/jquery.knob.js | 805 - lnbits/static/plugins/morris/morris.css | 2 - lnbits/static/plugins/morris/morris.js | 1892 --- lnbits/static/plugins/morris/morris.min.js | 7 - lnbits/static/plugins/pace/pace.js | 2 - .../plugins/slimScroll/jquery.slimscroll.js | 490 - .../slimScroll/jquery.slimscroll.min.js | 1 - .../plugins/sparkline/jquery.sparkline.js | 3054 ---- .../plugins/sparkline/jquery.sparkline.min.js | 5 - 216 files changed, 23 insertions(+), 76368 deletions(-) delete mode 100644 lnbits/static/Gruntfile.js delete mode 100644 lnbits/static/LICENSE delete mode 100644 lnbits/static/README.md delete mode 100644 lnbits/static/app.js delete mode 100644 lnbits/static/bootstrap/css/bootstrap.css delete mode 100644 lnbits/static/bootstrap/css/bootstrap.css.map delete mode 100644 lnbits/static/bootstrap/css/bootstrap.min.css delete mode 100644 lnbits/static/bootstrap/css/datepicker.min.css delete mode 100644 lnbits/static/bootstrap/fonts/glyphicons-halflings-regular.eot delete mode 100644 lnbits/static/bootstrap/fonts/glyphicons-halflings-regular.svg delete mode 100644 lnbits/static/bootstrap/fonts/glyphicons-halflings-regular.ttf delete mode 100644 lnbits/static/bootstrap/fonts/glyphicons-halflings-regular.woff delete mode 100644 lnbits/static/bootstrap/fonts/glyphicons-halflings-regular.woff2 delete mode 100644 lnbits/static/bootstrap/js/bootstrap.js delete mode 100644 lnbits/static/bootstrap/js/bootstrap.min.js delete mode 100644 lnbits/static/bootstrap/js/datepicker.min.js delete mode 100644 lnbits/static/bootstrap/js/npm.js delete mode 100644 lnbits/static/build/bootstrap-less/mixins.less delete mode 100644 lnbits/static/build/bootstrap-less/mixins/alerts.less delete mode 100644 lnbits/static/build/bootstrap-less/mixins/background-variant.less delete mode 100644 lnbits/static/build/bootstrap-less/mixins/border-radius.less delete mode 100644 lnbits/static/build/bootstrap-less/mixins/buttons.less delete mode 100644 lnbits/static/build/bootstrap-less/mixins/center-block.less delete mode 100644 lnbits/static/build/bootstrap-less/mixins/clearfix.less delete mode 100644 lnbits/static/build/bootstrap-less/mixins/forms.less delete mode 100644 lnbits/static/build/bootstrap-less/mixins/gradients.less delete mode 100644 lnbits/static/build/bootstrap-less/mixins/grid-framework.less delete mode 100644 lnbits/static/build/bootstrap-less/mixins/grid.less delete mode 100644 lnbits/static/build/bootstrap-less/mixins/hide-text.less delete mode 100644 lnbits/static/build/bootstrap-less/mixins/image.less delete mode 100644 lnbits/static/build/bootstrap-less/mixins/labels.less delete mode 100644 lnbits/static/build/bootstrap-less/mixins/list-group.less delete mode 100644 lnbits/static/build/bootstrap-less/mixins/nav-divider.less delete mode 100644 lnbits/static/build/bootstrap-less/mixins/nav-vertical-align.less delete mode 100644 lnbits/static/build/bootstrap-less/mixins/opacity.less delete mode 100644 lnbits/static/build/bootstrap-less/mixins/pagination.less delete mode 100644 lnbits/static/build/bootstrap-less/mixins/panels.less delete mode 100644 lnbits/static/build/bootstrap-less/mixins/progress-bar.less delete mode 100644 lnbits/static/build/bootstrap-less/mixins/reset-filter.less delete mode 100644 lnbits/static/build/bootstrap-less/mixins/resize.less delete mode 100644 lnbits/static/build/bootstrap-less/mixins/responsive-visibility.less delete mode 100644 lnbits/static/build/bootstrap-less/mixins/size.less delete mode 100644 lnbits/static/build/bootstrap-less/mixins/tab-focus.less delete mode 100644 lnbits/static/build/bootstrap-less/mixins/table-row.less delete mode 100644 lnbits/static/build/bootstrap-less/mixins/text-emphasis.less delete mode 100644 lnbits/static/build/bootstrap-less/mixins/text-overflow.less delete mode 100644 lnbits/static/build/bootstrap-less/mixins/vendor-prefixes.less delete mode 100644 lnbits/static/build/bootstrap-less/variables.less delete mode 100644 lnbits/static/build/less/404_500_errors.less delete mode 100644 lnbits/static/build/less/AdminLTE.less delete mode 100644 lnbits/static/build/less/alerts.less delete mode 100644 lnbits/static/build/less/bootstrap-social.less delete mode 100644 lnbits/static/build/less/boxes.less delete mode 100644 lnbits/static/build/less/buttons.less delete mode 100644 lnbits/static/build/less/callout.less delete mode 100644 lnbits/static/build/less/carousel.less delete mode 100644 lnbits/static/build/less/core.less delete mode 100644 lnbits/static/build/less/direct-chat.less delete mode 100644 lnbits/static/build/less/dropdown.less delete mode 100644 lnbits/static/build/less/forms.less delete mode 100644 lnbits/static/build/less/fullcalendar.less delete mode 100644 lnbits/static/build/less/header.less delete mode 100644 lnbits/static/build/less/info-box.less delete mode 100644 lnbits/static/build/less/invoice.less delete mode 100644 lnbits/static/build/less/labels.less delete mode 100644 lnbits/static/build/less/lockscreen.less delete mode 100644 lnbits/static/build/less/login_and_register.less delete mode 100644 lnbits/static/build/less/mailbox.less delete mode 100644 lnbits/static/build/less/miscellaneous.less delete mode 100644 lnbits/static/build/less/mixins.less delete mode 100644 lnbits/static/build/less/modal.less delete mode 100644 lnbits/static/build/less/navs.less delete mode 100644 lnbits/static/build/less/products.less delete mode 100644 lnbits/static/build/less/progress-bars.less delete mode 100644 lnbits/static/build/less/sidebar.less delete mode 100644 lnbits/static/build/less/skins/_all-skins.less delete mode 100644 lnbits/static/build/less/skins/skin-black.less delete mode 100644 lnbits/static/build/less/skins/skin-blue.less delete mode 100644 lnbits/static/build/less/skins/skin-green.less delete mode 100644 lnbits/static/build/less/skins/skin-purple.less delete mode 100644 lnbits/static/build/less/skins/skin-red.less delete mode 100644 lnbits/static/build/less/skins/skin-yellow.less delete mode 100644 lnbits/static/build/less/small-box.less delete mode 100644 lnbits/static/build/less/table.less delete mode 100644 lnbits/static/build/less/timeline.less delete mode 100644 lnbits/static/build/less/users-list.less delete mode 100644 lnbits/static/build/less/variables.less delete mode 100644 lnbits/static/changelog delete mode 100644 lnbits/static/composer.json delete mode 100644 lnbits/static/dist/app.js delete mode 100644 lnbits/static/dist/css/AdminLTE.css delete mode 100644 lnbits/static/dist/css/AdminLTE.min.css delete mode 100644 lnbits/static/dist/css/skins/_all-skins.css delete mode 100644 lnbits/static/dist/css/skins/_all-skins.min.css delete mode 100644 lnbits/static/dist/css/skins/skin-black.css delete mode 100644 lnbits/static/dist/css/skins/skin-black.min.css delete mode 100644 lnbits/static/dist/css/skins/skin-blue.css delete mode 100644 lnbits/static/dist/css/skins/skin-blue.min.css delete mode 100644 lnbits/static/dist/css/skins/skin-green.css delete mode 100644 lnbits/static/dist/css/skins/skin-green.min.css delete mode 100644 lnbits/static/dist/css/skins/skin-purple.css delete mode 100644 lnbits/static/dist/css/skins/skin-purple.min.css delete mode 100644 lnbits/static/dist/css/skins/skin-red.css delete mode 100644 lnbits/static/dist/css/skins/skin-red.min.css delete mode 100644 lnbits/static/dist/css/skins/skin-yellow.css delete mode 100644 lnbits/static/dist/css/skins/skin-yellow.min.css delete mode 100644 lnbits/static/dist/img/avatar.png delete mode 100644 lnbits/static/dist/img/avatar04.png delete mode 100644 lnbits/static/dist/img/avatar2.png delete mode 100644 lnbits/static/dist/img/avatar3.png delete mode 100644 lnbits/static/dist/img/avatar5.png delete mode 100644 lnbits/static/dist/img/boxed-bg.jpg delete mode 100644 lnbits/static/dist/img/boxed-bg.png delete mode 100644 lnbits/static/dist/img/credit/american-express.png delete mode 100644 lnbits/static/dist/img/credit/cirrus.png delete mode 100644 lnbits/static/dist/img/credit/mastercard.png delete mode 100644 lnbits/static/dist/img/credit/mestro.png delete mode 100644 lnbits/static/dist/img/credit/paypal.png delete mode 100644 lnbits/static/dist/img/credit/paypal2.png delete mode 100644 lnbits/static/dist/img/credit/visa.png delete mode 100644 lnbits/static/dist/img/default-50x50.gif delete mode 100644 lnbits/static/dist/img/icons.png delete mode 100644 lnbits/static/dist/img/photo1.png delete mode 100644 lnbits/static/dist/img/photo2.png delete mode 100644 lnbits/static/dist/img/sprite-skin-flat.png delete mode 100644 lnbits/static/dist/img/sprite-skin-nice.png delete mode 100644 lnbits/static/dist/img/user1-128x128.jpg delete mode 100644 lnbits/static/dist/img/user2-160x160.jpg delete mode 100644 lnbits/static/dist/img/user3-128x128.jpg delete mode 100644 lnbits/static/dist/img/user4-128x128.jpg delete mode 100644 lnbits/static/dist/img/user5-128x128.jpg delete mode 100644 lnbits/static/dist/img/user6-128x128.jpg delete mode 100644 lnbits/static/dist/img/user7-128x128.jpg delete mode 100644 lnbits/static/dist/img/user8-128x128.jpg delete mode 100644 lnbits/static/dist/js/app.js delete mode 100644 lnbits/static/dist/js/app.min.js delete mode 100644 lnbits/static/dist/js/calc.js delete mode 100644 lnbits/static/dist/js/camera.js delete mode 100644 lnbits/static/dist/js/demo.js delete mode 100644 lnbits/static/dist/js/pages/dashboard.js delete mode 100644 lnbits/static/dist/js/pages/dashboard2.js delete mode 100644 lnbits/static/package.json delete mode 100644 lnbits/static/plugins/README delete mode 100644 lnbits/static/plugins/bolt11/decoder.js delete mode 100644 lnbits/static/plugins/bolt11/utils.js delete mode 100644 lnbits/static/plugins/bootstrap-slider/bootstrap-slider.js delete mode 100644 lnbits/static/plugins/bootstrap-slider/slider.css delete mode 100644 lnbits/static/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js delete mode 100644 lnbits/static/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.css delete mode 100644 lnbits/static/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.js delete mode 100644 lnbits/static/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css delete mode 100644 lnbits/static/plugins/chartjs/Chart.js delete mode 100644 lnbits/static/plugins/chartjs/Chart.min.js delete mode 100644 lnbits/static/plugins/datatables/dataTables.bootstrap.css delete mode 100644 lnbits/static/plugins/datatables/dataTables.bootstrap.js delete mode 100644 lnbits/static/plugins/datatables/images/sort_asc.png delete mode 100644 lnbits/static/plugins/datatables/images/sort_asc_disabled.png delete mode 100644 lnbits/static/plugins/datatables/images/sort_both.png delete mode 100644 lnbits/static/plugins/datatables/images/sort_desc.png delete mode 100644 lnbits/static/plugins/datatables/images/sort_desc_disabled.png delete mode 100644 lnbits/static/plugins/datatables/jquery.dataTables.js delete mode 100644 lnbits/static/plugins/fastclick/fastclick.js delete mode 100644 lnbits/static/plugins/fastclick/fastclick.min.js delete mode 100644 lnbits/static/plugins/flot/excanvas.js delete mode 100644 lnbits/static/plugins/flot/excanvas.min.js delete mode 100644 lnbits/static/plugins/flot/jquery.colorhelpers.js delete mode 100644 lnbits/static/plugins/flot/jquery.colorhelpers.min.js delete mode 100644 lnbits/static/plugins/flot/jquery.flot.canvas.js delete mode 100644 lnbits/static/plugins/flot/jquery.flot.canvas.min.js delete mode 100644 lnbits/static/plugins/flot/jquery.flot.categories.js delete mode 100644 lnbits/static/plugins/flot/jquery.flot.categories.min.js delete mode 100644 lnbits/static/plugins/flot/jquery.flot.crosshair.js delete mode 100644 lnbits/static/plugins/flot/jquery.flot.crosshair.min.js delete mode 100644 lnbits/static/plugins/flot/jquery.flot.errorbars.js delete mode 100644 lnbits/static/plugins/flot/jquery.flot.errorbars.min.js delete mode 100644 lnbits/static/plugins/flot/jquery.flot.fillbetween.js delete mode 100644 lnbits/static/plugins/flot/jquery.flot.fillbetween.min.js delete mode 100644 lnbits/static/plugins/flot/jquery.flot.image.js delete mode 100644 lnbits/static/plugins/flot/jquery.flot.image.min.js delete mode 100644 lnbits/static/plugins/flot/jquery.flot.js delete mode 100644 lnbits/static/plugins/flot/jquery.flot.min.js delete mode 100644 lnbits/static/plugins/flot/jquery.flot.navigate.js delete mode 100644 lnbits/static/plugins/flot/jquery.flot.navigate.min.js delete mode 100644 lnbits/static/plugins/flot/jquery.flot.pie.js delete mode 100644 lnbits/static/plugins/flot/jquery.flot.pie.min.js delete mode 100644 lnbits/static/plugins/flot/jquery.flot.resize.js delete mode 100644 lnbits/static/plugins/flot/jquery.flot.resize.min.js delete mode 100644 lnbits/static/plugins/flot/jquery.flot.selection.js delete mode 100644 lnbits/static/plugins/flot/jquery.flot.selection.min.js delete mode 100644 lnbits/static/plugins/flot/jquery.flot.stack.js delete mode 100644 lnbits/static/plugins/flot/jquery.flot.stack.min.js delete mode 100644 lnbits/static/plugins/flot/jquery.flot.symbol.js delete mode 100644 lnbits/static/plugins/flot/jquery.flot.symbol.min.js delete mode 100644 lnbits/static/plugins/flot/jquery.flot.threshold.js delete mode 100644 lnbits/static/plugins/flot/jquery.flot.threshold.min.js delete mode 100644 lnbits/static/plugins/flot/jquery.flot.time.js delete mode 100644 lnbits/static/plugins/flot/jquery.flot.time.min.js delete mode 100644 lnbits/static/plugins/jQuery/jQuery-2.1.3.min.js delete mode 100644 lnbits/static/plugins/jQueryUI/jquery-ui-1.10.3.js delete mode 100644 lnbits/static/plugins/jQueryUI/jquery-ui-1.10.3.min.js delete mode 100644 lnbits/static/plugins/jscam/JS.js delete mode 100644 lnbits/static/plugins/jscam/qrcode.min.js delete mode 100644 lnbits/static/plugins/jvectormap/jquery-jvectormap-1.2.2.css delete mode 100644 lnbits/static/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js delete mode 100644 lnbits/static/plugins/jvectormap/jquery-jvectormap-world-mill-en.js delete mode 100644 lnbits/static/plugins/knob/jquery.knob.js delete mode 100644 lnbits/static/plugins/morris/morris.css delete mode 100644 lnbits/static/plugins/morris/morris.js delete mode 100644 lnbits/static/plugins/morris/morris.min.js delete mode 100644 lnbits/static/plugins/pace/pace.js delete mode 100644 lnbits/static/plugins/slimScroll/jquery.slimscroll.js delete mode 100644 lnbits/static/plugins/slimScroll/jquery.slimscroll.min.js delete mode 100644 lnbits/static/plugins/sparkline/jquery.sparkline.js delete mode 100644 lnbits/static/plugins/sparkline/jquery.sparkline.min.js diff --git a/lnbits/__init__.py b/lnbits/__init__.py index 8edaa4b80..0002f2571 100644 --- a/lnbits/__init__.py +++ b/lnbits/__init__.py @@ -27,13 +27,9 @@ Talisman( "'unsafe-eval'", "'unsafe-inline'", "blob:", - "cdnjs.cloudflare.com", - "code.ionicframework.com", - "code.jquery.com", "api.opennode.co", "fonts.googleapis.com", "fonts.gstatic.com", - "maxcdn.bootstrapcdn.com", "github.com", "avatars2.githubusercontent.com", ] diff --git a/lnbits/static/Gruntfile.js b/lnbits/static/Gruntfile.js deleted file mode 100644 index 8e2b46f48..000000000 --- a/lnbits/static/Gruntfile.js +++ /dev/null @@ -1,68 +0,0 @@ -'use strict'; -module.exports = function (grunt) { - // load all grunt tasks - grunt.loadNpmTasks('grunt-contrib-less'); - grunt.loadNpmTasks('grunt-contrib-watch'); - grunt.loadNpmTasks('grunt-contrib-uglify'); - grunt.initConfig({ - watch: { - // if any .less file changes in directory "build/less/" run the "less"-task. - files: ["build/less/*.less", "build/less/skins/*.less", "dist/js/app.js"], - tasks: ["less", "uglify"] - }, - // "less"-task configuration - //this task will compile all less files upon saving to create both AdminLTE.css and AdminLTE.min.css - less: { - //Development not compressed - development: { - options: { - //Wether to compress or not - compress: false - }, - files: { - // compilation.css : source.less - "dist/css/AdminLTE.css": "build/less/AdminLTE.less", - "dist/css/skins/skin-blue.css": "build/less/skins/skin-blue.less", - "dist/css/skins/skin-black.css": "build/less/skins/skin-black.less", - "dist/css/skins/skin-yellow.css": "build/less/skins/skin-yellow.less", - "dist/css/skins/skin-green.css": "build/less/skins/skin-green.less", - "dist/css/skins/skin-red.css": "build/less/skins/skin-red.less", - "dist/css/skins/skin-purple.css": "build/less/skins/skin-purple.less", - "dist/css/skins/_all-skins.css": "build/less/skins/_all-skins.less" - } - }, - //production compresses version - production: { - options: { - //Wether to compress or not - compress: true - }, - files: { - // compilation.css : source.less - "dist/css/AdminLTE.min.css": "build/less/AdminLTE.less", - "dist/css/skins/skin-blue.min.css": "build/less/skins/skin-blue.less", - "dist/css/skins/skin-black.min.css": "build/less/skins/skin-black.less", - "dist/css/skins/skin-yellow.min.css": "build/less/skins/skin-yellow.less", - "dist/css/skins/skin-green.min.css": "build/less/skins/skin-green.less", - "dist/css/skins/skin-red.min.css": "build/less/skins/skin-red.less", - "dist/css/skins/skin-purple.min.css": "build/less/skins/skin-purple.less", - "dist/css/skins/_all-skins.min.css": "build/less/skins/_all-skins.less" - } - } - }, - //Uglify task info. Compress the js files. - uglify: { - options: { - mangle: true, - preserveComments: 'some' - }, - my_target: { - files: { - 'dist/js/app.min.js': ['dist/js/app.js'] - } - } - } - }); - // the default task (running "grunt" in console) is "watch" - grunt.registerTask('default', ['watch']); -}; \ No newline at end of file diff --git a/lnbits/static/LICENSE b/lnbits/static/LICENSE deleted file mode 100644 index e1854e867..000000000 --- a/lnbits/static/LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014-2015 almasaeed2010 - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/lnbits/static/README.md b/lnbits/static/README.md deleted file mode 100644 index 116ea28b8..000000000 --- a/lnbits/static/README.md +++ /dev/null @@ -1,145 +0,0 @@ -Introduction -============ - -**AdminLTE** -- is a fully responsive admin template. Based on **Bootstrap 3** framework. Highly customizable and easy to use. Fits many screen resolutions from small mobile devices to large desktops. Check out the live preview now and see for yourself. - -**Download & Preview on [Almsaeed Studio](http://almsaeedstudio.com)** - -Looking for Premium Templates? ------------------------------- -**Almsaeed studio just opened a new premium templates page. Hand picked to insure the best quality and the most affordable prices. Visit http://almsaeedstudio.com/premium for more information.** - - -!["AdminLTE Presentation"] (http://almsaeedstudio.com/AdminLTE2.png "AdminLTE Presentation") - -**AdminLTE** has been carefully coded with clear comments in all of its JS, LESS and HTML files. LESS has been used to increase code customizability. - -Installation ------------- -There are multiple ways to install AdminLTE. - -####Download: - -Download from Github or [visit Almsaeed Studio](http://almsaeedstudio.com) and download the lateset release. - -####Using The Command Line: - -**Github** - -- Fork the repository ([here is the guide](https://help.github.com/articles/fork-a-repo/)). -- Clone to your machine -``` -git clone https://github.com/YOUR_USERNAME/AdminLTE.git" -``` - -**Bower** - -``` -bower install git://github.com/almasaeed2010/AdminLTE.git -``` - -**Composer** - -``` -composer require "almasaeed2010/adminlte=~2.0" -``` - -Documentation -------------- -Visit the [online documentation](http://almsaeedstudio.com/themes/AdminLTE/documentation/index.html) for the most -updated guide. Information will be added on a weekly basis. - -Browser Support ---------------- -- IE 9+ -- Firefox (latest) -- Chrome (latest) -- Safari (latest) -- Opera (latest) - -Contribution ------------- -Contribution are always **welcome and recommended**! Here is how: - -- Fork the repository ([here is the guide](https://help.github.com/articles/fork-a-repo/)). -- Clone to your machine ```git clone https://github.com/YOUR_USERNAME/AdminLTE.git" -- Make your changes -- Create a pull request - -#### Contribution Requirements: - -- When you contribute, you agree to give a non-exclusive license to Almsaeed Studio to use that contribution in any context as we (Almsaeed Studio) see appropriate. -- If you use content provided by another party, it must be appropriately licensed using an [open source](http://opensource.org/licenses) license. -- Contributions are only accepted through Github pull requests. -- Finally, contributed code must work in all supported browsers (see above for browser support). - -License -------- -AdminLTE is an open source project by [Almsaeed Studio](http://almsaeedstudio.com) that is licensed under [MIT](http://opensource.org/licenses/MIT). Almsaeed Studio -reserves the right to change the license of future releases. - -Legacy Realeases ----------------- -AdminLTE 1.x can be easily upgraded to 2.x using [this guide](http://almsaeedstudio.com/themes/AdminLTE/documentation/index.html#browsers), but if you intend to keep using AdminLTE 1.x, you can download the latest release from the [releases](https://github.com/almasaeed2010/AdminLTE/releases) section above. - -Change log ----------- -**v2.0:** - -- Major layout bug fixes -- Change in layout mark up -- Added transitions to the sidebar -- New skins and modified previous skins -- Change in color scheme to a more complementing scheme -- Added footer support -- Removed pace.js from the main app.js -- Added support for collapsed sidebar as an initial state (add .sidebar-collapse to the body tag) -- Added boxed layout (.layout-boxed) -- Enhanced consistency in padding and margining -- Updated Bootstrap to 3.3.2 -- Fixed navbar dropdown menu on small screens positioning issues. -- Updated Ion Icons to 2.0.0 -- Updated FontAwesome to 4.3.0 -- Added ChartJS 1.0.1 -- Removed iCheck dependency -- Created Dashboard 2.0 -- Created new Chat widget (DirectChat) -- Added transitions to DirectChat -- Added contacts pane to DirectChat -- Changed .right-side to .content-wrapper -- Changed .navbar-right to .navbar-custom-menu -- Removed unused files -- Updated lockscreen style (HTML markup changed!) -- Updated Login & Registration pages (HTML markup changed!) -- Updated buttons style. -- Enhanced border-radius consistency -- Added mailbox: inbox, read, and compose pages -- Bootstrap & jQuery are now hosted locally -- Created documentation. - -**ver 1.2:** - -- Fixed the sidebar scroll issue when using the fixed layout. -- Added [Bootstrap Social Buttons](http://lipis.github.io/bootstrap-social/ "Bootstrap Social") plugin. -- Fixed RequireJS bug. Thanks to [StaticSphere](https://github.com/StaticSphere "github user"). - -**ver 1.1:** - -- Added new skin. class: .skin-black -- Added [pace](http://github.hubspot.com/pace/docs/welcome/ "pace") plugin. - -Image Credits -------------- -[Pixeden](http://www.pixeden.com/psd-web-elements/flat-responsive-showcase-psd) - -[Graphicsfuel](http://www.graphicsfuel.com/2013/02/13-high-resolution-blur-backgrounds/) - -[Pickaface](http://pickaface.net/) - -[Unsplash](https://unsplash.com/) - -Donations ---------- -Donations are **greatly appreciated!** - -[![Donate](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif "AdminLTE Presentation")](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=629XCUSXBHCBC "Donate") diff --git a/lnbits/static/app.js b/lnbits/static/app.js deleted file mode 100644 index 2eb850a88..000000000 --- a/lnbits/static/app.js +++ /dev/null @@ -1,516 +0,0 @@ -/** @format */ - -const user = window.user -const user_wallets = window.user_wallets -const wallet = window.wallet -const transactions = window.transactions - -var thehash = '' -var theinvoice = '' -var outamount = '' -var outmemo = '' - -// API CALLS - -function postAjax(url, data, thekey, success) { - var params = - typeof data == 'string' - ? data - : Object.keys(data) - .map(function(k) { - return encodeURIComponent(k) + '=' + encodeURIComponent(data[k]) - }) - .join('&') - var xhr = window.XMLHttpRequest - ? new XMLHttpRequest() - : new ActiveXObject('Microsoft.XMLHTTP') - xhr.open('POST', url) - xhr.onreadystatechange = function() { - if (xhr.readyState > 3 && xhr.status == 200) { - success(xhr.responseText) - } - } - xhr.setRequestHeader('Grpc-Metadata-macaroon', thekey) - xhr.setRequestHeader('Content-Type', 'application/json') - xhr.send(params) - return xhr -} - -function getAjax(url, thekey, success) { - var xhr = window.XMLHttpRequest - ? new XMLHttpRequest() - : new ActiveXObject('Microsoft.XMLHTTP') - xhr.open('GET', url, true) - xhr.onreadystatechange = function() { - if (xhr.readyState > 3 && xhr.status == 200) { - success(xhr.responseText) - } - } - xhr.setRequestHeader('Grpc-Metadata-macaroon', thekey) - xhr.setRequestHeader('Content-Type', 'application/json') - - xhr.send() - return xhr -} - - - -function sendfundsinput() { - document.getElementById('sendfunds').innerHTML = - "' - } -} - -function receive() { - document.getElementById('receive').innerHTML = - "" - - document.getElementById('sendfunds').innerHTML = '' -} - -function received() { - memo = document.getElementById('memo').value - amount = document.getElementById('amount').value - postAjax( - '/api/v1/invoices', - JSON.stringify({value: amount, memo: memo}), - wallet.inkey, - function(data) { - theinvoice = JSON.parse(data).pay_req - thehash = JSON.parse(data).payment_hash - document.getElementById('QRCODE').innerHTML = - "
' - - new QRCode(document.getElementById('qrcode'), { - text: theinvoice, - width: 300, - height: 300, - colorDark: '#000000', - colorLight: '#ffffff', - correctLevel: QRCode.CorrectLevel.M - }) - document.getElementById("qrcode").style.backgroundColor = "white"; - document.getElementById("qrcode").style.padding = "20px"; - - - setInterval(function(){ - getAjax('/api/v1/invoice/' + thehash, wallet.inkey, function(datab) { - console.log(JSON.parse(datab).PAID) - if (JSON.parse(datab).PAID == 'TRUE') { - window.location.href = 'wallet?wal=' + wallet.id + '&usr=' + user - } - })}, 3000); - - - } - ) -} - -function cancelsend() { - window.location.href = 'wallet?wal=' + wallet.id + '&usr=' + user -} - -function processing() { - document.getElementById('processing').innerHTML = - "" - - - window.top.location.href = "lnurlwallet?lightning=" + getQueryVariable("lightning"); -} - - -function getQueryVariable(variable) -{ - var query = window.location.search.substring(1); - var vars = query.split("&"); - for (var i=0;i

"+ - '

Processing...

<


'; - - postAjax( - '/api/v1/channels/transactions', - JSON.stringify({payment_request: invoice}), - wallet.adminkey, - - function(data) { - thehash = JSON.parse(data).payment_hash - - setInterval(function(){ - getAjax('/api/v1/payment/' + thehash, wallet.adminkey, function(datab) { - console.log(JSON.parse(datab).PAID) - if (JSON.parse(datab).PAID == 'TRUE') { - window.location.href = 'wallet?wal=' + wallet.id + '&usr=' + user - } - })}, 3000); - - } - ) - -} - -function scanQRsend() { - document.getElementById('sendfunds2').innerHTML = - "