Sjednocena práce s CSS soubory.

multitenant
František Přibyl 11 years ago
parent 12b814360c
commit 1519b439fe

@ -1,4 +1,6 @@
# Default file # Default file
AppName=Objednávkový systém SPŠ Třebíč
AgendaBuildings=Budovy AgendaBuildings=Budovy
BuildingsFormCode=Kód BuildingsFormCode=Kód
@ -14,6 +16,8 @@ ButtonSave=Uložit
FormBuilding=Budova FormBuilding=Budova
HeaderText=Hlavička
ToolbarRecNew=Nový záznam ToolbarRecNew=Nový záznam
ToolbarRecEdit=Úprava aktuálního záznamu ToolbarRecEdit=Úprava aktuálního záznamu
ToolbarRecDelete=Odstranit aktuální záznam ToolbarRecDelete=Odstranit aktuální záznam

@ -25,6 +25,8 @@
<desktop-config> <desktop-config>
<theme-uri>/css/zk-modify.css</theme-uri> <theme-uri>/css/zk-modify.css</theme-uri>
<theme-uri>/css/form.css</theme-uri>
<theme-uri>/css/page.css</theme-uri>
</desktop-config> </desktop-config>
<!-- <library-property> <!-- <library-property>

@ -5,8 +5,6 @@
viewModel="@id('vm') @init('info.bukova.isspst.ui.addressbook.AddressFindResult')" viewModel="@id('vm') @init('info.bukova.isspst.ui.addressbook.AddressFindResult')"
closable="true" width="700px"> closable="true" width="700px">
<style src="/app/form.css"/>
<listbox model="@load(vm.listResult)" height="300px" selectedItem="@bind(vm.selectedAddr)"> <listbox model="@load(vm.listResult)" height="300px" selectedItem="@bind(vm.selectedAddr)">
<listhead> <listhead>
<listheader label="Firma" sort="auto(company)"/> <listheader label="Firma" sort="auto(company)"/>

@ -5,8 +5,6 @@
viewModel="@id('vm') @init('info.bukova.isspst.ui.addressbook.AddressForm')" viewModel="@id('vm') @init('info.bukova.isspst.ui.addressbook.AddressForm')"
closable="true" width="600px"> closable="true" width="600px">
<style src="/app/form.css"/>
<grid width="580px"> <grid width="580px">
<columns> <columns>
<column label="" hflex="min"/> <column label="" hflex="min"/>

@ -6,7 +6,6 @@
viewModel="@id('vm') @init('info.bukova.isspst.ui.addressbook.AddressList')"> viewModel="@id('vm') @init('info.bukova.isspst.ui.addressbook.AddressList')">
<include src="/app/toolbar.zul"/> <include src="/app/toolbar.zul"/>
<style src="/app/form.css"/>
<hbox width="100%"> <hbox width="100%">
<listbox id="dataGrid" model="@load(vm.dataList)" selectedItem="@bind(vm.dataBean)" <listbox id="dataGrid" model="@load(vm.dataList)" selectedItem="@bind(vm.dataBean)"

@ -2,7 +2,6 @@
<zk> <zk>
<window id="editWin" title="Uživatel" border="normal" closable="true" width="550px" apply="org.zkoss.bind.BindComposer" <window id="editWin" title="Uživatel" border="normal" closable="true" width="550px" apply="org.zkoss.bind.BindComposer"
viewModel="@id('vm') @init('info.bukova.isspst.ui.users.PermissionForm')"> viewModel="@id('vm') @init('info.bukova.isspst.ui.users.PermissionForm')">
<style src="/app/form.css"/>
<label value="@load(vm.dataBean.description)" style="font-weight: bold;"/> <label value="@load(vm.dataBean.description)" style="font-weight: bold;"/>

@ -2,7 +2,7 @@
<zk> <zk>
<window id="editWin" title="Uživatel" border="normal" closable="true" width="450px" apply="org.zkoss.bind.BindComposer" <window id="editWin" title="Uživatel" border="normal" closable="true" width="450px" apply="org.zkoss.bind.BindComposer"
viewModel="@id('vm') @init('info.bukova.isspst.ui.users.UserForm')"> viewModel="@id('vm') @init('info.bukova.isspst.ui.users.UserForm')">
<style src="/app/form.css"/>
<grid width="440px"> <grid width="440px">
<columns> <columns>
<column hflex="min"></column> <column hflex="min"></column>

@ -0,0 +1,7 @@
<?page title="${labels.HeaderText}" contentType="text/html;charset=UTF-8"?>
<zk>
<style src="/css/page.css"/>
<div id="header">
${labels.AppName}
</div>
</zk>

