mirror of
https://github.com/hanzoai/jube-fork.git
synced 2026-11-02 14:29:36 +00:00
108 lines
4.4 KiB
HTML
Executable File
108 lines
4.4 KiB
HTML
Executable File
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Customizing actions</title>
|
|
<meta charset="utf-8">
|
|
<link href="../content/shared/styles/examples-offline.css" rel="stylesheet">
|
|
<link href="../../styles/kendo.common.min.css" rel="stylesheet">
|
|
<link href="../../styles/kendo.rtl.min.css" rel="stylesheet">
|
|
<link href="../../styles/kendo.default.min.css" rel="stylesheet">
|
|
<link href="../../styles/kendo.default.mobile.min.css" rel="stylesheet">
|
|
<script src="../../js/jquery.min.js"></script>
|
|
<script src="../../js/jszip.min.js"></script>
|
|
<script src="../../js/kendo.all.min.js"></script>
|
|
<script src="../content/shared/js/console.js"></script>
|
|
<script>
|
|
|
|
</script>
|
|
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<a class="offline-button" href="../index.html">Back</a>
|
|
|
|
|
|
<div id="example">
|
|
<div id="window">
|
|
<div class="armchair"><img src="../content/web/window/kubus-armchair.png" alt="Josef Hoffmann - Kubus Armchair" /> Josef Hoffmann - Kubus Armchair</div>
|
|
<p>Josef Hoffmann studied architecture at the Academy of Fine Arts in Vienna, Austria, under Art Nouveau architect Otto Wagner, whose theories of functional, modern architecture profoundly influenced his works, and in 1896 he joined his office.</p>
|
|
|
|
<p>In 1898, he established his own practice in Vienna. In 1897, inspired by Mackintosh and the Glasgow School, he was one of the founding members with Gustav Klimt, of an association of revolutionary artists and architects, the Vienna Secession.</p>
|
|
|
|
<p>In 1903, he founded with architects Koloman Moser and Joseph Maria Olbrich, the Wiener Werkstätte for decorative arts.</p>
|
|
<p>They aspired to the renaissance of the arts and crafts and to bring more abstract and purer forms to the designs of buildings and furniture, glass and metalwork, following the concept of total work of art. Hoffman's works combined functionality and simplicity of craft production with refined and innovative ornamental details and geometric elements. He is an important precursor of the Modern Movement and Art Deco. </p>
|
|
|
|
<p>Source: <a href="https://www.senses-artnouveau.com/biography.php?artist=hof" title="About Josef Hoffmann">https://www.senses-artnouveau.com/</a></p>
|
|
</div>
|
|
|
|
<span id="undo" style="display:none" class="k-button hide-on-narrow">Click here to open the window.</span>
|
|
|
|
<div class="responsive-message"></div>
|
|
|
|
<script>
|
|
$(document).ready(function() {
|
|
var myWindow = $("#window"),
|
|
undo = $("#undo");
|
|
|
|
myWindow.kendoWindow({
|
|
width: "500px",
|
|
actions: ["Custom", "Minimize", "Maximize", "Close"],
|
|
title: "About Josef Hoffmann",
|
|
close: function() {
|
|
undo.fadeIn();
|
|
}
|
|
});
|
|
|
|
myWindow.data("kendoWindow").wrapper
|
|
.find(".k-i-custom").parent().click(function (e) {
|
|
alert("Custom action button clicked");
|
|
e.preventDefault();
|
|
});
|
|
|
|
undo.click(function () {
|
|
myWindow.data("kendoWindow").open();
|
|
undo.fadeOut();
|
|
});
|
|
});
|
|
</script>
|
|
|
|
<style>
|
|
#example
|
|
{
|
|
min-height:500px;
|
|
}
|
|
#undo {
|
|
text-align: center;
|
|
position: absolute;
|
|
white-space: nowrap;
|
|
padding: 1em;
|
|
cursor: pointer;
|
|
}
|
|
.armchair {
|
|
float: left;
|
|
margin: 20px 30px;
|
|
text-align: center;
|
|
}
|
|
.armchair img {
|
|
display: block;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.k-window {
|
|
z-index: 100000;
|
|
}
|
|
|
|
media screen and (max-width: 1023px) {
|
|
div.k-window {
|
|
display: none !important;
|
|
}
|
|
}
|
|
</style>
|
|
</div>
|
|
|
|
|
|
|
|
</body>
|
|
</html>
|