Agenda Dodavatelé - adresář
This commit is contained in:
@@ -48,4 +48,8 @@ background: #ebebeb;
|
||||
|
||||
.error {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
<?page title="buttons" contentType="text/html;charset=UTF-8"?>
|
||||
<zk>
|
||||
<button image="/img/save.png" label="Uložit" onClick="@command('save', window=editWin) @global-command('refresh')" sclass="nicebutton" /><button image="~./zul/img/misc/drag-disallow.png" label="Zrušit" onClick="editWin.detach()" sclass="nicebutton"/>
|
||||
</zk>
|
||||
@@ -31,6 +31,7 @@
|
||||
<menuitem label="Střediska" href="/admin/users" disabled="${not sec:isAllGranted('ROLE_ADMIN')}"/>
|
||||
<menuitem label="Budovy" href="/admin/users"/>
|
||||
<menuitem label="Místnosti" href="/admin/users"/>
|
||||
<menuitem label="Dodavatelé" href="/admin/addressbook"/>
|
||||
</menubar>
|
||||
</tabpanel>
|
||||
<tabpanel>
|
||||
|
||||
@@ -1,6 +1,45 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<html xmlns="native" xmlns:u="zul" xmlns:zk="zk">
|
||||
<u:style src="/app/page.css"/>
|
||||
|
||||
<script type="text/javascript">
|
||||
zk.afterLoad("zk", function () {
|
||||
var oldProgressbox = zUtl.progressbox;
|
||||
zUtl.progressbox = function () {
|
||||
oldProgressbox.apply(this, arguments);
|
||||
var $mask = jq('.z-loading');
|
||||
if ($mask) {
|
||||
var $img = jq('.z-loading-indicator'),
|
||||
$body = jq(document.body),
|
||||
body = $body[0],
|
||||
bw = $body.width() + body.scrollLeft - 10,
|
||||
bh = $body.height() + body.scrollTop - 10;
|
||||
|
||||
// update mask and image's style
|
||||
$mask.width(bw);
|
||||
$mask.height(bh);
|
||||
$mask.css('opacity', .75);
|
||||
|
||||
$img.width('150px');
|
||||
$img.css('margin-left', (bw - $img.width()) / 2 + 'px');
|
||||
$img.css('margin-top', (bh - $img.height()) / 2 + 'px');
|
||||
|
||||
// update mask size when window scroll
|
||||
if (!window.eventBinded) {
|
||||
var $win = jq(window);
|
||||
$win.scroll(function () {
|
||||
var $maskInst = jq('.z-loading');
|
||||
if ($maskInst[0]) {
|
||||
$maskInst.width(bw + $win.scrollLeft());
|
||||
$maskInst.height(bh + $win.scrollTop());
|
||||
}
|
||||
});
|
||||
window.eventBinded = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<div id="container">
|
||||
<div id="header">
|
||||
|
||||
Reference in New Issue
Block a user