@ -1,70 +0,0 @@
/*body {
font-family: sans-serif;
}*/
#container {
min-height:100%;
position:relative;
}
#header{
width: auto;
height:40px;
border: 1px solid #ccc;
padding:10px;
}
#leftcolumn{
width:140px;
/* margin: 20px 20px 20px 0px;*/
padding:10px;
float: left;
/* border: 1px solid #ccc;*/
}
#navbar{
border: 1px solid #ccc;
}
#maincolumn{
padding:10px;
padding-bottom:20px; /* Height of the footer */
margin: 0px 0px 0px 160px;
}
#footer{
clear:both;
position:absolute;
bottom:0;
width:100%;
height:20px; /* Height of the footer */
border: 1px solid #ccc;
}
.form-caption {
--1overflow:hidden;
font-weight: bold;
font-size: 20px;
}
/*aaa*/
.form-caption-content {
float:left;
}
/*
a:link,a:visited {
font-size: 12px;
color: #0000A0;
background-color: #FFFFFF;
text-decoration: none;
target-new: none;
}
a:hover {
font-size: 12px;
color: #0000A0;
background-color: #a3d3f8;
text-decoration: none;
target-new: none;
}*/

@ -6,7 +6,7 @@
apply="org.zkoss.bind.BindComposer" apply="org.zkoss.bind.BindComposer"
viewModel="@id('vm') @init('info.bukova.isspst.ui.users.PasswdVM')"> viewModel="@id('vm') @init('info.bukova.isspst.ui.users.PasswdVM')">
<caption src="/img/passwd.png" zclass="form-caption" label="Změnit heslo" /> <caption src="/img/passwd.png" zclass="form-caption" label="Změnit heslo" />
<style src="/app/form.css"/>
<grid> <grid>
<columns> <columns>
<column hflex="min"/> <column hflex="min"/>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?> <?xml version="1.0" encoding="UTF-8" ?>
<html xmlns="native" xmlns:u="zul" xmlns:zk="zk"> <html xmlns="native" xmlns:u="zul" xmlns:zk="zk">
<u:style src="/app/page.css"/> <u:style src="/css/page.css"/>
<script type="text/javascript"> <script type="text/javascript">
zk.afterLoad("zk", function () { zk.afterLoad("zk", function () {
@ -43,7 +43,7 @@
<div id="container"> <div id="container">
<div id="header"> <div id="header">
hlavicka Objednávkový systém SPŠ Třebíč
</div> </div>
<div id="leftcolumn"> <div id="leftcolumn">

@ -1,8 +1,8 @@
<?page title="${labels.AgendaBuildings}" contentType="text/html;charset=UTF-8"?> <?page title="${labels.AgendaBuildings}" contentType="text/html;charset=UTF-8"?>
<zk> <zk>
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?> <?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
<window title="${labels.AgendaBuildings}" border="normal" apply="org.zkoss.bind.BindComposer" viewModel="@id('vm') @init('info.bukova.isspst.ui.BuildingList')"> <window border="normal" apply="org.zkoss.bind.BindComposer" viewModel="@id('vm') @init('info.bukova.isspst.ui.BuildingList')">
<caption zclass="form-caption" label="${labels.AgendaBuildings}" />
<include src="/app/toolbar.zul" /> <include src="/app/toolbar.zul" />
<listbox model="@load(vm.dataList)" selectedItem="@bind(vm.dataBean)"> <listbox model="@load(vm.dataList)" selectedItem="@bind(vm.dataBean)">

@ -0,0 +1,80 @@
html {
/*vertical scrollbar allways visible */
overflow: -moz-scrollbars-vertical;
overflow-y: scroll;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
#container {
min-height: 100%;
position: relative;
}
#header {
width: auto;
height: 40px;
border: 1px solid #ccc;
padding: 10px;
background: url("/isspst/img/header-bg.png") 50% 0 repeat-x;
color: #ffffff;
font-size: 35px;
font-weight: bold;
text-align: center;
text-shadow: 2px 2px 2px #000000;
}
#leftcolumn {
width: 140px;
padding: 10px;
float: left;
}
#navbar {
border: 1px solid #ccc;
}
#maincolumn {
padding: 10px;
padding-bottom: 20px; /* Height of the footer */
margin: 0px 0px 0px 160px;
}
#footer {
clear: both;
position: absolute;
bottom: 0;
width: 100%;
height: 20px; /* Height of the footer */
border: 1px solid #ccc;
}
.form-caption {
overflow: hidden;
font-weight: bold;
font-size: 20px;
text-shadow: 2px 2px 2px #888888;
padding-left: 5px;
}
/*aaa*/
.form-caption-content {
float: left;
}
/*
a:link,a:visited {
font-size: 12px;
color: #0000A0;
background-color: #FFFFFF;
text-decoration: none;
target-new: none;
}
a:hover {
font-size: 12px;
color: #0000A0;
background-color: #a3d3f8;
text-decoration: none;
target-new: none;
}*/

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Loading…
Cancel
Save