Skip to content

Commit 7f47f68

Browse files
committed
Initial commit
0 parents  commit 7f47f68

File tree

12 files changed

+276
-0
lines changed

12 files changed

+276
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Resource Collector Chrome Extension
2+
3+
This extension helps you contribute design resources to Design Open.

icons/icon128.png

3.5 KB
Loading

icons/icon16.png

1.16 KB
Loading

icons/icon19.png

1.27 KB
Loading

icons/icon38.png

1.61 KB
Loading

icons/icon48.png

1.94 KB
Loading

icons/icon64.png

2.19 KB
Loading

manifest.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "Design Open",
3+
"version": "0.0.1",
4+
"manifest_version": 2,
5+
"homepage_url": "http://designopen.org",
6+
"description": "This extension helps you contribute design resources to Design Open.",
7+
"icons": {
8+
"16": "icons/icon16.png",
9+
"48": "icons/icon48.png",
10+
"128": "icons/icon128.png"
11+
},
12+
"browser_action": {
13+
"default_icon": {
14+
"19": "icons/icon19.png",
15+
"38": "icons/icon38.png"
16+
},
17+
"default_title": "Design Open",
18+
"default_popup": "src/popup/index.html"
19+
},
20+
"permissions": [
21+
"activeTab",
22+
"storage",
23+
"http://osdrc.herokuapp.com/*",
24+
"http://designopen.org/*"
25+
]
26+
}

src/popup/icon.png

1.31 KB
Loading

src/popup/index.html

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>Focus</title>
5+
<link rel="stylesheet" type="text/css" href="style.css">
6+
</head>
7+
8+
<body>
9+
<div id="header"></div>
10+
<div id="content">
11+
<div id="submissionLoading">
12+
<p class="lead">Loading...</p>
13+
</div>
14+
<div id="submissionInfo" class="hide">
15+
<h1>Design Resource Submission</h1>
16+
<p class="lead">Thank you for your submission to Design Open!</p>
17+
<input type="button" value="View Submission &raquo;" id="viewSubmission">
18+
</div>
19+
<div id="submissionForm" class="hide">
20+
<h1>Submit Design Resource</h1>
21+
<p class="lead">Contribute a design resource to Design Open.</p>
22+
<input type="text" id="title" placeholder="Title">
23+
<input type="url" id="url" placeholder="URL" spellcheck="false">
24+
<select id="category" disabled>
25+
<option>Loading categories...</option>
26+
</select>
27+
<input type="text" id="twitter" placeholder="@twitter" spellcheck="false">
28+
<textarea id="description" placeholder="Description" rows="10"></textarea>
29+
<div id="errStatus"></div>
30+
<input type="submit" id="submit" value="Submit &raquo;">
31+
</div>
32+
</div>
33+
<script src="popup.js"></script>
34+
</body>
35+
</html>

0 commit comments

Comments
 (0)