Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
260 commits
Select commit Hold shift + click to select a range
cd7ece1
Added extractData helper to system api
abasic Nov 19, 2018
bc3c7e7
Change course route to use props instead of $route.params
abasic Nov 19, 2018
f77367d
Moved trim to v-model
abasic Nov 19, 2018
740b435
Wrapped email and role in AddSystemUser component with context object
abasic Nov 19, 2018
2ed3468
Renamed system-users route to settings/users
abasic Nov 19, 2018
ee1fc9b
Refactored the way roles in are accessed in config/shared/role.js
abasic Nov 19, 2018
81ea94b
Extraced default authentication in user router
abasic Nov 19, 2018
b6e2889
Moved fetching users by role to User scope
abasic Nov 19, 2018
3efde97
Merged develop
underscope Feb 25, 2019
92148d7
Added option to preview perspective in LMS
rkusan00 Mar 22, 2019
79fd582
Switched from promise router to async errors
lukasaric May 10, 2019
564028a
Merge with develop
abasic May 21, 2019
269092d
Updated system user management:
abasic May 22, 2019
8cd2f7c
Clear email after user creation
abasic May 23, 2019
5be8989
Moved debounce to common user management component
abasic May 23, 2019
4ab9a3c
Added confirmation modal for user removal
abasic May 23, 2019
d39f18f
Clean up
abasic May 23, 2019
52538da
Clean up
abasic May 23, 2019
c8ba70d
Fixed course level user navigation:
abasic May 23, 2019
9b436e5
Addressed unused auth variable issue
lukasaric May 24, 2019
d6c2ce8
Merge branch 'develop' into feature/express-async-errors
lukasaric May 24, 2019
303a524
Added toolbar items for catalog and settings
abasic May 28, 2019
01569c9
ESLint client import sort
lukasaric May 30, 2019
adbebe7
Update smaller and non-breaking dependecies
zcuric May 31, 2019
7b69039
Rename property to as required by update
zcuric May 31, 2019
5090791
Set path always to string
zcuric May 31, 2019
77378b4
Remove empty string, it's a default argument
zcuric May 31, 2019
8ff3ed4
Modified styles on client according to stylelint
lukasaric May 31, 2019
61dca09
fix: package.json & package-lock.json to reduce vulnerabilities
Jun 1, 2019
dc3cb5e
Merge pull request #272 from ExtensionEngine/snyk-fix-2aa3168305df05c…
underscope Jun 1, 2019
0e3bb32
Merge branch 'develop' into feature/eslint-sort-import
underscope Jun 1, 2019
79f1153
Addressed issues
lukasaric Jun 1, 2019
bc49875
Merge branch 'feature/eslint-sort-import' of github.com:ExtensionEngi…
lukasaric Jun 1, 2019
03e7cca
Merge pull request #268 from ExtensionEngine/feature/eslint-sort-import
underscope Jun 2, 2019
e65c46b
Merge pull request #269 from ExtensionEngine/update-deps
underscope Jun 3, 2019
bea8aba
Merge with develop
abasic Jun 3, 2019
ea39eb3
Merge branch 'release/3.1' into develop
underscope Jun 3, 2019
deb7fca
Updated user management screens and navigation:
abasic Jun 3, 2019
29bc39b
Updated system settings:
abasic Jun 3, 2019
4f3b998
Merge pull request #260 from ExtensionEngine/feature/express-async-er…
underscope Jun 3, 2019
8dbde65
Clean up
abasic Jun 4, 2019
d969152
Added search to elements list and schemas list
abasic Jun 4, 2019
6f45297
Updates to system settings sidebar and routes:
abasic Jun 4, 2019
c2167cf
Merge with develop
abasic Jun 4, 2019
8895324
Updates to system settings:
abasic Jun 4, 2019
b938645
Navbar updates:
abasic Jun 4, 2019
9db6a87
Can now open structure tree by clicking anywhere
abasic Jun 4, 2019
f90342e
Fixed course navigation appearing in editor:
abasic Jun 4, 2019
4f97375
Removed indeterminate option from progress dialog
abasic Jun 4, 2019
1f1a2bc
Added searchable prop to registry items
abasic Jun 4, 2019
8a6e659
Clean up
abasic Jun 4, 2019
726bef7
Merge branch 'release/3.1' into develop
Jun 4, 2019
eb0b81f
Tweaked UI to use new primary colour
Jun 4, 2019
f3dfd6b
💄
Jun 4, 2019
fb8694b
Meta Select options image preview
Jun 4, 2019
2c08a61
Snackbar upgrade
lukasaric Jun 5, 2019
fa82a01
Merge pull request #278 from ExtensionEngine/feature/meta-select-opti…
underscope Jun 5, 2019
95b0b72
Merge pull request #276 from ExtensionEngine/feature/reflection-UI-tw…
Jun 6, 2019
2adecbb
Extend InputAsset component to accept additional prop
hrvojevu Jun 6, 2019
729e096
Cleanup :lipstick:
underscope Jun 6, 2019
63316dc
Merge pull request #280 from ExtensionEngine/feature/snackbar-modific…
underscope Jun 6, 2019
8969ef0
Addressed issue
lukasaric Jun 10, 2019
4a2d476
Order props by importance
hrvojevu Jun 10, 2019
57e40df
Modified bunyan logger
lukasaric Jun 10, 2019
30d00fc
Addressed issues
lukasaric Jun 10, 2019
fc14ab6
Dynamic logging level
lukasaric Jun 10, 2019
db0d437
Merge pull request #284 from ExtensionEngine/feature/logger-modification
abasic Jun 11, 2019
fda6bd8
Merge pull request #282 from hrvojevu/feature/input-asset-additional-…
abasic Jun 11, 2019
3e00391
Addressed issue
lukasaric Jun 11, 2019
b4cc836
Restore repo user mgm
underscope Jun 12, 2019
54534ac
Exposed helper for fetching or inviting user
underscope Jun 12, 2019
b971dbd
Added pagination helpers
underscope Jun 12, 2019
8db3f61
Updated user api
underscope Jun 12, 2019
fb1afd2
Fix company name in the footer
vkaracic Jun 12, 2019
2149a87
Merge pull request #285 from vkaracic/fix-ee-name
kronicker Jun 12, 2019
8ae4e69
Merge pull request #270 from ExtensionEngine/feature/stylelint-appliance
kronicker Jun 12, 2019
5db95d0
fix: package.json & package-lock.json to reduce vulnerabilities
Jun 13, 2019
5638cfa
Merge pull request #286 from ExtensionEngine/snyk-fix-9571bba63dd6853…
vladimyr Jun 13, 2019
d71ec98
Created date format filter
underscope Jun 13, 2019
98f2120
Update routes :wrench:
underscope Jun 13, 2019
19b1f81
Added user dialog
underscope Jun 13, 2019
11604db
Basic system level user list
underscope Jun 13, 2019
c699273
Cleanup :lipstick:
underscope Jun 14, 2019
4c5b3ff
:lipstick:
underscope Jun 14, 2019
ada555e
Merged develop
underscope Jun 14, 2019
b6ca948
Add JSDoc types to configuration objects :tada:
vladimyr Jun 14, 2019
6a6bf82
Replace `sed` magic with cross platform cli :wrench:
vladimyr Jun 16, 2019
32d5526
Update opensource love badge :heart:
vladimyr Jun 17, 2019
70bd169
Replace vuex module with vuex for authorization
parmezan38 Jun 18, 2019
4dff867
Work in progress :construction:
parmezan38 Jun 19, 2019
8724b67
Work in progress :construction:
parmezan38 Jun 21, 2019
bc27f01
fix: package.json & package-lock.json to reduce vulnerabilities
Jun 22, 2019
ae7fb82
Merge pull request #293 from ExtensionEngine/snyk-fix-d73b5bfec28444c…
vladimyr Jun 22, 2019
29b3448
Fix duplicate comments with missing lodash/find
parmezan38 Jun 24, 2019
645d9c6
Fix leftover vuex-module to vuex mapActions
parmezan38 Jun 24, 2019
4a1818e
Refactor and cleanup :lipstick:
parmezan38 Jun 26, 2019
72d867e
Remove vuex-module from package and package-lock
parmezan38 Jun 26, 2019
d12362d
Fix Toggle All button error
parmezan38 Jun 26, 2019
f6fbadf
Fix Toggle All not opening and closing courses
parmezan38 Jun 26, 2019
aa481d1
Remove empty assessments check before saveFile
parmezan38 Jun 28, 2019
4f8f6a6
Cleanup :lipstick:
parmezan38 Jun 28, 2019
3b31619
Remove unused ESLint config
vladimyr Jun 30, 2019
a0da629
Add `use strict` pragma :goat:
vladimyr Jun 30, 2019
918ffc2
Implement background & color format reset :tada:
vladimyr Jul 2, 2019
9b1214d
Merge pull request #289 from ExtensionEngine/feature/typed-config
underscope Jul 3, 2019
1b0a0ef
Merge pull request #290 from ExtensionEngine/feature/rewrite-lockfile
underscope Jul 3, 2019
6e20c79
Update `package-lock.json` :goat:
vladimyr Jul 3, 2019
5f56ce0
Merge pull request #297 from ExtensionEngine/feature/TA-389
underscope Jul 4, 2019
a245c5c
Fix issue when inserting in-between elements
parmezan38 Jul 4, 2019
3eefd22
Show confirmation modal when canceling assessment
ibebic Jul 5, 2019
910eb06
Fixed alignment for Activity create type dropdown
ibebic Jul 5, 2019
7e51901
Align store helpers with boutique ones
underscope Jul 8, 2019
9bb5d92
Adapted activities module to store helpers
underscope Jul 8, 2019
c3c7df5
Adapted auth module to store helpers
underscope Jul 8, 2019
d72b17a
Adapted comments module to store helpers
underscope Jul 8, 2019
c9da617
Adapted course module to store helpers
underscope Jul 8, 2019
0e89bfd
Adapted courses module to store helpers
underscope Jul 8, 2019
369d06a
Adapted editor module to store helpers
underscope Jul 8, 2019
68fbb3c
Adapted revisions module to store helpers
underscope Jul 8, 2019
3478757
Adapted tes module to store helpers
underscope Jul 8, 2019
4de9367
Updated mappings
underscope Jul 8, 2019
3f893c3
Removed notion of course
underscope Jul 8, 2019
9387ecf
Updated auth check
underscope Jul 8, 2019
7009640
Fixed rebase issues :wrench:
underscope Jul 8, 2019
dfeec06
Exposed update action for comments
underscope Jul 8, 2019
ab71c17
Cleanup :wrench:
underscope Jul 8, 2019
eb90219
Merge pull request #292 from ExtensionEngine/feature/vuex-module-replace
underscope Jul 8, 2019
dd6f1fc
Merge pull request #305 from ExtensionEngine/feature/fix-activity-cre…
underscope Jul 8, 2019
c60267f
Merge pull request #304 from ExtensionEngine/feature/add-confirmation…
underscope Jul 8, 2019
edc58e0
Merge branch 'develop' into feature/quill-format-reset
underscope Jul 8, 2019
5eff0cc
Cleanup :lipstick:
vladimyr Jul 8, 2019
733a1cb
Merge branch 'develop' into feature/system-admin-management
underscope Jul 8, 2019
dee5c2d
Fix color picker selection index calculation :bug:
vladimyr Jul 8, 2019
491f8f2
Close picker after format reset
vladimyr Jul 8, 2019
5f9ed99
Cleanup :lipstick:
vladimyr Jul 8, 2019
dc02be3
Reorganize `tce-html` file structure :wrench:
vladimyr Jul 8, 2019
250ed94
Group all Quill modifications under custom theme :tada:
vladimyr Jul 8, 2019
a568bf5
Cleanup :lipstick:
vladimyr Jul 8, 2019
80ea782
Override image handler inside tailor theme :wrench:
vladimyr Jul 8, 2019
c982e0b
Refactor quill toolbar
vladimyr Jul 8, 2019
c5d1e65
Change file layout :wrench:
vladimyr Jul 8, 2019
6739c01
Tweak toolbar control hover & active state :art:
vladimyr Jul 9, 2019
adaf7cc
Minor tweaks :wrench:
underscope Jul 9, 2019
0451465
Minor tweaks :wrench:
underscope Jul 9, 2019
262d90c
Ability to reinvite
underscope Jul 9, 2019
547f148
Minor tweaks :wrench:
underscope Jul 9, 2019
70d256d
Added routes to the main toolbar
underscope Jul 9, 2019
b97cb41
Minor tweaks :wrench:
underscope Jul 9, 2019
7dd05d5
Add Multiselect meta type
kronicker Jul 9, 2019
87a2725
Merge branch 'develop' into feature/preview-component
rkusan00 Jul 9, 2019
5341189
Cleanup :lipstick:
underscope Jul 9, 2019
16fcc58
Set pagination options
underscope Jul 9, 2019
b88e617
Merge pull request #288 from ExtensionEngine/feature/system-admin-man…
underscope Jul 9, 2019
fe6afc0
Cleanup :lipstick:
kronicker Jul 9, 2019
81b06ba
Merge pull request #310 from ExtensionEngine/feature/meta-multiselect
underscope Jul 9, 2019
47e1a25
Merge pull request #307 from ExtensionEngine/feature/refactor-quill
underscope Jul 10, 2019
5f240af
Merge branch 'feature/quill-format-reset' of https://github.com/Exten…
underscope Jul 10, 2019
5e01981
Merge branch 'develop' into feature/quill-format-reset
underscope Jul 10, 2019
21d94f3
Merge branch 'develop' into feature/preview-component
underscope Jul 10, 2019
d61c3a9
Tweak toolbar styles :art:
vladimyr Jul 10, 2019
f5979cf
Implement toolbar item tooltips :tada:
vladimyr Jul 10, 2019
97a722b
Fix tooltip behavior :bug:
vladimyr Jul 10, 2019
ff64ece
Tooltip fine tuning :lipstick:
vladimyr Jul 10, 2019
3b909f7
Fix typo :goat:
vladimyr Jul 10, 2019
c2e3d4e
Refactor tooltips :wrench:
vladimyr Jul 10, 2019
00b2095
Merge pull request #300 from ExtensionEngine/feature/quill-format-reset
vladimyr Jul 10, 2019
ac44ca9
Fixed meta selectnot working
abasic Jul 10, 2019
52ccafc
Moved preview to parent level :wrench:
underscope Jul 10, 2019
e24fc89
Send entire activity for preview
underscope Jul 10, 2019
50657a6
Move preview call to activity api
underscope Jul 10, 2019
dbe2f62
Merge pull request #202 from ExtensionEngine/feature/preview-component
underscope Jul 10, 2019
284699e
Merge pull request #311 from ExtensionEngine/feature/fixed-meta-select
vladimyr Jul 10, 2019
f51e616
Return last change upon fetching repo list
underscope Jul 12, 2019
103c235
Revamped catalog card
underscope Jul 12, 2019
dadfad9
Updated catalog container
underscope Jul 12, 2019
bae6eb8
Renamed default schema
underscope Jul 12, 2019
04f7093
Created simple sorting component
underscope Jul 14, 2019
26b1666
Added pinned attr to the courseUser model
underscope Jul 14, 2019
2414812
Added missing courseUser relationship :wrench:
underscope Jul 14, 2019
c00ec1b
Course ctrl updates
underscope Jul 14, 2019
2baa5a7
:lipstick:
underscope Jul 14, 2019
dacc08e
Updated repo creation modal
underscope Jul 14, 2019
afc508f
Store support for pinned courses
underscope Jul 14, 2019
33d5206
Added pin btn
underscope Jul 14, 2019
4dca4e6
Added show pinned filter & sorting
underscope Jul 14, 2019
4e93334
Updated create btn position
underscope Jul 14, 2019
00e1a69
:lipstick:
underscope Jul 15, 2019
95aa9f4
Cleanup :lipstick:
underscope Jul 15, 2019
9cb9867
Updated footer height :lipstick:
underscope Jul 15, 2019
55f2ee9
Added tooltip on pin btn
underscope Jul 15, 2019
0d70e22
Remove pinned filter after unpinning all repos
underscope Jul 15, 2019
a665610
Reset order & refetch upon repo creation
underscope Jul 15, 2019
7070c37
Tweaked logo pos
underscope Jul 15, 2019
8930e67
Updated change icon
underscope Jul 15, 2019
6d7384a
Match new catalog style
underscope Jul 15, 2019
728a971
Refresh auth screens design, update logo
ibebic Jul 17, 2019
db9369e
Make logo image configurable again, update favicon
ibebic Jul 17, 2019
1264f7c
Add validation, minor redesign
ibebic Jul 17, 2019
7cd0986
Updated search component
underscope Jul 17, 2019
94428d7
Unified retrieval of pinned items
underscope Jul 17, 2019
858ed9c
Removed course stats
underscope Jul 17, 2019
3d1ce07
Tweaked sort options :wrench:
underscope Jul 17, 2019
559fb00
Fixed issue with validation errors upon reopen
underscope Jul 17, 2019
59da067
Fixed issue with ordering
underscope Jul 17, 2019
050e912
:wrench:
underscope Jul 17, 2019
572f18c
:wrench:
underscope Jul 18, 2019
fced098
Tweaked system settings UI
underscope Jul 18, 2019
32d084c
Upped various packages because of security issues
abasic Jul 18, 2019
69ac85d
Merge model upon update :wrench:
underscope Jul 19, 2019
30085a1
Tweaked catalog fetch
underscope Jul 22, 2019
dfbf3ca
UI tweaks :lipstick:
underscope Jul 22, 2019
c6c103d
Use Vuetify generated css variables
underscope Jul 22, 2019
1910c71
Cleanup
underscope Jul 22, 2019
b47f157
:wrench:
underscope Jul 22, 2019
db7a0f8
Fixed issue with search persistance :wrench:
underscope Jul 22, 2019
9d976cf
FIxed issue with confirmation
underscope Jul 23, 2019
36fda53
Tweaked pw reset notification
underscope Jul 23, 2019
c5d5f59
Merge pull request #315 from ExtensionEngine/feature/auth-screens-des…
underscope Jul 23, 2019
a8e768f
Merge branch 'develop' into feature/catalog-improvements
underscope Jul 23, 2019
89a57e7
Reset filters upon adding new repo
underscope Jul 23, 2019
e0f4bec
Fixed issue with unpinning a repo
underscope Jul 23, 2019
f91c5b2
Check validation before reseting pw
underscope Jul 23, 2019
392cb05
Tweaked reset pw flow :wrench:
underscope Jul 23, 2019
6363595
:lipstick:
underscope Jul 23, 2019
3072501
Tweaked user mgm filters
underscope Jul 23, 2019
6b6579d
Removed obsolete mutation
underscope Jul 23, 2019
77be439
:wrench:
underscope Jul 23, 2019
ac9ee02
Cleanup :lipstick:
underscope Jul 23, 2019
d352bf2
:lipstick:
underscope Jul 23, 2019
f47ff36
Merge pull request #317 from ExtensionEngine/feature/catalog-improvem…
underscope Jul 23, 2019
9dfc11f
Remove catalog filter message glitches
underscope Jul 24, 2019
1b914e5
:lipstick:
underscope Jul 24, 2019
94e7097
Implement autocomplete on adding people to course
ibebic Jul 24, 2019
3bd88de
Clear suggestedEmails on input length less than 3
ibebic Jul 24, 2019
7351c01
Use primary color on UserList
ibebic Jul 24, 2019
5ae0e90
Fixed style collisions :wrench:
underscope Jul 24, 2019
6602806
Shorten debounce delay, minor refactor
ibebic Jul 24, 2019
f0fe0af
Even more refactoring
ibebic Jul 24, 2019
938b334
Merge pull request #318 from ExtensionEngine/feature/add-people-imple…
vladimyr Jul 24, 2019
847f242
Show app version with codename
vladimyr Jul 24, 2019
19c736d
Merge pull request #320 from ExtensionEngine/feature/html-and-footer-…
underscope Jul 25, 2019
04b674e
Reroute regular users from restricted routes
Jul 25, 2019
b325c8e
Restrict users API routes
Jul 25, 2019
0d12975
Removed v-visible directive 💄
Jul 25, 2019
74aba73
Use fullPath instead name for rerouting
Jul 25, 2019
dd4c60c
Refactor router
Jul 25, 2019
a6a74cd
Cleanup :lipstick:
Jul 25, 2019
0d33ee7
Merge pull request #321 from ExtensionEngine/feature/system-settings-…
vladimyr Jul 25, 2019
048fa7c
Update version in package lock :goat:
vladimyr Jul 25, 2019
e05ef44
Reset catalog upon cloning repo :wrench:
underscope Jul 25, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,11 @@ STORAGE_BUCKET=
# Disabling default schema won't work if custom schema does not exist.
ENABLE_DEFAULT_SCHEMA=1

