diff --git a/README.md b/README.md index 84a3cd2..538c8e5 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Simple chrome extension, that adds "git clone" before the source. -![Screenshot Gitlab](readme-ressources/gitlab-git-clone.png "Screenshot Gitlab") +![Screenshot Gitlab](assets/readme-ressources/gitlab-git-clone.png "Screenshot Gitlab") ## How to install? diff --git a/assets/icons/gitlab-git-clone-logo.png b/assets/icons/gitlab-git-clone-logo.png new file mode 100644 index 0000000..3d6b10c Binary files /dev/null and b/assets/icons/gitlab-git-clone-logo.png differ diff --git a/assets/icons/gitlab-git-clone-logo16x.png b/assets/icons/gitlab-git-clone-logo16x.png new file mode 100644 index 0000000..528406f Binary files /dev/null and b/assets/icons/gitlab-git-clone-logo16x.png differ diff --git a/assets/icons/gitlab-git-clone-logo48x.png b/assets/icons/gitlab-git-clone-logo48x.png new file mode 100644 index 0000000..7d11738 Binary files /dev/null and b/assets/icons/gitlab-git-clone-logo48x.png differ diff --git a/readme-ressources/gitlab-git-clone.png b/assets/readme-ressources/gitlab-git-clone.png similarity index 100% rename from readme-ressources/gitlab-git-clone.png rename to assets/readme-ressources/gitlab-git-clone.png diff --git a/default_popup/index.html b/default_popup/index.html new file mode 100644 index 0000000..6055429 --- /dev/null +++ b/default_popup/index.html @@ -0,0 +1,16 @@ + + + + + + + + Thank you + + +

Thank you for using this chrome extension.

+

You want to contribute?

+

Click here

+ + \ No newline at end of file diff --git a/default_popup/style.css b/default_popup/style.css new file mode 100644 index 0000000..bdbb968 --- /dev/null +++ b/default_popup/style.css @@ -0,0 +1,3 @@ +body { + width: 300px; +} \ No newline at end of file diff --git a/script.js b/js/frontend.js similarity index 100% rename from script.js rename to js/frontend.js diff --git a/manifest.json b/manifest.json index 8821168..7f90b53 100644 --- a/manifest.json +++ b/manifest.json @@ -1,12 +1,24 @@ { - "name": "Gitlab Git Clone", - "description": "Adds 'git clone' to the ssh/https clone url, so you simply can copy and paste it into your terminal.", - "version": "1.1", - "manifest_version": 3, - "content_scripts": [ - { - "matches": ["https://gitlab.com/*"], - "js": ["script.js"] - } - ] + "name": "Gitlab Git Clone", + "description": "Adds 'git clone' to the ssh/https clone url, so you simply can copy and paste it into your terminal.", + "version": "1.1", + "manifest_version": 3, + "content_scripts": [ + { + "matches": [ + "https://gitlab.com/*" + ], + "js": [ + "js/frontend.js" + ] + } + ], + "icons": { + "16": "assets/icons/gitlab-git-clone-logo16x.png", + "48": "assets/icons/gitlab-git-clone-logo48x.png", + "128": "assets/icons/gitlab-git-clone-logo.png" + }, + "action": { + "default_popup": "default_popup/index.html" + } } \ No newline at end of file