-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #437 from LibCrowds/dev
v1.0.0-beta.4
- Loading branch information
Showing
287 changed files
with
17,825 additions
and
14,656 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,27 @@ | ||
.DS_Store | ||
node_modules/ | ||
dist/ | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
# dependencies | ||
node_modules | ||
|
||
# logs | ||
npm-debug.log | ||
|
||
# Nuxt build | ||
.nuxt | ||
|
||
# Nuxt generate | ||
dist | ||
|
||
# Backpack build | ||
build | ||
|
||
# Coverage | ||
test/unit/coverage | ||
test/e2e/reports | ||
selenium-debug.log | ||
src/siteConfig.js | ||
src/custom/* | ||
deploy-key | ||
|
||
# Config | ||
local.config.js | ||
|
||
# docs | ||
_book/* | ||
|
||
# PWA | ||
sw.* | ||
workbox-* |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +0,0 @@ | ||
MIT License | ||
|
||
Copyright (c) 2017 | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,25 @@ | ||
# vue-pybossa-frontend | ||
# LibCrowds | ||
|
||
[![Build Status](https://travis-ci.org/LibCrowds/vue-pybossa-frontend.svg?branch=master)](https://travis-ci.org/LibCrowds/vue-pybossa-frontend) | ||
[![Build Status](https://travis-ci.org/LibCrowds/libcrowds.svg?branch=master)](https://travis-ci.org/LibCrowds/libcrowds) | ||
[![DOI](https://zenodo.org/badge/92406558.svg)](https://zenodo.org/badge/latestdoi/92406558) | ||
|
||
> A Vue.js frontend for PyBossa (>=2.7.2). | ||
> A Vue.js frontend for PyBossa (>=2.8.0). | ||
Configurable PyBossa frontend with a microsite-based structure; as used by LibCrowds: | ||
The LibCrowds package is a Vue.js UI that communicates with a PYBOSSA backend to present crowdsourcing projects using a microsite-based structure. | ||
|
||
[![Example of vue-pybossa-frontend](./docs/assets/site-homepage.png?raw=true "Example of vue-pybossa-frontend")](https://www.libcrowds.com) | ||
[![The LibCrowds website](./docs/assets/site-homepage.png?raw=true "The LibCrowds website")](https://www.libcrowds.com) | ||
|
||
[**Read the documentation**](https://libcrowds.gitbooks.io/vue-pybossa-frontend/content/) | ||
## Build Setup | ||
|
||
``` bash | ||
# install dependencies | ||
$ npm install | ||
|
||
# serve with hot reload at localhost:3000 | ||
$ npm run dev | ||
|
||
# build for production and launch server | ||
$ npm start | ||
``` | ||
|
||
[**Read the documentation**](https://libcrowds.gitbooks.io/libcrowds/content/) |
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
File renamed without changes
File renamed without changes
File renamed without changes
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
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
@import url(https://fonts.googleapis.com/css?family=Varela+Round:300,400,700); | ||
@import url(https://fonts.googleapis.com/css?family=Roboto:300,400,700); | ||
|
||
@import 'settings'; | ||
|
||
@import | ||
'~bootstrap/scss/bootstrap', | ||
'~bootstrap-vue/dist/bootstrap-vue', | ||
'~chartist/dist/scss/chartist', | ||
'partials/cards', | ||
'partials/charts', | ||
'partials/images', | ||
'partials/modals', | ||
'partials/tables', | ||
'partials/labels' | ||
; |
8 changes: 4 additions & 4 deletions
8
src/assets/style/partials/_cards.scss → assets/style/partials/_cards.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
.card { | ||
.card-body { | ||
overflow-y: auto; | ||
} | ||
|
||
.card-header { | ||
font-family: $headings-font-family; | ||
background-color: $white; | ||
} | ||
|
||
.tab-content.card-body { | ||
padding: 0; | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.placeholder { | ||
height: 100%; | ||
width: 100%; | ||
background-color: $gray-100; | ||
color: $gray-600; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
label { | ||
&.label-muted { | ||
font-weight: 300; | ||
font-size: $font-size-sm; | ||
color: $gray-600; | ||
margin: 1.25rem 0 .625rem; | ||
} | ||
|
||
&.toggle-label { | ||
font-family: $font-family-base; | ||
font-weight: 400; | ||
font-size: $font-size-sm; | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
.table { | ||
display: table; | ||
font-size: $font-size-sm; | ||
margin-bottom: 0; | ||
background-color: $white; | ||
border: $table-border-width solid $table-border-color; | ||
overflow-y: auto; | ||
|
||
th { | ||
font-weight: 400; | ||
text-transform: uppercase; | ||
color: $text-muted; | ||
border-top: none; | ||
} | ||
|
||
td { | ||
vertical-align: middle; | ||
} | ||
|
||
.markdown { | ||
h1, h2, h3, h4, h5, h6 { | ||
font-family: $font-family-base; | ||
margin-bottom: 5px; | ||
font-size: $font-size-sm; | ||
text-transform: uppercase; | ||
font-weight: 600; | ||
} | ||
|
||
p { | ||
margin: 0; | ||
margin-bottom: 5px; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module.exports = { | ||
webpack: (config, options, webpack) => { | ||
config.entry.main = './server/index.js' | ||
return config | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,9 +5,6 @@ STAGING='dev.libcrowds.com' | |
|
||
if [ "${TRAVIS_BRANCH}" == "master" -a "$TRAVIS_PULL_REQUEST" = "false" ] || [ "${TRAVIS_BRANCH}" == "dev" -a "$TRAVIS_PULL_REQUEST" = "false" ] ; then | ||
|
||
# Configure | ||
bin/configure.sh | ||
|
||
# Build | ||
npm run build | ||
|
||
|
@@ -26,7 +23,7 @@ if [ "${TRAVIS_BRANCH}" == "master" -a "$TRAVIS_PULL_REQUEST" = "false" ] || [ " | |
|
||
git config user.name "Alex Mendes" | ||
git config user.email "[email protected]" | ||
git add dist/* | ||
git add .nuxt/dist/* | ||
git commit -m "Deployment" | ||
|
||
# Set up permissions | ||
|
@@ -44,5 +41,5 @@ if [ "${TRAVIS_BRANCH}" == "master" -a "$TRAVIS_PULL_REQUEST" = "false" ] || [ " | |
# Deploy | ||
git push -f deploy master | ||
else | ||
echo "Not deploying as this is not the master or the development branch" | ||
echo "Not deploying as this is not the master or development branch" | ||
fi |
Oops, something went wrong.