Skip to content

Commit

Permalink
Merge pull request #2 from pt1602/feature/optimizie-visuals
Browse files Browse the repository at this point in the history
added icons, default popup and moved files
  • Loading branch information
pt1602 authored Jun 13, 2022
2 parents bef24cd + c8d0b24 commit fb40293
Show file tree
Hide file tree
Showing 9 changed files with 42 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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?

Expand Down
Binary file added assets/icons/gitlab-git-clone-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/gitlab-git-clone-logo16x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/gitlab-git-clone-logo48x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
16 changes: 16 additions & 0 deletions default_popup/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="style.css">
<title>Thank you</title>
</head>
<body>
<h3>Thank you for using this chrome extension.</h3>
<p>You want to contribute?</p>
<p>Click <a href="https://github.com/pt1602/gitlab-git-clone" target="_blank">here</a></p>
</body>
</html>
3 changes: 3 additions & 0 deletions default_popup/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
body {
width: 300px;
}
File renamed without changes.
32 changes: 22 additions & 10 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -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"
}
}

0 comments on commit fb40293

Please sign in to comment.