This commit is contained in:
2022-05-03 22:34:52 +03:00
parent 1663f94b0e
commit 8958be3141
54 changed files with 1569 additions and 1014 deletions

View File

@@ -9,7 +9,7 @@ var backtotopTemplate = `
</span>
</div>`;
Vue.component('backtotop-component', {
root.components['backtotop-component'] = {
props: {
visibleoffset: {
type: [String, Number],
@@ -50,4 +50,4 @@ Vue.component('backtotop-component', {
}
}
}
});
};

View File

@@ -40,7 +40,7 @@ let paginationTemplate = `<div class="row">
</div>
</div>`;
Vue.component('pagination-component', {
root.components['pagination-component'] = {
template: paginationTemplate,
data: function() {
return {
@@ -110,4 +110,4 @@ Vue.component('pagination-component', {
return result;
},
}
});
};

View File

@@ -11,7 +11,7 @@ var tagsTemplate = `
<div class="col">
<div class="btn mb-1"><i class="fa fa-tags"></i></div>
<div class="btn btn-outline-success mb-1" v-on:click="showPanel(panels.standart)"><i class="fa fa-plus"></i></div>
<div class="btn btn-outline-success mb-1" v-on:click="panel_show(panels.standart)"><i class="fa fa-plus"></i></div>
<div class="btn-group mr-2 mb-1" v-for="(tag, tagIdx) in sortedTags">
<a class="btn btn-outline-secondary text-monospace" :href="'/tag/' + tag.id">{{ tag.name }}</a>
@@ -73,7 +73,7 @@ var tagsTemplate = `
<!-- Конец: Теги -->
</div>`;
Vue.component('tags-component', {
root.components['tags-component'] = {
data: function() {
return {
newtag: '',
@@ -225,7 +225,7 @@ Vue.component('tags-component', {
}
);
},
showPanel: function(panel) {
panel_show: function(panel) {
/* Показать/скрыть панель */
panel.visible = !panel.visible;
},
@@ -259,4 +259,4 @@ Vue.component('tags-component', {
return vm.tags;
}
}
});
};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long