Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into develop
Browse files Browse the repository at this point in the history
# Conflicts:
#	frontend/src/views/spider/SpiderList.vue
  • Loading branch information
Marvin Zhang committed May 26, 2019
2 parents 113be05 + a0acd6d commit 8d3d7b3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions crawlab/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,5 @@ node_modules/

# egg-info
*.egg-info

tmp/
2 changes: 1 addition & 1 deletion crawlab/bin/run_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import tasks.deploy

if __name__ == '__main__':
if sys.platform == 'windows':
if 'win' in sys.platform:
celery_app.start(argv=['tasks', 'worker', '-P', 'eventlet', '-E', '-l', 'INFO'])
else:
celery_app.start(argv=['tasks', 'worker', '-E', '-l', 'INFO'])
6 changes: 3 additions & 3 deletions frontend/src/views/spider/SpiderList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
:width="col.width">
</el-table-column>
</template>
<el-table-column :label="$t('Action')" align="left" width="200">
<el-table-column :label="$t('Action')" align="left" width="auto" fixed="right">
<template slot-scope="scope">
<el-tooltip :content="$t('View')" placement="top">
<el-button type="primary" icon="el-icon-search" size="mini" @click="onView(scope.row)"></el-button>
Expand Down Expand Up @@ -234,8 +234,8 @@ export default {
},
// tableData,
columns: [
{ name: 'name', label: 'Name', width: 'auto' },
{ name: 'site_name', label: 'Site', width: '120' },
{ name: 'name', label: 'Name', width: '180', align: 'left' },
{ name: 'site_name', label: 'Site', width: '140', align: 'left' },
{ name: 'type', label: 'Spider Type', width: '120' },
{ name: 'lang', label: 'Language', width: '120', sortable: true },
{ name: 'task_ts', label: 'Last Run', width: '160' },
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/task/TaskList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
:width="col.width">
</el-table-column>
</template>
<el-table-column :label="$t('Action')" align="center" width="auto">
<el-table-column :label="$t('Action')" align="left" width="auto" fixed="right">
<template slot-scope="scope">
<el-tooltip :content="$t('View')" placement="top">
<el-button type="primary" icon="el-icon-search" size="mini" @click="onView(scope.row)"></el-button>
Expand Down

0 comments on commit 8d3d7b3

Please sign in to comment.