Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

Commit ec73c40

Browse files
committed
applied prettier formatting to quasar app
1 parent 3688e2b commit ec73c40

Some content is hidden

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

48 files changed

+459
-1313
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Generated by Django 3.1.2 on 2020-11-24 03:23
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('accounts', '0001_initial'),
10+
]
11+
12+
operations = [
13+
migrations.AlterField(
14+
model_name='customuser',
15+
name='first_name',
16+
field=models.CharField(blank=True, max_length=150, verbose_name='first name'),
17+
),
18+
]

quasar/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525
"highcharts-vue": "1.3.5",
2626
"js-cookie": "2.2.1",
2727
"prettier": "2.1.2",
28-
"quasar": "1.14.2",
28+
"quasar": "1.14.5",
2929
"vue-apollo": "3.0.5",
3030
"vue-i18n": "8.22.1",
3131
"vue-native-websocket": "2.0.14"
3232
},
3333
"devDependencies": {
34-
"@quasar/app": "2.1.5",
34+
"@quasar/app": "2.1.8",
3535
"@vue/eslint-config-prettier": "6.0.0",
3636
"babel-eslint": "10.1.0",
3737
"eslint": "7.12.0",

quasar/src/App.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
export default {
1111
name: "App",
1212
13-
created: function() {
13+
created: function () {
1414
// if (this.$store.getters.isAuthenticated) {
1515
// this.$store.dispatch("USER_REQUEST");
1616
// // refresh the token every 4 minutes while the user is logged in in production
@@ -20,7 +20,7 @@ export default {
2020
// this.$store.dispatch("AUTH_REFRESH");
2121
// }, 1000 * 60 * refreshFrequency);
2222
// }
23-
}
23+
},
2424
// TODO: set this in Vuex
2525
// const isDesktop = this.$q.platform.is.desktop;
2626
};

quasar/src/boot/i18n.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Vue.use(VueI18n);
77
const i18n = new VueI18n({
88
locale: "en-us",
99
fallbackLocale: "en-us",
10-
messages
10+
messages,
1111
});
1212

1313
export default ({ app }) => {

quasar/src/components/LeftMenuLink.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
<script>
1616
export default {
17-
props: ["label", "to", "icon", "caption"]
17+
props: ["label", "to", "icon", "caption"],
1818
};
1919
</script>
2020

quasar/src/components/MainCarousel.vue

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,9 @@
1111
padding
1212
arrows
1313
height="300px"
14-
:class="
15-
`text-white shadow-1 rounded-borders ${
16-
$store.getters.isDark ? 'carousel-dark' : 'carousel-light'
17-
}`
18-
"
14+
:class="`text-white shadow-1 rounded-borders ${
15+
$store.getters.isDark ? 'carousel-dark' : 'carousel-light'
16+
}`"
1917
>
2018
<q-carousel-slide name="style" class="column no-wrap flex-center">
2119
<q-icon name="layers" size="56px" />
@@ -47,9 +45,9 @@ export default {
4745
data() {
4846
return {
4947
lorem: "Abc123",
50-
slide: "style"
48+
slide: "style",
5149
};
52-
}
50+
},
5351
};
5452
</script>
5553

quasar/src/components/auth/LoginForm.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default {
3636
data() {
3737
return {
3838
email: process.env.NODE_ENV === "production" ? "" : "admin@company.com",
39-
password: process.env.NODE_ENV === "production" ? "" : "password"
39+
password: process.env.NODE_ENV === "production" ? "" : "password",
4040
};
4141
},
4242
methods: {
@@ -45,7 +45,7 @@ export default {
4545
this.$store
4646
.dispatch("AUTH_REQUEST", {
4747
email: this.email,
48-
password: this.password
48+
password: this.password,
4949
})
5050
.then(() => {
5151
vm.$router.push("/");
@@ -57,8 +57,8 @@ export default {
5757
});
5858
this.email = "";
5959
this.password = "";
60-
}
61-
}
60+
},
61+
},
6262
};
6363
</script>
6464

quasar/src/components/auth/SignUpForm.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export default {
4141
return {
4242
email: "",
4343
password: "",
44-
visible: false
44+
visible: false,
4545
};
4646
},
4747
methods: {
@@ -51,7 +51,7 @@ export default {
5151
.then(() => {
5252
this.$q.notify({
5353
title: "User registered",
54-
message: "Thank you for registering!"
54+
message: "Thank you for registering!",
5555
});
5656
this.visible = false;
5757
this.$router.push("/");
@@ -60,8 +60,8 @@ export default {
6060
this.visible = false;
6161
this.$q.notify("There was an error.");
6262
});
63-
}
64-
}
63+
},
64+
},
6565
};
6666
</script>
6767

quasar/src/components/services/ServiceLink.vue

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,25 @@ export default {
99
props: {
1010
href: {
1111
type: String,
12-
default: "#"
12+
default: "#",
1313
},
1414
name: {
1515
type: String,
16-
default: ""
16+
default: "",
1717
},
1818
icon: {
1919
type: String,
20-
default: ""
20+
default: "",
2121
},
2222
target: {
2323
type: String,
24-
default: "_blank"
24+
default: "_blank",
2525
},
2626
type: {
2727
type: String,
28-
default: "a"
29-
}
30-
}
28+
default: "a",
29+
},
30+
},
3131
};
3232
</script>
3333

quasar/src/components/ui/BaseBtn.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ export default {
77
props: {
88
color: {
99
type: String,
10-
default: "white"
11-
}
10+
default: "white",
11+
},
1212
},
1313
textColor: {
1414
type: String,
15-
default: "black"
16-
}
15+
default: "black",
16+
},
1717
};
1818
</script>
1919

0 commit comments

Comments
 (0)