# String template that will be interpolated on the client using two route params,
# repositoryId and activityId.
PREVIEW_URL=https://myserver.com/repository/{repositoryId}/activity/{activityId}
# LMS preview route
PREVIEW_URL=https://boutique.localhost/api/v1/preview/

# Logger
LOG_LEVEL='info'

# Terminal (forcefully enable color)
FORCE_COLOR=1
Expand Down
9 changes: 5 additions & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict';

const isDev = process.env.NODE_ENV === 'development';

module.exports = {
Expand Down Expand Up @@ -29,10 +31,9 @@ module.exports = {
anonymous: 'always',
named: 'never'
}],
// 'sort-imports': ['error', {
// 'ignoreCase': true,
// 'ignoreMemberSort': false
// }]
'sort-imports': ['error', {
'ignoreCase': true
}],
// Vue rules
'vue/html-self-closing': 'off',
'vue/attribute-hyphenation': 'off',
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![Known Vulnerabilities](https://snyk.io/test/github/ExtensionEngine/tailor/develop/badge.svg)](https://snyk.io/test/github/ExtensionEngine/tailor)
[![GitHub license](https://badgen.net/github/license/ExtensionEngine/tailor)](https://github.com/ExtensionEngine/tailor/blob/develop/LICENSE)
[![js semistandard style](https://badgen.net/badge/code%20style/semistandard/pink)](https://github.com/Flet/semistandard)
[![Open Source Love](https://badges.frapsoft.com/os/v2/open-source.svg?v=102)](https://github.com/ellerbrock/open-source-badge/)
[![Open Source Love](https://badgen.net/badge/Open%20Source/%E2%9D%A4/3eaf8e)](https://github.com/ellerbrock/open-source-badge/)

Adaptive course authoring platform.

Expand Down
12 changes: 6 additions & 6 deletions build/plugins/html-version-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@ exports.apply = ({ config, pkg }) => {
return getVersion(pkg);
}
};
if (isObject(config.html)) {
return Object.assign(config.html, { meta });
}
if (isObject(config.pages)) {
return forEach(config.pages, page => Object.assign(page, { meta }));
}
const { output } = config;
output.html = output.html || {};
Object.assign(output.html, { meta });
};

function getVersion(pkg) {
const semver = pkg.data.version;
const { codename, version } = pkg.data;
try {
const rev = execSync('git', ['rev-parse', '--short', 'HEAD']);
return `${semver}-rev-${rev}`;
return `${version}-rev-${rev} (${codename})`;
} catch (err) {
console.error(err);
}
return `${semver}`;
return `${version} (${codename})`;
}
18 changes: 10 additions & 8 deletions client/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@
<script>
import ConfirmationModal from 'components/common/ConfirmationModal';
import isIexplorer from 'is-iexplorer';
import { mapState } from 'vuex';
import Navbar from 'components/common/Navbar';
import { mapGetters } from 'vuex-module';

if (isIexplorer) document.body.classList.add('ie');

export default {
name: 'app',
computed: mapGetters(['user']),
computed: mapState({
user: state => state.auth.user
}),
components: {
ConfirmationModal,
Navbar
Expand All @@ -40,20 +42,20 @@ html {

#app {
color: rgba(0,0,0,0.87);
font-family: Poppins, Helvetica, Arial, sans-serif;
font-family: $font-family-primary;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
overflow: hidden;
}

.v-content .view {
overflow-y: scroll;
overflow-y: overlay;
}

.application, .v-content, .view {
width: 100%;
height: 100%;
}

.v-content .view {
overflow-y: scroll;
overflow-y: overlay;
}
</style>
6 changes: 6 additions & 0 deletions client/api/activity.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ function getActivities(courseId, params) {
.then(res => res.data.data);
}

function createPreview(courseId, activityId) {
return request.get(`courses/${courseId}/activities/${activityId}/preview`)
.then(res => res.data.location);
}

export default {
createPreview,
getActivities
};
26 changes: 26 additions & 0 deletions client/api/user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import request from './request';

const extractData = res => res.data.data;

function fetch(params) {
return request.get('/users', { params }).then(extractData);
}

function upsert(data) {
return request.post('/users', data).then(extractData);
}

function remove({ id }) {
return request.delete(`/users/${id}`);
}

function reinvite({ id }) {
return request.post(`/users/${id}/reinvite`);
}

export default {
fetch,
upsert,
remove,
reinvite
};
Binary file modified client/assets/img/default-favicon.ico
Binary file not shown.
17 changes: 1 addition & 16 deletions client/assets/img/default-logo-compact.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 1 addition & 16 deletions client/assets/img/default-logo-full.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions client/assets/stylesheets/common/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@ $font-weight-regular: 400;
$font-weight-medium: 500;
$font-weight-semibold: 600;
$font-weight-bold: 700;

// Font family
$font-family-icons: "Material Design Icons";
$font-family-primary: Poppins, Helvetica, Arial, sans-serif;
$font-family-secondary: Roboto, Helvetica, Arial, sans-serif;
41 changes: 16 additions & 25 deletions client/components/auth/Container.vue
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
<template>
<div class="auth-container">
<div class="auth-panel">
<div class="auth-panel elevation-2">
<div class="auth-header">
<img :src="logo" alt="Logo"/>
<img :src="logo" alt="Logo" class="logo">
<h1>{{ title }}</h1>
</div>
<div class="auth-body">
<router-view></router-view>
<router-view/>
</div>
</div>
</div>
</template>

<script>
export default {
data() {
return {
title: BRAND_CONFIG.TITLE,
logo: BRAND_CONFIG.LOGO_FULL
};
computed: {
title: () => BRAND_CONFIG.TITLE,
logo: () => BRAND_CONFIG.LOGO_FULL
}
};
</script>
Expand All @@ -29,48 +27,41 @@ export default {
}

.auth-panel {
width: 440px;
width: 480px;
margin: auto;
background-color: #fff;
box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
border-radius: 4px;
transition: all 0.3s cubic-bezier(0.25,0.8,0.25,1);

&:hover {
box-shadow: 0 6px 10px rgba(0,0,0,0.2), 0 6px 8px rgba(0,0,0,0.22);
}

img {
width: 130px;
margin: 15px 0 10px;
}

h1 {
margin: 0;
color: white;
font-size: 22px;
line-height: 18px;
}

.auth-header {
padding-bottom: 20px;
background: linear-gradient(90deg, $brandColor 65%, $altBrandColor);
background-color: var(--v-primary-darken1);
border-radius: 4px 4px 0 0;

.logo {
width: 75px;
margin: 30px 0;
}
}

.auth-body {
padding: 20px 30px;
padding: 25px 30px;

a {
color: inherit;
font-weight: 500;
font-weight: 400;
}
}

.message {
min-height: 16px;
margin-bottom: 20px;
color: #da126d;
color: var(--v-secondary-base);
font-size: 16px;
line-height: 16px;
}
Expand Down
Loading