Skip to content

Commit 6ae4137

Browse files
authored
Merge pull request #274 from ExtensionEngine/release/3.1
3.1 Silk πŸ‘”πŸ”
2 parents 4bebfcd + d7e242f commit 6ae4137

File tree

73 files changed

+1041
-1223
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+1041
-1223
lines changed

β€Žclient/App.vueβ€Ž

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<v-app id="app">
33
<navbar v-if="user" :user="user"/>
44
<v-content>
5-
<router-view class="view"/>
5+
<router-view class="view grey lighten-3"/>
66
</v-content>
77
<confirmation-modal/>
88
</v-app>
@@ -40,12 +40,11 @@ html {
4040
4141
#app {
4242
color: rgba(0,0,0,0.87);
43-
font-family: Roboto, Helvetica, Arial, sans-serif;
43+
font-family: Poppins, Helvetica, Arial, sans-serif;
4444
-webkit-font-smoothing: antialiased;
4545
-moz-osx-font-smoothing: grayscale;
4646
text-align: center;
4747
overflow: hidden;
48-
background-color: #e0e0e0 !important;
4948
}
5049
5150
.v-content .view {

β€Žclient/api/resource.jsβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default class Resource {
1818
}
1919

2020
url(path = '') {
21-
return join(this.getBaseUrl(), path);
21+
return join(this.getBaseUrl(), path.toString());
2222
}
2323

2424
/**
@@ -106,7 +106,7 @@ export default class Resource {
106106
// if server id is not provided but exist inside resource cache
107107
if (!model.id && this.getKey(model._cid)) this.setKey(model);
108108
const action = model.id ? 'patch' : 'post';
109-
const url = model.id ? this.url(model.id) : this.url('');
109+
const url = model.id ? this.url(model.id) : this.url();
110110
return axios[action](url, this.clean(model))
111111
.then(response => {
112112
if (!model.id) this.map(model._cid, response.data.data.id);

β€Žclient/assets/stylesheets/main.scssβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
/* stylelint-disable function-comma-newline-after */
33
@import '~sass-web-fonts/web-fonts';
44
$web-font-path: web-fonts-url(
5-
('Catamaran': (300, 400, 500, 600, 700)),
6-
('Roboto': (300, 400, 500, 700))
5+
('Roboto': (300, 400, 500, 700)),
6+
('Poppins': (300, 400, 500, 700))
77
);
88
/* stylelint-enable */
99

β€Žclient/components/catalog/Card/index.vueβ€Ž

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
<template>
22
<div class="col-lg-4">
3-
<div @click="navigateTo" class="course-card">
3+
<div @click="navigateTo" class="repo-card white elevation-2">
44
<div class="body">
5-
<div class="title">
6-
<acronym :course="course"></acronym>
5+
<div class="repo-title">
6+
<acronym :course="course"/>
77
{{ name }}
88
</div>
99
<div class="description">{{ description }}</div>
1010
</div>
1111
<div class="row">
1212
<span class="col-xs-6">
13-
<stat :name="objectiveLabel" :value="objectives"></stat>
13+
<stat :name="objectiveLabel" :value="objectives"/>
1414
</span>
1515
<span class="col-xs-6">
16-
<stat :value="assessments" name="Knowledge checks"></stat>
16+
<stat :value="assessments" name="Knowledge checks"/>
1717
</span>
1818
</div>
1919
</div>
@@ -68,20 +68,17 @@ export default {
6868
</script>
6969

7070
<style lang="scss" scoped>
71-
.course-card {
71+
.repo-card {
7272
min-height: 300px;
7373
margin-top: 40px;
7474
padding: 30px 30px 20px;
7575
color: #555;
76-
font-family: Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
7776
border-radius: 3px;
78-
background-color: #fff;
79-
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.54);
8077
transition: box-shadow 0.2s ease;
8178
cursor: pointer;
8279
8380
&:hover {
84-
box-shadow: 0 10px 20px rgba(0,0,0,0.2), 0 8px 8px rgba(0,0,0,0.18);
81+
box-shadow: 0 10px 20px rgba(0,0,0,0.2), 0 8px 8px rgba(0,0,0,0.18) !important;
8582
}
8683
8784
.body {
@@ -95,7 +92,7 @@ export default {
9592
}
9693
}
9794
98-
.title {
95+
.repo-title {
9996
height: 100px;
10097
margin: 20px 0 10px;
10198
font-size: 20px;

β€Žclient/components/catalog/Container.vueβ€Ž

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div class="catalog" infinite-wrapper>
2+
<div class="catalog grey lighten-2" infinite-wrapper>
33
<div class="row">
44
<div class="col-md-6 col-md-offset-3 col-sm-10 col-sm-offset-1">
55
<search @change="search"></search>
@@ -8,15 +8,19 @@
88
<create-course class="pull-right"/>
99
</div>
1010
</div>
11-
<div v-show="searching" class="search-spinner"><circular-progress/></div>
11+
<div v-show="searching" class="search-spinner">
12+
<v-progress-circular color="primary" indeterminate/>
13+
</div>
1214
<div v-show="!searching" class="row course-list">
1315
<course-card
1416
v-for="course in orderedCourses"
1517
:key="course._cid"
1618
:course="course">
1719
</course-card>
1820
<infinite-loading ref="infiniteLoading" @infinite="loadMore">
19-
<div slot="spinner" class="spinner"><circular-progress/></div>
21+
<div slot="spinner" class="spinner">
22+
<v-progress-circular color="primary" indeterminate/>
23+
</div>
2024
<div slot="no-results" class="no-results">
2125
{{ orderedCourses.length ? '' : 'No courses found.' }}
2226
</div>
@@ -27,7 +31,6 @@
2731
</template>
2832

2933
<script>
30-
import CircularProgress from 'components/common/CircularProgress';
3134
import CourseCard from './Card';
3235
import CreateCourse from './Create';
3336
import get from 'lodash/get';
@@ -81,7 +84,6 @@ export default {
8184
this.search();
8285
},
8386
components: {
84-
CircularProgress,
8587
CourseCard,
8688
CreateCourse,
8789
InfiniteLoading,

β€Žclient/components/catalog/Create.vueβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
<v-card-actions>
4545
<v-spacer/>
4646
<v-btn :disabled="showLoader" @click="hide">Cancel</v-btn>
47-
<v-btn :loading="showLoader" color="success" outline type="submit">
47+
<v-btn :loading="showLoader" color="primary" outline type="submit">
4848
Create
4949
</v-btn>
5050
</v-card-actions>

β€Žclient/components/catalog/Search.vueβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export default {
8181
}
8282
8383
.btn {
84-
padding: 8px 12px 4px;
84+
padding: 8px 12px 5px;
8585
color: #656565;
8686
font-size: 22px;
8787
background-color: white;

β€Žclient/components/common/Acronym.vueβ€Ž

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div :style="{ color }" class="acronym">
3-
<span>{{ acronym }}</span>
3+
{{ acronym }}
44
</div>
55
</template>
66

@@ -31,13 +31,9 @@ export default {
3131
margin-right: 8px;
3232
font-size: 18px;
3333
font-weight: 400;
34+
line-height: 45px;
3435
text-align: center;
3536
border-radius: 30px;
36-
background-color: #eee;
37-
38-
span {
39-
display: inline-block;
40-
padding-top: 13px;
41-
}
37+
background: #f1f1f1;
4238
}
4339
</style>

β€Žclient/components/common/Navbar.vueβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ $font-color: #333;
9292
color: $font-color;
9393
font-size: 16px;
9494
line-height: $container-height;
95-
font-family: Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
9695
text-align: left;
9796
text-overflow: ellipsis;
9897
white-space: nowrap;

β€Žclient/components/common/ProgressDialog.vueβ€Ž

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@
77
<v-card color="blue-grey darken-3" dark>
88
<v-card-text>
99
Please wait...
10-
<v-progress-linear
11-
indeterminate
12-
color="white"
13-
class="mb-0"/>
10+
<v-progress-linear :value="status" color="white" class="mb-0"/>
1411
</v-card-text>
1512
</v-card>
1613
</v-dialog>
@@ -20,7 +17,8 @@
2017
<script>
2118
export default {
2219
props: {
23-
show: { type: Boolean, default: false }
20+
show: { type: Boolean, default: false },
21+
status: { type: Number, default: 0 }
2422
}
2523
};
2624
</script>

0 commit comments

Comments
Β (0)