diff --git a/assets/css/app.scss b/assets/css/app.scss
index b3e9f31..396cc72 100644
--- a/assets/css/app.scss
+++ b/assets/css/app.scss
@@ -219,7 +219,7 @@ section[role="main-content"]{
.index{
}
- #nominum{
+ .index-item{
header{
h1{
@include title2black;
diff --git a/src/components/Content/IndexItemOcurrences.vue b/src/components/Content/IndexItemOcurrences.vue
new file mode 100644
index 0000000..8654f2b
--- /dev/null
+++ b/src/components/Content/IndexItemOcurrences.vue
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
diff --git a/src/pages/Locorum.vue b/src/pages/Locorum.vue
index f64b870..7700232 100644
--- a/src/pages/Locorum.vue
+++ b/src/pages/Locorum.vue
@@ -1,12 +1,19 @@
-
-
- {{ content.title }}
- {{ content.type }}
- Loading ...
+
+
+ Loading ...
-
+
+ {{ content.title }}
+
+ {{ content.type }}
+
+
+
+
+
+
@@ -14,15 +21,19 @@
import { REST } from 'api/rest-axios'
import MainContentLayout from '../components/Layouts/MainContentLayout'
+import IndexItemOcurrences from '../components/Content/IndexItemOcurrences'
export default {
name: 'Locorum',
components: {
- MainContentLayout
+ MainContentLayout,
+ IndexItemOcurrences
},
data: () => ({
content: null
}),
+ computed: {
+ },
beforeCreate () {
console.log('locorum this.$route', this.$route)
REST.get(`/indexLocorum/` + this.$route.params.id, {})
diff --git a/src/pages/Nominum.vue b/src/pages/Nominum.vue
index 76b05de..e98c355 100644
--- a/src/pages/Nominum.vue
+++ b/src/pages/Nominum.vue
@@ -1,5 +1,5 @@
-
+
Loading ...
@@ -13,45 +13,8 @@
-
+
-
@@ -59,11 +22,13 @@
import { REST } from 'api/rest-axios'
import MainContentLayout from '../components/Layouts/MainContentLayout'
+import IndexItemOcurrences from '../components/Content/IndexItemOcurrences'
export default {
name: 'Nominum',
components: {
- MainContentLayout
+ MainContentLayout,
+ IndexItemOcurrences
},
data: () => ({
content: null
@@ -81,27 +46,6 @@ export default {
console.warn('Issue with nominum', error)
Promise.reject(error)
})
- },
- methods: {
- onclick (e) {
- console.log('clicked on nominum text occurence', e)
- if (e.target.getAttribute('eduuid')) {
- this.$router.push({
- name: `editiontext`,
- params: {
- id: e.target.getAttribute('eduuid'),
- textid: e.target.getAttribute('uuid')
- }
- })
- } else {
- this.$router.push({
- name: `edition`,
- params: {
- id: e.target.getAttribute('uuid')
- }
- })
- }
- }
}
}
diff --git a/src/pages/Operum.vue b/src/pages/Operum.vue
index 0bb9e4c..636f571 100644
--- a/src/pages/Operum.vue
+++ b/src/pages/Operum.vue
@@ -1,11 +1,16 @@
-
-
- {{ content.title }}
- Loading ...
+
+
+ Loading ...
-
+
+ {{ content.title }}
+
+
+
+
+
@@ -13,11 +18,13 @@
import { REST } from 'api/rest-axios'
import MainContentLayout from '../components/Layouts/MainContentLayout'
+import IndexItemOcurrences from '../components/Content/IndexItemOcurrences'
export default {
name: 'Operum',
components: {
- MainContentLayout
+ MainContentLayout,
+ IndexItemOcurrences
},
data: () => ({
content: null