Skip to content

Commit 9532ebf

Browse files
authored
Add files via upload
1 parent e456794 commit 9532ebf

File tree

15 files changed

+548
-0
lines changed

15 files changed

+548
-0
lines changed

bower.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "autorates",
3+
"authors": [
4+
"Ivan Volkov"
5+
],
6+
"description": "",
7+
"main": "",
8+
"license": "MIT",
9+
"homepage": "",
10+
"ignore": [
11+
"**/.*",
12+
"node_modules",
13+
"bower_components",
14+
"test",
15+
"tests"
16+
],
17+
"dependencies": {}
18+
}

dist/manifest.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"update_url": "https://clients2.google.com/service/update2/crx",
3+
"name": "SMOService Invoices",
4+
"version": "1.3",
5+
"description": "Показывает информацию о заказах с сайта smoservice.ru (статус их выполнения, номера заказов, время обновления).",
6+
"background": {
7+
"scripts": [
8+
"js/backend.bundle.js"
9+
]
10+
},
11+
"manifest_version": 2,
12+
"icons": {
13+
"16": "img/128.png",
14+
"48": "img/128.png",
15+
"128": "img/128.png"
16+
},
17+
"browser_action": {
18+
"default_title": "SMOService: Статусы заказов",
19+
"default_icon": "img/128.png",
20+
"icons": {
21+
"16": "img/128.png",
22+
"48": "img/128.png",
23+
"128": "img/128.png"
24+
},
25+
"default_popup": "popup.html"
26+
},
27+
"permissions": [
28+
"http://smoservice.ru/",
29+
"https://smoservice.ru/"
30+
]
31+
}

dist/popup.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!doctype html>
2+
<html>
3+
<head>
4+
<title>SMOService - Статусы ваших заказов.</title>
5+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6+
</head>
7+
<body>
8+
<div id="app">
9+
Загрузка...
10+
</div>
11+
<script src="js/popup.bundle.js"></script>
12+
</body>
13+
</html>

img/128.png

7.88 KB
Loading

package.json

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"name": "smoservice.ru",
3+
"version": "1.3.0",
4+
"description": "",
5+
"main": "webpack.config.js",
6+
"dependencies": {
7+
"babel": "^6.23.0",
8+
"babel-core": "^6.23.1",
9+
"babel-eslint": "^7.1.1",
10+
"babel-loader": "^6.3.2",
11+
"babel-plugin-add-module-exports": "^0.2.1",
12+
"babel-plugin-transform-runtime": "^6.23.0",
13+
"babel-polyfill": "^6.23.0",
14+
"babel-preset-es2015": "^6.22.0",
15+
"babel-runtime": "^6.23.0",
16+
"bootstrap": "^3.3.7",
17+
"bower": "^1.8.0",
18+
"css-loader": "^0.26.1",
19+
"eslint": "^3.15.0",
20+
"eslint-loader": "^1.6.1",
21+
"file-loader": "^0.10.0",
22+
"jquery": "^3.1.1",
23+
"moment": "^2.17.1",
24+
"optimist": "^0.6.1",
25+
"style-loader": "^0.13.1",
26+
"uglify-js": "github:mishoo/UglifyJS2#harmony",
27+
"url-loader": "^0.5.7",
28+
"vue": "^2.1.10",
29+
"vue-hot-reload-api": "^2.0.8",
30+
"vue-html-loader": "^1.2.3",
31+
"vue-loader": "^11.0.0",
32+
"vue-template-compiler": "^2.1.10",
33+
"webpack": "^2.2.1",
34+
"webpack-dev-server": "^2.4.1"
35+
},
36+
"devDependencies": {},
37+
"scripts": {
38+
"test": "echo \"Error: no test specified\" && exit 1",
39+
"go": "npm run build && npm run dev",
40+
"dev": "webpack --watch --config=webpack.dev.config.js",
41+
"build": "webpack --config=webpack.build.config.js"
42+
},
43+
"author": "",
44+
"license": "ISC"
45+
}

src/asset/css/my.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@import url('https://smoservice.ru/_st/my.css');

src/asset/css/style.css

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
body {
2+
background: #FFF !important;
3+
min-width: 550px;
4+
min-height: 128px;
5+
}
6+
7+
.paginator > span {
8+
margin-left: 5px;
9+
width: 31px !important;
10+
}
11+
12+
.row.filter > div {
13+
padding: 10px 25px;
14+
}
15+
16+
.row.filter .status {
17+
margin-top: 5px;
18+
}
19+
20+
.sublink {
21+
margin-top: 20px;
22+
margin-bottom: 10px;
23+
}
24+
25+
.paginator a,
26+
.paginator .pgSwchA {
27+
font-size: 13px;
28+
border: 0;
29+
padding: 6px 12px 6px 12px;
30+
cursor: pointer;
31+
outline: none;
32+
border-radius: 3px;
33+
-o-background-size: 100% 100%;
34+
-webkit-background-size: 100% 100%;
35+
-khtml-background-size: 100% 100%;
36+
background-size: 100% 100%;
37+
background: -moz-linear-gradient(top, #fe901b, #ff6802);
38+
background: -webkit-gradient(linear, left top, left bottom, from(#fe901b), to(#ff6802));
39+
filter: progid:DXImageTransform.Microsoft.gradient(enabled='true', startColorstr=#fe901b, endColorstr=#ff6802, GradientType=0);
40+
zoom: 1;
41+
background: linear-gradient(top, #fe901b, #ff6802);
42+
background-image: -o-linear-gradient(top, #fe901b, #ff6802);
43+
background-image: -moz-linear-gradient(top, #fe901b, #ff6802);
44+
background-image: -webkit-linear-gradient(top, #fe901b, #ff6802);
45+
background-image: -ms-linear-gradient(top, #fe901b, #ff6802);
46+
color: #fff;
47+
border-top: 1px solid #fe8111;
48+
text-shadow: 0 -1px 0 #ff6102;
49+
}

src/asset/img/preloader.gif

7.69 KB
Loading

src/backend/app.js

Whitespace-only changes.

src/popup/app.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import 'bootstrap/dist/css/bootstrap.css';
2+
import 'bootstrap/dist/css/bootstrap-theme.css';
3+
4+
import 'jquery';
5+
import 'bootstrap';
6+
import Vue from 'vue';
7+
8+
import App from './component/App.vue';
9+
10+
Vue.config.devtools = true;
11+
12+
new Vue({
13+
el: '#app',
14+
render: (h) => h(App)
15+
});
16+
17+
/**
18+
* Полезные ссылки
19+
*
20+
* https://lodash.com/
21+
* https://ru.vuejs.org/v2/guide/components.html#Использование-v-on-с-пользовательскими-событиями
22+
* https://habrahabr.ru/post/217515/
23+
* https://regex101.com/
24+
*/

0 commit comments

Comments
 (0)