Giter VIP home page Giter VIP logo

atlantic's Introduction

Atlantic Theme (Deprecated)

This project is deprecated as of release 10.0.0, please use ZK Theme Pack instead.

ZK Flat Design Theme

Usage:

  1. Put atlantic.jar in WEB-INF/lib, then Atlantic will become your default theme if there is no other themes.
  2. Now you can also dynamically switch between different themes by cookie or library property, please read Switching Themes.

It does not require a server restart, but user has to refresh the browser.

Refer to this blog for more information about the theme.

Customize This Theme

run init.sh can change the theme name, but you need to update some Java class code manually.

produce jar

run mvn clean package to produce a theme jar.

atlantic's People

Contributors

b952426 avatar bob31231 avatar chunfuchang avatar dependabot[bot] avatar devchu avatar hawkchen avatar huangnoah avatar jamsonchan avatar jerrywell avatar jumperchen avatar plijyfes avatar raymondchao avatar rebecca0201 avatar scribetw avatar t-c-chiu avatar wenninghsu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

atlantic's Issues

Several issue on iPad

The component DateBox is not correctly show on iPad. Example:

You can correct it with this code (for Chrome):
.z-calendar-wheel-date { display: -webkit-box; -webkit-box-orient: horizontal; -webkit-box-flex: 1; }


On iPad, the value of ClientInfoEvent.getDesktopHeight() is too big (maybe 30px too much). Not when you emulate but on a real device with iOS 7 (is good for iOS 6 or before).


On iPad, when you want drag and drop an element into a scrollable list, is very very difficult. You can drag&drop but you can't sroll or inversely (just on a real device).

reference: http://tracker.zkoss.org/browse/ZK-2163

updating theme path...init.sh: 159: init.sh: Bad substitution

sh init.sh

This script will assist you in setting up your custom ZK theme maven project.

Enter the [GROUP ID] for your theme project and press [ENTER]: org.zkoss.theme
Enter the [ARTIFACT ID] (will also be your theme name) for your theme project and press [ENTER]: dreamdev
Enter the [VERSION] for your theme project and press [ENTER]: 8.6.1
Enter the [DISPLAY NAME] for your theme and press [ENTER]: erp

GROUP ID : org.zkoss.theme
ARTIFACT ID : erp
VERSION : 8.6.1
DISPLAY NAME : ERP

Is the above information correct? [Y/n] Y
updating pom.xml......................done.
updating version......................done.
updating Version.java.................done.
updating ThemeWebAppInit.java.........done.
updating theme path...init.sh: 159: init.sh: Bad substitution

updating theme path...init.sh: 159: init.sh: Bad substitution

HTTPS/SSL errors due to fonts.googleapis.com import

In src/main/resources/web/atlantic/zul/less/norm.less
the following line is setting http:// so you get errors when using this theme under https
@import ~"url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700)";

Suggested fix -- change the line to:
@import ~"url(//fonts.googleapis.com/css?family=Open+Sans:400,300,600,700)";

I've done this on my local build to solve the problem but it would be nice if it was upstream.

you may also want to look at line 249 of the same file to remove the http there also.
background-image: url('http://www.zkoss.org/zk/img/${z:encodeWithZK("zkpowered.png")}');

I use frozen columns in the listbox

I use "frozen columns" in the listbox. On Zk6.5.4 OK. But I upgraded to ZK8.0.3 it encountered problems. When I scroll to the last and pulled back, the column disappeared.

