345 lines
13 KiB
HTML
345 lines
13 KiB
HTML
<!Doctype html>
|
|
<html lang="de">
|
|
<head>
|
|
<title>Amazon light</title>
|
|
|
|
<link rel="stylesheet" href="css/m-light.css" id="pagestyle"/>
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Libre+Baskerville:400,400i,700,700i%7CSource+Code+Pro:400,400i,600" />
|
|
<meta name="theme-color" content="#cb4b16" id="pagecolor"/>
|
|
|
|
<link href="css/custom.css" rel="stylesheet">
|
|
<link href="css/slick-theme.css" rel="stylesheet">
|
|
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css"/>
|
|
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
|
|
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous">
|
|
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
|
</head>
|
|
<body>
|
|
|
|
<div id="add-address-form" title="Addresse hinzufügen">
|
|
<form>
|
|
<fieldset>
|
|
<label for="add-name">Name</label>
|
|
<input type="text" name="name" id="add-name" class="text ui-widget-content ui-corner-all">
|
|
<label for="add-email">Straße</label>
|
|
<input type="text" name="email" id="add-email" class="text ui-widget-content ui-corner-all">
|
|
<label for="add-ort">Ort</label>
|
|
<input type="text" name="password" id="add-password" class="text ui-widget-content ui-corner-all">
|
|
|
|
<!-- Allow form submission with keyboard without duplicating the dialog button -->
|
|
<input type="submit" tabindex="-1" style="position:absolute; top:-1000px">
|
|
</fieldset>
|
|
</form>
|
|
</div>
|
|
|
|
<div id="add-account-form" title="Zahlungsart hinzufügen">
|
|
<form>
|
|
<fieldset>
|
|
<label for="name">BIC</label>
|
|
<input type="text" name="name" id="acc-name" class="text ui-widget-content ui-corner-all">
|
|
<label for="email">IBAN</label>
|
|
<input type="text" name="email" id="acc-email" class="text ui-widget-content ui-corner-all">
|
|
<label for="password">Inhaber</label>
|
|
<input type="text" name="password" id="acc-password" v class="text ui-widget-content ui-corner-all">
|
|
|
|
<!-- Allow form submission with keyboard without duplicating the dialog button -->
|
|
<input type="submit" tabindex="-1" style="position:absolute; top:-1000px">
|
|
</fieldset>
|
|
</form>
|
|
</div>
|
|
|
|
<header>
|
|
<nav id="navigation">
|
|
<div class="m-container">
|
|
<div class="m-row">
|
|
<a href="" id="m-navbar-brand" class="m-col-t-9 m-col-m-none m-left-m"></a>
|
|
<a id="m-navbar-show" href="#navigation" title="Show navigation"
|
|
class="m-col-t-3 m-hide-m m-text-right"></a>
|
|
<a id="m-navbar-hide" href="#" title="Hide navigation" class="m-col-t-3 m-hide-m m-text-right"></a>
|
|
<div id="m-navbar-collapse" class="m-col-t-12 m-show-m m-col-m-none m-right-m">
|
|
<div class="m-row">
|
|
<ol class="m-col-t-6 m-col-m-none">
|
|
<li><a href="#">Katalog</a></li>
|
|
<li><a href="#">(1) Warenkorb</a></li>
|
|
</ol>
|
|
<ol class="m-col-t-6 m-col-m-none" start="4">
|
|
<li>
|
|
<a href="#">Mein Account</a>
|
|
<ol>
|
|
<li><a href="#">Meine Bestellungen</a></li>
|
|
<li><a href="#">Adressen & Konten</a></li>
|
|
<li><a href="#">Abmelden</a></li>
|
|
</ol>
|
|
</li>
|
|
</ol>
|
|
<ol class="m-col-t-6 m-col-m-none" start="6">
|
|
<li>
|
|
<a href="#"><i class="fas fa-ellipsis-v"></i></a>
|
|
<ol>
|
|
<li>Dark Theme
|
|
<div class="onoffswitch">
|
|
<input type="checkbox" name="onoffswitch" class="onoffswitch-checkbox" id="myonoffswitch" onchange="changeTheme()">
|
|
<label class="onoffswitch-label" for="myonoffswitch">
|
|
<span class="onoffswitch-inner"></span>
|
|
<span class="onoffswitch-switch"></span>
|
|
</label>
|
|
</div>
|
|
</li>
|
|
</ol>
|
|
</li>
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
</header>
|
|
|
|
<main>
|
|
|
|
<div class="m-container">
|
|
<h1 class="m-text-center">Addresse</h1>
|
|
<div class="m-row">
|
|
<div class="m-col-t-3">
|
|
<div class="m-block m-primary">
|
|
Max Mustermann<br>
|
|
Musterstraße 42<br>
|
|
12345 Musterstadt
|
|
</div>
|
|
</div>
|
|
<div class="m-col-t-3">
|
|
<div class="m-block m-success">
|
|
Max Mustermann<br>
|
|
Musterstraße 43<br>
|
|
12345 Musterstadt
|
|
</div>
|
|
</div>
|
|
<div class="m-col-t-3">
|
|
<div class="m-block">
|
|
Max Mustermann<br>
|
|
Musterstraße 45<br>
|
|
12345 Musterstadt
|
|
</div>
|
|
</div>
|
|
<div class="m-col-t-3">
|
|
<div class="m-block">
|
|
Max Mustermann<br>
|
|
Musterstraße 1<br>
|
|
12345 Musterstadt
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="m-row">
|
|
<div class="m-col-t-3">
|
|
<div class="m-block">
|
|
Max Mustermann<br>
|
|
Musterstraße 30<br>
|
|
12345 Musterstadt
|
|
</div>
|
|
</div>
|
|
<div class="m-col-t-3">
|
|
<div class="m-block m-text-center">
|
|
<button id="add-address" class="fas fa-plus fa-4x"></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<h1 class="m-text-center">Zahlungsart</h1>
|
|
|
|
<div class="m-row">
|
|
<div class="m-col-t-4">
|
|
<div class="m-block m-primary">
|
|
PayPal<br>
|
|
m••••••@•••••.de
|
|
</div>
|
|
</div>
|
|
<div class="m-col-t-4">
|
|
<div class="m-block m-success">
|
|
Bankeinzug<br>
|
|
IBAN: 12345••••••••••••••••••••••••111<br>
|
|
Inhaber: Max Mustermann
|
|
</div>
|
|
</div>
|
|
<div class="m-col-t-4">
|
|
<div class="m-block m-text-center">
|
|
<button id="add-account" class="fas fa-plus fa-4x"></button>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="m-row">
|
|
<div class="m-col-t-3 m-push-t-3 m-button m-danger">
|
|
<a href="#">Abbrechen</a>
|
|
</div>
|
|
<div class="m-col-t-3 m-push-t-3 m-button m-success">
|
|
<a href="#">Bestätigen</a>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
|
|
<footer>
|
|
<nav>
|
|
<div class="m-container">
|
|
<div class="m-row">
|
|
<div class="m-col-s-3 m-col-t-6">
|
|
<h3>Hilfe</h3>
|
|
<ul>
|
|
<li><a href="#">FAQ</a></li>
|
|
<li><a href="#">Rückgabe</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="m-col-s-3 m-col-t-6">
|
|
<h3>Zahlung</h3>
|
|
<ul>
|
|
<li><a href="#">Kreditkarten</a></li>
|
|
<li><a href="#">Gutscheine</a></li>
|
|
<li><a href="#">Bankeinzug</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="m-clearfix-t"></div>
|
|
<div class="m-col-s-3 m-col-t-6">
|
|
<h3>Amazon light</h3>
|
|
<ul>
|
|
<li><a href="#">Über</a></li>
|
|
<li><a href="#">Kontakt</a></li>
|
|
<li><a href="#">Presse</a></li>
|
|
<li><a href="#">Jobs</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="m-col-s-3 m-col-t-6">
|
|
<h3><a href="#">Rechtliches</a></h3>
|
|
<ul>
|
|
<li><a href="https://joethei.xyz/impress">Impressum</a></li>
|
|
<li><a href="https://joethei.xyz/privacy">Datenschutz</a></li>
|
|
<li><a href="https://joethei.xyz/disclaimer">Haftung</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="m-row">
|
|
<div class="m-col-l-10 m-push-l-1">
|
|
<p>Amazon light. Copyright © <a href="#">B1</a>,
|
|
2019. All rights reserved.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
|
|
</footer>
|
|
|
|
|
|
<script type="text/javascript" src="//code.jquery.com/jquery-1.11.0.min.js"></script>
|
|
<script src="//code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
|
|
<script type="text/javascript" src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
|
|
<script type="text/javascript" src="//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.min.js"></script>
|
|
<script>
|
|
function changeTheme() {
|
|
|
|
if(document.getElementById('myonoffswitch').checked) {
|
|
swapStyleSheet("dark", "#22272e");
|
|
}else {
|
|
swapStyleSheet("light", "#cb4b16");
|
|
}
|
|
|
|
}
|
|
|
|
function swapStyleSheet(sheet, color) {
|
|
document.getElementById("pagestyle").setAttribute("href", "css/m-" + sheet + ".css");
|
|
document.getElementById("pagecolor").setAttribute("content", color);
|
|
}
|
|
|
|
$(document).ready(function () {
|
|
$('.slider').slick({
|
|
infinite: true,
|
|
slidesToShow: 6,
|
|
slidesToScroll: 3
|
|
})
|
|
});
|
|
|
|
|
|
$( function() {
|
|
var address, account, account_form, address_form,
|
|
|
|
// From http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#e-mail-state-%28type=email%29
|
|
emailRegex = /^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,
|
|
name = $( "#name" ),
|
|
email = $( "#email" ),
|
|
password = $( "#password" ),
|
|
allFields = $( [] ).add( name ).add( email ).add( password ),
|
|
tips = $( ".validateTips" );
|
|
|
|
function checkRegexp( o, regexp, n ) {
|
|
if ( !( regexp.test( o.val() ) ) ) {
|
|
o.addClass( "ui-state-error" );
|
|
updateTips( n );
|
|
return false;
|
|
} else {
|
|
return true;
|
|
}
|
|
}
|
|
|
|
function addUser() {
|
|
|
|
}
|
|
|
|
address = $( "#add-address-form" ).dialog({
|
|
autoOpen: false,
|
|
height: 400,
|
|
width: 350,
|
|
modal: true,
|
|
buttons: {
|
|
"hinzufügen": addUser,
|
|
Cancel: function() {
|
|
dialog.dialog( "close" );
|
|
}
|
|
},
|
|
close: function() {
|
|
form[ 0 ].reset();
|
|
allFields.removeClass( "ui-state-error" );
|
|
}
|
|
});
|
|
|
|
account = $( "#add-account-form" ).dialog({
|
|
autoOpen: false,
|
|
height: 400,
|
|
width: 350,
|
|
modal: true,
|
|
buttons: {
|
|
"hinzufügen": addUser,
|
|
Cancel: function() {
|
|
dialog.dialog( "close" );
|
|
}
|
|
},
|
|
close: function() {
|
|
form[ 0 ].reset();
|
|
allFields.removeClass( "ui-state-error" );
|
|
}
|
|
});
|
|
|
|
account_form = account.find( "form" ).on( "submit", function( event ) {
|
|
event.preventDefault();
|
|
addUser();
|
|
});
|
|
|
|
address_form = account.find( "form" ).on( "submit", function( event ) {
|
|
event.preventDefault();
|
|
addUser();
|
|
});
|
|
|
|
$( "#add-account" ).button().on( "click", function() {
|
|
account.dialog( "open" );
|
|
});
|
|
$( "#add-address" ).button().on( "click", function() {
|
|
address.dialog( "open" );
|
|
});
|
|
} );
|
|
</script>
|
|
|
|
</body>
|
|
</html> |