Delete style btn-sm

This commit is contained in:
RemiZOffAlex
2019-12-12 17:45:27 +03:00
parent da2654bf74
commit 3a1629a42e
5 changed files with 15 additions and 15 deletions

View File

@@ -2,7 +2,7 @@
{% block body %}
<h3>
<div class="btn btn-outline-success btn-sm float-right" v-on:click="showFormNewTag"><i class="fa fa-plus"></i></div>
<div class="btn btn-outline-success float-right" v-on:click="showFormNewTag"><i class="fa fa-plus"></i></div>
Список тегов</h3>
<hr />
@@ -58,7 +58,7 @@ var app = new Vue({
},
addTag: function() {
/* Добавить тег */
var vm = this;
let vm = this;
axios.post(
'/api',
{
@@ -80,12 +80,12 @@ var app = new Vue({
},
showFormNewTag: function() {
/* Показать/скрыть форму добавления нового тега */
var vm = this;
let vm = this;
vm.formNewTag = !vm.formNewTag;
},
deleteTag: function(tag) {
/* Удалить тег */
var vm = this;
let vm = this;
axios.post(
'/api',
{
@@ -107,7 +107,7 @@ var app = new Vue({
},
created: function() {
/* Получить список тегов после загрузки страницы */
var vm = this;
let vm = this;
axios.post(
'/api',
{

View File

@@ -41,7 +41,7 @@ var app = new Vue({
},
methods: {
getUserList: function() {
var vm = this;
let vm = this;
axios.post(
'/api',
{
@@ -61,7 +61,7 @@ var app = new Vue({
}
},
created: function() {
var vm = this;
let vm = this;
vm.getUserList();
}
})

View File

@@ -23,7 +23,7 @@ Vue.component('backtotop-component', {
}
},
mounted () {
var vm = this;
let vm = this;
window.addEventListener('scroll', this.catchScroll);
let currentScroll = document.documentElement.scrollTop || document.body.scrollTop
vm.visible = (currentScroll > 100);
@@ -33,15 +33,15 @@ Vue.component('backtotop-component', {
},
methods: {
catchScroll () {
var vm = this;
let vm = this;
vm.visible = (window.pageYOffset > 100);
},
backToTop () {
var vm = this;
let vm = this;
vm.scrollAnimate();
},
scrollAnimate: function() {
var vm = this;
let vm = this;
let currentScroll = document.documentElement.scrollTop || document.body.scrollTop
if (currentScroll > 0) {
//alert(currentScroll);
@@ -50,4 +50,4 @@ Vue.component('backtotop-component', {
}
}
}
});
});

View File

@@ -67,7 +67,7 @@ var app = new Vue({
panel.visible = !panel.visible;
},
send: function() {
var vm = this;
let vm = this;
var value = CKEDITOR.instances["text"].getData();
if (value != vm.newPage.text) {
vm.newPage.text = value;
@@ -97,7 +97,7 @@ var app = new Vue({
}
},
updated: function() {
var vm = this;
let vm = this;
for(var instanceName in CKEDITOR.instances) {
CKEDITOR.instances[instanceName].destroy(true);
}