This commit is contained in:
Thomas 2025-01-22 20:12:10 +01:00
parent 4ac4e19d0f
commit 816bc50f98
8 changed files with 74 additions and 125 deletions

View File

@ -1,4 +1,4 @@
<select class="text-gray-900 transition duration-75 rounded-lg shadow-sm outline-none focus:border-primary-500 focus:ring-1 focus:ring-inset focus:ring-primary-500 disabled:opacity-70 border-gray-300" onchange="this.options[this.selectedIndex].value && (window.location = this.options[this.selectedIndex].value);"> <select class="text-gray-900 transition duration-75 rounded-sm shadow-sm outline-none focus:border-primary-500 focus:ring-1 focus:ring-inset focus:ring-primary-500 disabled:opacity-70 border-gray-300" onchange="this.options[this.selectedIndex].value && (window.location = this.options[this.selectedIndex].value);">
{% for shop in shops %} {% for shop in shops %}
{% if displayDeletedShop == true or shop.deleted == false %} {% if displayDeletedShop == true or shop.deleted == false %}
<option {% if selectedShop.uid == shop.uid %}selected{% endif %} value="{{ path('psc_backend_dashboard_shop_change', {'shop_uuid': shop.uid}) }}">{{ shop.title }}</option> <option {% if selectedShop.uid == shop.uid %}selected{% endif %} value="{{ path('psc_backend_dashboard_shop_change', {'shop_uuid': shop.uid}) }}">{{ shop.title }}</option>
@ -12,6 +12,6 @@
</svg> </svg>
</a> </a>
{% endif %} {% endif %}
<span class="hidden md:inline"><input type="checkbox" class=" border-gray-300 rounded shadow-sm text-primary-600 outline-none focus:ring focus:ring-primary-200 focus:ring-opacity-50" onchange="window.location='{{ path('psc_backend_dashboard_toogle_deleted_shop') }}'" {% if displayDeletedShop %}checked="checked"{% endif %}/> Deaktive Shops zeigen</span> <span class="hidden md:inline"><input type="checkbox" class=" border-gray-300 rounded-sm shadow-sm text-primary-600 outline-none focus:ring focus:ring-primary-200 focus:ring-opacity-50" onchange="window.location='{{ path('psc_backend_dashboard_toogle_deleted_shop') }}'" {% if displayDeletedShop %}checked="checked"{% endif %}/> Deaktive Shops zeigen</span>

View File

