ember-tribe 0.1.3 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/blueprints/ember-tribe/files/app/adapters/application.js +2 -2
- package/blueprints/ember-tribe/files/app/models/types-json.js +4 -0
- package/blueprints/ember-tribe/files/app/routes/index.js +14 -0
- package/blueprints/ember-tribe/files/app/serializers/application.js +7 -1
- package/blueprints/ember-tribe/files/app/templates/index.hbs +18 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/{all.css → css/all.css} +2352 -278
- package/blueprints/ember-tribe/files/public/assets/fontawesome/css/all.min.css +6 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/css/brands.css +1435 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/css/brands.min.css +6 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/css/duotone.css +12361 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/css/duotone.min.css +6 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/css/fontawesome.css +12806 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/css/fontawesome.min.css +6 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/css/light.css +19 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/css/light.min.css +6 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/css/regular.css +19 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/css/regular.min.css +6 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/css/solid.css +19 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/css/solid.min.css +6 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/css/svg-with-js.css +634 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/css/svg-with-js.min.css +6 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/css/thin.css +19 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/css/thin.min.css +6 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/css/v4-font-face.css +26 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/css/v4-font-face.min.css +6 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/css/v4-shims.css +2146 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/css/v4-shims.min.css +6 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/css/v5-font-face.css +34 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/css/v5-font-face.min.css +6 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/webfonts/fa-brands-400.ttf +0 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/webfonts/fa-brands-400.woff2 +0 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/webfonts/fa-duotone-900.ttf +0 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/webfonts/fa-duotone-900.woff2 +0 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/webfonts/fa-light-300.ttf +0 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/webfonts/fa-light-300.woff2 +0 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/webfonts/fa-regular-400.ttf +0 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/webfonts/fa-regular-400.woff2 +0 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/webfonts/fa-solid-900.ttf +0 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/webfonts/fa-solid-900.woff2 +0 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/webfonts/fa-thin-100.ttf +0 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/webfonts/fa-thin-100.woff2 +0 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/webfonts/fa-v4compatibility.ttf +0 -0
- package/blueprints/ember-tribe/files/public/assets/fontawesome/webfonts/fa-v4compatibility.woff2 +0 -0
- package/blueprints/ember-tribe/files/public/assets/img/pixel-onload.png +0 -0
- package/package.json +1 -1
- package/blueprints/ember-tribe/files/app/components/footer.hbs +0 -0
- package/blueprints/ember-tribe/files/app/components/header.hbs +0 -0
- package/blueprints/ember-tribe/files/app/routes/application.js +0 -10
- package/blueprints/ember-tribe/files/app/templates/application.hbs +0 -7
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import JSONAPIAdapter from '@ember-data/adapter/json-api';
|
|
2
|
-
import
|
|
2
|
+
import ENV from '<%= dasherizedPackageName %>/config/environment';
|
|
3
3
|
import { underscore } from '@ember/string';
|
|
4
4
|
|
|
5
5
|
export default class ApplicationAdapter extends JSONAPIAdapter {
|
|
6
|
-
host =
|
|
6
|
+
host = ENV.TribeENV.API_URL;
|
|
7
7
|
|
|
8
8
|
pathForType(type) {
|
|
9
9
|
return underscore(type);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import Route from '@ember/routing/route';
|
|
2
|
+
import { service } from '@ember/service';
|
|
3
|
+
|
|
4
|
+
export default class IndexRoute extends Route {
|
|
5
|
+
@service store;
|
|
6
|
+
|
|
7
|
+
async model() {
|
|
8
|
+
//findRecord for type+slug pair and findAll all objects in a type
|
|
9
|
+
return await this.store.findRecord('types_json', 'webapp');
|
|
10
|
+
|
|
11
|
+
//this.store.findAll('film');
|
|
12
|
+
//this.store.query('film', {page: {limit: 2, offset: 0}});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
import { underscore } from '@ember/string';
|
|
2
1
|
import JSONAPISerializer from '@ember-data/serializer/json-api';
|
|
2
|
+
import { underscore } from '@ember/string';
|
|
3
3
|
|
|
4
4
|
export default class ApplicationSerializer extends JSONAPISerializer {
|
|
5
|
+
|
|
5
6
|
keyForAttribute(attr) {
|
|
6
7
|
return underscore(attr);
|
|
7
8
|
}
|
|
9
|
+
|
|
10
|
+
payloadKeyFromModelName(key) {
|
|
11
|
+
return key;
|
|
12
|
+
}
|
|
13
|
+
|
|
8
14
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{{page-title "Index"}}
|
|
2
|
+
|
|
3
|
+
<main>
|
|
4
|
+
<h1 class="my-5 text-uppercase text-center">
|
|
5
|
+
<%= classifiedPackageName %>
|
|
6
|
+
</h1>
|
|
7
|
+
|
|
8
|
+
<h1 class="my-5 text-uppercase text-center">
|
|
9
|
+
{{@model.schema.headmeta_title}}
|
|
10
|
+
</h1>
|
|
11
|
+
</main>
|
|
12
|
+
|
|
13
|
+
<!--
|
|
14
|
+
This transparent pixel can initiate javascript onload function
|
|
15
|
+
<img src="/assets/img/pixel-onload.png" alt="pixel-loader" {{on "load" this.loadSomething}} class="d-none">
|
|
16
|
+
-->
|
|
17
|
+
|
|
18
|
+
{{outlet}}
|