<zk> <listbox id="tiendoListBox" vflex="1" hflex="1"> <auxhead> <auxheader label="Đơn vị" colspan="1" rowspan="2" /> <auxheader label="Chuyền" colspan="1" rowspan="2" /> <auxheader label="Đơn hàng" colspan="1" rowspan="2" /> <auxheader label="Mã hàng" colspan="1" rowspan="2" /> <auxheader label="PO" colspan="1" rowspan="2" /> <auxheader label="Màu" colspan="1" rowspan="2" /> <auxheader label="Sản Phẩm" colspan="1" rowspan="2" /> <auxheader label="Khách hàng" colspan="1" rowspan="2" /> <auxheader label="Số lượng SX" colspan="1" rowspan="2" /> <auxheader label="Nhập kho" colspan="3" /> <auxheader label="Ra chuyền" colspan="3" /> <auxheader label="Vào chuyền" colspan="3" /> <auxheader label="Cắt" colspan="3" /> <auxheader label="Thêu" colspan="3" /> <auxheader label="In" colspan="3" /> <auxheader label="Giặt" colspan="3" /> <auxheader label="Đóng gói" colspan="3" /> <auxheader label="CM" colspan="1" rowspan="2" /> <auxheader label="USD Month" colspan="1" rowspan="2" /> </auxhead> <frozen columns="4" /> <listhead> <listheader label="Số BC" width="60px" /> <listheader label="LK đã TH" width="80px" /> <listheader label="Còn lại" width="80px" /> <listheader label="Số BC" width="100px" /> <listheader label="LK đã TH" width="80px" /> <listheader label="Còn lại" width="100px" /> <listheader label="Số BC" width="60px" /> <listheader label="LK đã TH" width="80px" /> <listheader label="Còn lại" width="80px" align="right" /> <listheader label="Số BC" width="60px" align="right" /> <listheader label="LK đã TH" width="80px" align="right" /> <listheader label="Còn lại" width="70px" align="right" /> <listheader label="Số BC" width="60px" align="right" /> <listheader label="LK đã TH" width="80px" align="right" /> <listheader label="Còn lại" width="70px" align="right" /> <listheader label="Số BC" width="60px" align="right" /> <listheader label="LK đã TH" width="70px" align="right" /> <listheader label="Còn lại" width="70px" align="right" /> <listheader label="Số BC" width="60px" align="right" /> <listheader label="LK đã TH" width="70px" align="right" /> <listheader label="Còn lại" width="70px" align="right" /> <listheader label="Số BC" width="60px" align="right" /> <listheader label="LK đã TH" width="70px" align="right" /> <listheader label="Còn lại" width="70px" align="right" /> <listheader label="" width="70px" align="right" /> <listheader label="" width="70px" align="right" /> <listheader label="" width="70px" align="right" /> <listheader label="" width="70px" align="right" /> <listheader label="" width="70px" align="right" /> <listheader label="" width="70px" align="right" /> <listheader label="" width="70px" align="right" /> <listheader label="" width="70px" align="right" /> <listheader label="" width="70px" align="right" /> <listheader label="" width="70px" align="right" /> <listheader label="" width="90px" align="right" /> </listhead> <auxhead> <auxheader> <textbox instant="true" hflex="1" /> </auxheader> <auxheader> <textbox instant="true" hflex="1" /> </auxheader> <auxheader> <textbox instant="true" hflex="1" /> </auxheader> <auxheader> <textbox instant="true" hflex="1" /> </auxheader> <auxheader> <textbox instant="true" hflex="1" /> </auxheader> <auxheader> <textbox instant="true" hflex="1" /> </auxheader> <auxheader> <textbox instant="true" hflex="1" /> </auxheader> <auxheader> <textbox instant="true" hflex="1" /> </auxheader> <auxheader label="" align="right" /> <auxheader label="" align="right" /> <auxheader label="" align="right" /> <auxheader label="" align="right" /> <auxheader label="" align="right" /> <auxheader label="" align="right" /> <auxheader label="" align="right" /> <auxheader label="" align="right" /> <auxheader label="" align="right" /> <auxheader label="" align="right" /> <auxheader label="" align="right" /> <auxheader label="" align="right" /> <auxheader label="" align="right" /> <auxheader label="" align="right" /> <auxheader label="" align="right" /> <auxheader label="" align="right" /> <auxheader label="" align="right" /> <auxheader label="" align="right" /> <auxheader label="" align="right" /> <auxheader label="" align="right" /> <auxheader label="" align="right" /> <auxheader label="" align="right" /> <auxheader label="" align="right" /> <auxheader label="" align="right" /> <auxheader label="" align="right" /> <auxheader /> <auxheader label="" align="right" /> <auxheader /> </auxhead> <listitem> <listcell label="AAAAAA" /> <listcell label="BBBBBBBBB" /> <listcell label="AAAAAAA" /> <listcell label="AAAAAAAAA" /> <listcell label="AAAAAAAAA" /> <listcell label="AAAAAAAAA" /> <listcell label="VVVVVVVVVVVVVV" /> <listcell label="AAAAAAAAAA" /> <listcell label="AAAAAAAAAA" /> <listcell label="AAAAAAAAAA" /> <listcell label="AAAAAAAAA" /> <listcell label="AAAAAAAAAAA" /> <listcell label="CCCCCCCCC" /> <listcell label="BBBBBBBBBBBBBB" /> <listcell label="AAAAAAAAAAAA" /> <listcell label="DDDDDDDDD" /> <listcell label="NNNNNNNNNNN" /> <listcell label="FFFFFFFFFFFFFF" /> <listcell label="AAAAAAAA" /> <listcell label="FFFFFF" /> <listcell label="NNNNNNNNNNNNNNNN" /> <listcell label="AAAAAAAAA" /> <listcell label="BBBBBBBBBB" /> <listcell label="AAAAAAAAAAAAAA" /> <listcell label="AAAAAAAAAAAAA" /> <listcell label="AAAAAAAA" /> <listcell label="AAAAAAAAAA" /> <listcell label="AAAAAAAAAAAAA" /> <listcell label="AAAAAAAAAAAAAAA" /> <listcell label="FFFFFFFFFFFFF" /> <listcell label="CCCCCCCCCC" /> <listcell label="AAAAAAAA" /> <listcell label="AAAAA" /> <listcell label="AAAAA" /> <listcell label="AAAAA" /> </listitem> </listbox> </zk>

Font Awesome 4.3

Font awesome has been upgraded to version 4.3 in the zk8, but with atltantic theme the new icons doesn't work.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.