diff --git a/.eslintcache b/.eslintcache deleted file mode 100644 index e02fd55..0000000 --- a/.eslintcache +++ /dev/null @@ -1 +0,0 @@ -[{"/Users/onpoint/QuangVo/extensions/djadmin-pro/src/reportWebVitals.js":"1","/Users/onpoint/QuangVo/extensions/djadmin-pro/src/App.js":"2","/Users/onpoint/QuangVo/extensions/djadmin-pro/src/index.js":"3"},{"size":362,"mtime":1608346651387,"results":"4","hashOfConfig":"5"},{"size":528,"mtime":1608346651386,"results":"6","hashOfConfig":"5"},{"size":500,"mtime":1608346651387,"results":"7","hashOfConfig":"5"},{"filePath":"8","messages":"9","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"159ascw",{"filePath":"10","messages":"11","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"12","messages":"13","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/onpoint/QuangVo/extensions/djadmin-pro/src/reportWebVitals.js",[],"/Users/onpoint/QuangVo/extensions/djadmin-pro/src/App.js",[],"/Users/onpoint/QuangVo/extensions/djadmin-pro/src/index.js",[]] \ No newline at end of file diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 3b69b9c..0000000 --- a/.gitignore +++ /dev/null @@ -1,24 +0,0 @@ -# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. - -# dependencies -/node_modules -/.pnp -.pnp.js - -# testing -/coverage - -# production -/build -/build-bak - -# misc -.DS_Store -.env.local -.env.development.local -.env.test.local -.env.production.local - -npm-debug.log* -yarn-debug.log* -yarn-error.log* diff --git a/README.md b/README.md deleted file mode 100644 index 72e6f8b..0000000 --- a/README.md +++ /dev/null @@ -1,64 +0,0 @@ -# Add some magic to Django - -An Awesome extension that help quering with django faster and easier - -## I. Features - -- UI for building query -- Quick search and open table -- Support hotkey -- Support both Chrome and Firefox - -## II. Install -Download extension -### [Download](https://github.com/quangvo09/djadmin-pro/releases) - -### For Chrome ("Load unpacked extension") -1. Download and unpack the source code from the latest release or git-clone the master branch of this repository into a local folder -2. Navigate to chrome://extensions -3. Enable developer mode -4. Click on "Load unpacked extension" and select folder - - -### Firefox -- Open `Addons and Themes` and Install from file - -![Firefox install](./docs/img/firefox-install.png) - -- Select Extension file - -- Click `Add` when asked - -![Firefox add](./docs/img/firefox-install2.png) - - -## III. Usage - -### 1. Filter with UI - -- Click on column name or press `Ctrl + j` to open the dialog and search for column name - -![Filter dialog](./docs/img/dialog.png) - - - -After input the value you can - -+ Press `Ctrl + Enter` to apply current filter -+ Press `Shift + Enter` to append current filter to existing filters - - - -### 2. Search table easier - -Press `Ctrl + Shift + j` to open search table dialog - -![seach table](./docs/img/search_table.png) - - - -Search table name and then - -+ `Enter` to open selected table -+ `Ctrl + Enter`/`Cmd + Enter` to open selected table in a new tab - diff --git a/src/background.js b/background.js similarity index 100% rename from src/background.js rename to background.js diff --git a/src/content.css b/content.css similarity index 100% rename from src/content.css rename to content.css diff --git a/src/content.js b/content.js similarity index 100% rename from src/content.js rename to content.js diff --git a/dist/chrome-djadmin_pro-1.1.0.crx b/dist/chrome-djadmin_pro-1.1.0.crx deleted file mode 100644 index 1f7bf79..0000000 Binary files a/dist/chrome-djadmin_pro-1.1.0.crx and /dev/null differ diff --git a/dist/firefox-djadmin_pro-1.1.0-fx.xpi b/dist/firefox-djadmin_pro-1.1.0-fx.xpi deleted file mode 100644 index 3772cae..0000000 Binary files a/dist/firefox-djadmin_pro-1.1.0-fx.xpi and /dev/null differ diff --git a/docs/img/chrome-install.png b/docs/img/chrome-install.png deleted file mode 100644 index eff37b2..0000000 Binary files a/docs/img/chrome-install.png and /dev/null differ diff --git a/docs/img/dialog.png b/docs/img/dialog.png deleted file mode 100644 index 1f1b811..0000000 Binary files a/docs/img/dialog.png and /dev/null differ diff --git a/docs/img/firefox-install.png b/docs/img/firefox-install.png deleted file mode 100644 index e9e3e25..0000000 Binary files a/docs/img/firefox-install.png and /dev/null differ diff --git a/docs/img/firefox-install2.png b/docs/img/firefox-install2.png deleted file mode 100644 index a93848e..0000000 Binary files a/docs/img/firefox-install2.png and /dev/null differ diff --git a/docs/img/search_field.png b/docs/img/search_field.png deleted file mode 100644 index aee100e..0000000 Binary files a/docs/img/search_field.png and /dev/null differ diff --git a/docs/img/search_table.png b/docs/img/search_table.png deleted file mode 100644 index 28c5c6c..0000000 Binary files a/docs/img/search_table.png and /dev/null differ diff --git a/src/index.html b/index.html similarity index 100% rename from src/index.html rename to index.html diff --git a/src/manifest.json b/manifest.json similarity index 100% rename from src/manifest.json rename to manifest.json diff --git a/src/nice-select2.css b/nice-select2.css similarity index 100% rename from src/nice-select2.css rename to nice-select2.css diff --git a/src/nice-select2.js b/nice-select2.js similarity index 100% rename from src/nice-select2.js rename to nice-select2.js diff --git a/src/robots.txt b/robots.txt similarity index 100% rename from src/robots.txt rename to robots.txt diff --git a/src/searchTable.js b/searchTable.js similarity index 100% rename from src/searchTable.js rename to searchTable.js diff --git a/src/similarity.js b/similarity.js similarity index 100% rename from src/similarity.js rename to similarity.js diff --git a/src/img/icon32.png b/src/img/icon32.png deleted file mode 100644 index d785795..0000000 Binary files a/src/img/icon32.png and /dev/null differ diff --git a/src/img/icon48.png b/src/img/icon48.png deleted file mode 100644 index fc8b558..0000000 Binary files a/src/img/icon48.png and /dev/null differ diff --git a/src/img/icon96.png b/src/img/icon96.png deleted file mode 100644 index 69034d4..0000000 Binary files a/src/img/icon96.png and /dev/null differ