mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-10 07:16:06 -06:00
commit
dbe1adc3c3
@ -9,7 +9,7 @@ return [
|
|||||||
'general' => [
|
'general' => [
|
||||||
'title' => 'visiosoft.module.advs::section.general',
|
'title' => 'visiosoft.module.advs::section.general',
|
||||||
'fields' => [
|
'fields' => [
|
||||||
'favicon', 'iban_numbers', 'google_statistic_code', 'ogImage', 'free_currencyconverterapi_key',
|
'iban_numbers', 'google_statistic_code', 'ogImage', 'free_currencyconverterapi_key',
|
||||||
'enabled_currencies'
|
'enabled_currencies'
|
||||||
|
|
||||||
],
|
],
|
||||||
|
|||||||
@ -17,13 +17,6 @@ return [
|
|||||||
'default_value' => 5,
|
'default_value' => 5,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
"favicon" => [
|
|
||||||
"type" => "anomaly.field_type.file",
|
|
||||||
"config" => [
|
|
||||||
"folders" => ['favicon'],
|
|
||||||
"mode" => "upload",
|
|
||||||
]
|
|
||||||
],
|
|
||||||
'auto_approve' => [
|
'auto_approve' => [
|
||||||
'type' => 'anomaly.field_type.boolean',
|
'type' => 'anomaly.field_type.boolean',
|
||||||
'bind' => 'adv.auto_approve',
|
'bind' => 'adv.auto_approve',
|
||||||
|
|||||||
@ -916,13 +916,18 @@
|
|||||||
.iti__flag {
|
.iti__flag {
|
||||||
height: 15px;
|
height: 15px;
|
||||||
box-shadow: 0px 0px 1px 0px #888;
|
box-shadow: 0px 0px 1px 0px #888;
|
||||||
background-image: url('{{ img("theme::images/flags.png").url }}');
|
background-image: url('{{ img("visiosoft.theme.base::images/flags.png").url }}');
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-color: #DBDBDB;
|
background-color: #DBDBDB;
|
||||||
background-position: 20px 0; }
|
background-position: 20px 0; }
|
||||||
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
||||||
.iti__flag {
|
.iti__flag {
|
||||||
background-image: url('{{ img("theme::images/flags@2x.png").url }}'); } }
|
background-image: url('{{ img("visiosoft.theme.base::images/flags@2x.png").url }}'); } }
|
||||||
|
|
||||||
.iti__flag.iti__np {
|
.iti__flag.iti__np {
|
||||||
background-color: transparent; }
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
.iti--allow-dropdown {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
@ -19,10 +19,6 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.register-phone .iti--allow-dropdown {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media only screen and (min-width: 960px) {
|
@media only screen and (min-width: 960px) {
|
||||||
.login-section,
|
.login-section,
|
||||||
.register-section {
|
.register-section {
|
||||||
|
|||||||
@ -0,0 +1,13 @@
|
|||||||
|
var inputQuery = document.querySelector("input[name=\"phone\"]");
|
||||||
|
var iti = intlTelInput(inputQuery, {
|
||||||
|
hiddenInput: "full_phone",
|
||||||
|
class:"form-control",
|
||||||
|
initialCountry: "auto",
|
||||||
|
geoIpLookup: function (success, failure) {
|
||||||
|
$.get("https://ipinfo.io", function () {
|
||||||
|
}, "jsonp").always(function (resp) {
|
||||||
|
var countryCode = (resp && resp.country) ? resp.country : "";
|
||||||
|
success(countryCode);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
@ -3,18 +3,3 @@
|
|||||||
// Go!
|
// Go!
|
||||||
|
|
||||||
})(window, document);
|
})(window, document);
|
||||||
|
|
||||||
|
|
||||||
var inputQuery = document.querySelector("input[name=\"phone\"]");
|
|
||||||
var iti = intlTelInput(inputQuery, {
|
|
||||||
hiddenInput: "full_phone",
|
|
||||||
class:"form-control",
|
|
||||||
initialCountry: "auto",
|
|
||||||
geoIpLookup: function (success, failure) {
|
|
||||||
$.get("https://ipinfo.io", function () {
|
|
||||||
}, "jsonp").always(function (resp) {
|
|
||||||
var countryCode = (resp && resp.country) ? resp.country : "";
|
|
||||||
success(countryCode);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|||||||
@ -103,4 +103,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
|
||||||
|
{{ asset_add("scripts.js", "visiosoft.theme.base::js/intlTelInput.min.js") }}
|
||||||
|
{{ asset_add("scripts.js", "visiosoft.theme.base::js/utils.js") }}
|
||||||
|
{{ asset_add("scripts.js", "visiosoft.theme.base::js/phonefield.js") }}
|
||||||
|
{{ asset_add("styles.css", "visiosoft.theme.base::css/intlTelInput.css") }}
|
||||||
|
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
|
{{ addBlock('index_top')|raw }}
|
||||||
|
|
||||||
<div class="album bg-light">
|
<div class="album bg-light">
|
||||||
<div class="row p-2">
|
<div class="row p-2">
|
||||||
{% if setting_value('visiosoft.theme.base::latest_and_view_all_btn') %}
|
{% if setting_value('visiosoft.theme.base::latest_and_view_all_btn') %}
|
||||||
|
|||||||
@ -8,8 +8,6 @@
|
|||||||
{{ asset_add("theme.js", "theme::js/modal_include.js") }}
|
{{ asset_add("theme.js", "theme::js/modal_include.js") }}
|
||||||
{{ asset_add("theme.js", "theme::js/select2.js") }}
|
{{ asset_add("theme.js", "theme::js/select2.js") }}
|
||||||
{{ asset_add("theme.js", "theme::js/params.js") }}
|
{{ asset_add("theme.js", "theme::js/params.js") }}
|
||||||
{{ asset_add("theme.js", "theme::js/intlTelInput.min.js") }}
|
|
||||||
{{ asset_add("theme.js", "theme::js/utils.js") }}
|
|
||||||
|
|
||||||
{# Theme Scripts #}
|
{# Theme Scripts #}
|
||||||
{#{{ asset_add("theme.js", "theme::js/plugins/*") }}#}
|
{#{{ asset_add("theme.js", "theme::js/plugins/*") }}#}
|
||||||
|
|||||||
@ -36,7 +36,6 @@
|
|||||||
{{ asset_add("theme.css", "theme::css/theme.css") }}
|
{{ asset_add("theme.css", "theme::css/theme.css") }}
|
||||||
{{ asset_add("theme.css", "theme::css/select2.css") }}
|
{{ asset_add("theme.css", "theme::css/select2.css") }}
|
||||||
{{ asset_add("theme.css", "theme::css/font-awesome.min.css") }}
|
{{ asset_add("theme.css", "theme::css/font-awesome.min.css") }}
|
||||||
{{ asset_add("theme.css", "theme::css/intlTelInput.css") }}
|
|
||||||
<script src="{{ asset_path('theme::js/vendor/jquery.min.js') }}"></script>
|
<script src="{{ asset_path('theme::js/vendor/jquery.min.js') }}"></script>
|
||||||
|
|
||||||
{{ asset_style("theme.css") }}
|
{{ asset_style("theme.css") }}
|
||||||
|
|||||||
@ -72,7 +72,7 @@ class ProfileModuleSeeder extends Seeder
|
|||||||
'slug' => 'favicon',
|
'slug' => 'favicon',
|
||||||
'disk' => $disk,
|
'disk' => $disk,
|
||||||
'allowed_types' => [
|
'allowed_types' => [
|
||||||
'ico','png'
|
'ico','png',
|
||||||
],
|
],
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user