@ -1,7 +1,8 @@
<a{% for attr, value in options %} {{ attr }}="{{ value }}"{% endfor %}> <a{% for attr, value in options %} {{ attr }}="{{ value }}"{% endfor %}>
<span class="flex flex-row gap-2"> <span class="flex flex-row gap-2">
{{ title }}
{% if sorted %} {% if sorted %}
{% if direction != 'desc' %} {% if direction == 'desc' %}
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="table-icon"> <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="table-icon">
<path stroke-linecap="round" stroke-linejoin="round" d="m4.5 15.75 7.5-7.5 7.5 7.5" /> <path stroke-linecap="round" stroke-linejoin="round" d="m4.5 15.75 7.5-7.5 7.5 7.5" />
</svg> </svg>
@ -15,6 +16,5 @@
<path stroke-linecap="round" stroke-linejoin="round" d="m4.5 15.75 7.5-7.5 7.5 7.5" /> <path stroke-linecap="round" stroke-linejoin="round" d="m4.5 15.75 7.5-7.5 7.5 7.5" />
</svg> </svg>
{% endif %} {% endif %}
{{ title }}
</span> </span>
</a> </a>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,17 +1,16 @@
{ {
"build/backend/login.css": "/apps/build/backend/login.css", "build/backend/login.css": "/apps/build/backend/login.195471a4.css",
"build/backend/login.js": "/apps/build/backend/login.js", "build/backend/login.js": "/apps/build/backend/login.ab0272c2.js",
"build/backend/dashboard.css": "/apps/build/backend/dashboard.css", "build/backend/dashboard.css": "/apps/build/backend/dashboard.f30e17f9.css",
"build/backend/dashboard.js": "/apps/build/backend/dashboard.js", "build/backend/dashboard.js": "/apps/build/backend/dashboard.564e38a5.js",
"build/backend/tailwind.css": "/apps/build/backend/tailwind.css", "build/backend/tailwind.css": "/apps/build/backend/tailwind.33beacce.css",
"build/backend/tailwind.js": "/apps/build/backend/tailwind.js", "build/backend/tailwind.js": "/apps/build/backend/tailwind.d1378a3a.js",
"build/runtime.js": "/apps/build/runtime.js", "build/runtime.js": "/apps/build/runtime.44b7f9b9.js",
"build/vendors-node_modules_symfony_stimulus-bridge_dist_index_js-node_modules_core-js_modules_es_ar-a8da79.css": "/apps/build/vendors-node_modules_symfony_stimulus-bridge_dist_index_js-node_modules_core-js_modules_es_ar-a8da79.css", "build/185.99565361.js": "/apps/build/185.99565361.js",
"build/vendors-node_modules_symfony_stimulus-bridge_dist_index_js-node_modules_core-js_modules_es_ar-a8da79.js": "/apps/build/vendors-node_modules_symfony_stimulus-bridge_dist_index_js-node_modules_core-js_modules_es_ar-a8da79.js", "build/857.e053f864.css": "/apps/build/857.e053f864.css",
"build/vendors-node_modules_popperjs_core_dist_cjs_popper_js-node_modules_bootstrap-toggle_js_bootst-2e5edb.css": "/apps/build/vendors-node_modules_popperjs_core_dist_cjs_popper_js-node_modules_bootstrap-toggle_js_bootst-2e5edb.css", "build/857.5473cee9.js": "/apps/build/857.5473cee9.js",
"build/vendors-node_modules_popperjs_core_dist_cjs_popper_js-node_modules_bootstrap-toggle_js_bootst-2e5edb.js": "/apps/build/vendors-node_modules_popperjs_core_dist_cjs_popper_js-node_modules_bootstrap-toggle_js_bootst-2e5edb.js", "build/280.f481306d.js": "/apps/build/280.f481306d.js",
"build/vendors-node_modules_alpinejs_persist_dist_module_esm_js-node_modules_alpinejs_dist_module_esm_js.js": "/apps/build/vendors-node_modules_alpinejs_persist_dist_module_esm_js-node_modules_alpinejs_dist_module_esm_js.js", "build/933.ca932d10.js": "/apps/build/933.ca932d10.js",
"build/node_modules_symfony_stimulus-bridge_dist_webpack_loader_js_assets_controllers_json.js": "/apps/build/node_modules_symfony_stimulus-bridge_dist_webpack_loader_js_assets_controllers_json.js",
"build/fonts/summernote.eot": "/apps/build/fonts/summernote.7a3f9776.eot", "build/fonts/summernote.eot": "/apps/build/fonts/summernote.7a3f9776.eot",
"build/fonts/summernote.ttf": "/apps/build/fonts/summernote.eb23b6b7.ttf", "build/fonts/summernote.ttf": "/apps/build/fonts/summernote.eb23b6b7.ttf",
"build/fonts/summernote.woff": "/apps/build/fonts/summernote.f2bec4f2.woff", "build/fonts/summernote.woff": "/apps/build/fonts/summernote.f2bec4f2.woff",

View File

@ -38,6 +38,7 @@ a.btn.btn-primary.produkt-config-btn {
empty($_img_tmp) ? print '<div style="width:100%; height:100%; min-height:200px; background:silver">&nbsp;</div>' : print str_replace('id=""', '', $_img_tmp); empty($_img_tmp) ? print '<div style="width:100%; height:100%; min-height:200px; background:silver">&nbsp;</div>' : print str_replace('id=""', '', $_img_tmp);
?> ?>
</a> </a>
</div> </div>
<div class="caption productboxtxt"> <div class="caption productboxtxt">

View File

@ -1,49 +1,15 @@
<script type="text/javascript"> <?php if (!$this->designsettings()->get('b2bshop')) : ?>
$(function() { <div class="page-header"><h1>Danke für Ihre Registrierung.</h1></div>
<div class="row">
var data = new Array(); <div class="col-xs-12">
data['#fragment-1'] = '/user/login'; <div class="cms_inhalt">Nach einer Überprüfung schalten wir Ihr Kundenkontofrei.</div>
</div>
$('#tabs').tabs({
selected: 1,
select: function(event, ui) {
var url = data[ui.tab.hash];
if( url ) {
location.href = url;
return false;
}
return true;
}
});
})
</script>
<style type="text/css">
<!--
#login dd {
margin-left: 10px;
}
-->
</style>
<div id="tabs">
<ul>
<li><a href="#fragment-1"><span><?php echo $this->translate('Login') ?></span></a></li>
</ul>
<div id="fragment-1">
<br/>
<h1><?php echo $this->translate('Freischalten') ?></h1>
<?php if(Zend_Auth::getInstance()->hasIdentity()==false): ?>
<div id="BlueBox"><?php echo $this->translate('Please fill out the Form') ?></div>
<?php echo $this->form->render();?>
<div id="BlueBox">
</div> </div>
<?php else: ?> <?php else: ?>
<div id="BlueBox"><?php echo $this->translate('You are logged in') ?></div> <div class="page-header"><h1>Danke für Ihre Registrierung.</h1></div>
<hr> <div class="row">
<div id="BlueBox"> <div class="col-xs-12">
<a href="/admin"><?php echo $this->translate('Admin') ?></a> <div class="cms_inhalt">Sie erhalten eine Email mit einem Bestätigungslink zur Freischaltung.</div>
</div>
</div> </div>
<?php endif; ?> <?php endif; ?>
</div>