This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div id="service-tabs"> | |
<v-layout align-center justify-space-between row fill-height> | |
<v-flex xs10> | |
<v-btn :exact="true" :to="link" color="success" class="_no_padding">Добавить страницу</v-btn> | |
</v-flex> | |
<v-flex xs2> | |
<a href="/admin/services_categories/" class="_no_padding btn btn--flat btn--small primary--text"> | |
<span class="btn__content"> | |
Настройки категорий |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use App\Libraries\Doctrine; | |
use App\Models\Page\Builder\ServicePageBuilder; | |
use App\Models\Page\PageManager; | |
use App\Models\Page\ServicePage\Entity\ServicePage; | |
use App\Models\Page\ServicePage\Entity\ServicePageSeo; | |
use App\Models\Page\ServicePage\Entity\ServicePageSitemap; | |
use App\Models\Page\ServicePage\Entity\ServicePageSocial; | |
use App\Models\Page\ServicePage\Repository\ServicePageRepository; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Models\Page\ServicePage\Entity; | |
use App\Models\Page\Page; | |
use App\Models\Page\Seo; | |
use App\Models\Page\Sitemap; | |
use App\Models\Page\Social; | |
use Doctrine\ORM\Mapping as ORM; | |
use Doctrine\ORM\Mapping\OneToOne; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Models\Page\ServicePage\Entity; | |
use App\Models\Page\Page; | |
use App\Models\Page\Sitemap; | |
use DateTime; | |
use Doctrine\ORM\Mapping as ORM; | |
use Doctrine\ORM\Mapping\JoinColumn; | |
use Doctrine\ORM\Mapping\OneToOne; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div id="service-page"> | |
{{ currentServicePageState.main }} | |
<ServicePageForm | |
:dataForm="currentServicePageState" | |
:initialSeoPageData="initialSeoPageData" | |
@back="backButtonClick" | |
></ServicePageForm> | |
</div> | |
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div id="associate-role"> | |
<md-input-container> | |
<md-autocomplete v-model="selectedProfile" :fetch="profiles" md-dense> | |
<label>Профили</label> | |
</md-autocomplete> | |
</md-input-container> | |
</div> | |
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div id="associate-role"> | |
<md-input-container> | |
<md-autocomplete v-model="selectedProfile" :fetch="test()" md-dense> | |
<label>Профили</label> | |
</md-autocomplete> | |
</md-input-container> | |
</div> | |
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
$('input[name=client-sort-famemark]').blur(function (e) { | |
e.stopPropagation(); | |
var self = $(this); | |
var domainId = self.data('domain-id'); | |
var clientId = self.data('client-id'); | |
var mark = +self.val(); | |
if (mark < +self.attr('min') || mark > +self.attr('max')) { | |
self.addClass('client-sort-input-error'); | |
return false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.Vue = require("vue"); | |
window.axios = require("axios"); | |
window.axios.defaults.headers.common["X-Requested-With"] = "XMLHttpRequest"; | |
window.qs = require("qs"); | |
window.mainLocationPath = window.location.origin; | |
import Vuetify from "vuetify"; | |
import router from "./router"; | |
import VeeValidate from 'vee-validate'; | |
import colors from "vuetify/es5/util/colors"; |