From de7fddb551e2c3e199caf319475775552517ea38 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Mon, 15 Feb 2016 16:40:51 +0100 Subject: [PATCH] More initial files from addressbook-war (basicly almost all as this application needs address books. --- web/admin/admin_index.xhtml | 23 +++ web/admin/admin_logout.xhtml | 20 ++ web/bye.xhtml | 20 ++ web/imprint.xhtml | 20 ++ web/login/login_add_addressbook.xhtml | 43 +++++ web/login/login_edit_address.xhtml | 20 ++ web/login/login_edit_user_data.xhtml | 20 ++ web/login/login_index.xhtml | 20 ++ .../login_list_sharing_addressbooks.xhtml | 33 ++++ web/login/login_other_addressbooks.xhtml | 20 ++ web/login/login_own_addressbooks.xhtml | 65 +++++++ web/login/login_shared_addressbooks.xhtml | 59 ++++++ .../login_start_sharing_addressbook.xhtml | 60 ++++++ web/privacy.xhtml | 20 ++ web/resources/css/cssLayout.css | 175 ++++++++++++++++++ web/resources/css/default.css | 31 ++++ web/terms.xhtml | 20 ++ web/user/login.xhtml | 31 ++++ web/user/login_error.xhtml | 21 +++ web/user/lost_passwd.xhtml | 66 +++++++ web/user/register.xhtml | 28 +++ web/user/register_done.xhtml | 28 +++ web/user/resend_link.xhtml | 20 ++ web/user/show_addressbook.xhtml | 60 ++++++ web/user/show_addressbook_entries.xhtml | 20 ++ web/user/user_list.xhtml | 54 ++++++ web/user/user_profile.xhtml | 46 +++++ 27 files changed, 1043 insertions(+) create mode 100644 web/admin/admin_index.xhtml create mode 100644 web/admin/admin_logout.xhtml create mode 100644 web/bye.xhtml create mode 100644 web/imprint.xhtml create mode 100644 web/login/login_add_addressbook.xhtml create mode 100644 web/login/login_edit_address.xhtml create mode 100644 web/login/login_edit_user_data.xhtml create mode 100644 web/login/login_index.xhtml create mode 100644 web/login/login_list_sharing_addressbooks.xhtml create mode 100644 web/login/login_other_addressbooks.xhtml create mode 100644 web/login/login_own_addressbooks.xhtml create mode 100644 web/login/login_shared_addressbooks.xhtml create mode 100644 web/login/login_start_sharing_addressbook.xhtml create mode 100644 web/privacy.xhtml create mode 100644 web/resources/css/cssLayout.css create mode 100644 web/resources/css/default.css create mode 100644 web/terms.xhtml create mode 100644 web/user/login.xhtml create mode 100644 web/user/login_error.xhtml create mode 100644 web/user/lost_passwd.xhtml create mode 100644 web/user/register.xhtml create mode 100644 web/user/register_done.xhtml create mode 100644 web/user/resend_link.xhtml create mode 100644 web/user/show_addressbook.xhtml create mode 100644 web/user/show_addressbook_entries.xhtml create mode 100644 web/user/user_list.xhtml create mode 100644 web/user/user_profile.xhtml diff --git a/web/admin/admin_index.xhtml b/web/admin/admin_index.xhtml new file mode 100644 index 00000000..66ce3acb --- /dev/null +++ b/web/admin/admin_index.xhtml @@ -0,0 +1,23 @@ + + + + + + #{msg.PAGE_TITLE_ADMIN_WELCOME} + + + #{msg.CONTENT_TITLE_ADMIN_WELCOME} + + + + + Einiges kann hier eingestellt werden. + + + diff --git a/web/admin/admin_logout.xhtml b/web/admin/admin_logout.xhtml new file mode 100644 index 00000000..764f7f34 --- /dev/null +++ b/web/admin/admin_logout.xhtml @@ -0,0 +1,20 @@ + + + + + + #{msg.PAGE_TITLE_ADMIN_LOGOUT} + + + #{msg.CONTENT_TITLE_ADMIN_LOGOUT} + + + + Offenes TODO. + + + diff --git a/web/bye.xhtml b/web/bye.xhtml new file mode 100644 index 00000000..e8f4fa13 --- /dev/null +++ b/web/bye.xhtml @@ -0,0 +1,20 @@ + + + + + + #{msg.PAGE_TITLE_INDEX_FOO} + + + #{msg.CONTENT_TITLE_INDEX_FOO} + + + + Here goes your content. + + + diff --git a/web/imprint.xhtml b/web/imprint.xhtml new file mode 100644 index 00000000..e5cd5715 --- /dev/null +++ b/web/imprint.xhtml @@ -0,0 +1,20 @@ + + + + + + #{msg.PAGE_TITLE_INDEX_IMPRINT} + + + #{msg.CONTENT_TITLE_INDEX_IMPRINT} + + + + TODO: Hier kommt das Impressum hin! + + + diff --git a/web/login/login_add_addressbook.xhtml b/web/login/login_add_addressbook.xhtml new file mode 100644 index 00000000..30f86daf --- /dev/null +++ b/web/login/login_add_addressbook.xhtml @@ -0,0 +1,43 @@ + + + + + + #{msg.PAGE_TITLE_LOGIN_ADD_ADDRESSBOOK} + + + #{msg.CONTENT_TITLE_LOGIN_ADD_ADDRESSBOOK} + + + + +
+
+ #{msg.FORM_LOGIN_ADD_ADDRESSBOOK_TITLE} +
+ +
+
+ +
+ +
+ + + +
+
+ + +
+
+
+
+ diff --git a/web/login/login_edit_address.xhtml b/web/login/login_edit_address.xhtml new file mode 100644 index 00000000..933c603e --- /dev/null +++ b/web/login/login_edit_address.xhtml @@ -0,0 +1,20 @@ + + + + + + #{msg.PAGE_TITLE_LOGIN_EDIT_ADDRESS} + + + #{msg.CONTENT_TITLE_LOGIN_EDIT_ADDRESS} + + + + Here goes your content. + + + diff --git a/web/login/login_edit_user_data.xhtml b/web/login/login_edit_user_data.xhtml new file mode 100644 index 00000000..638011b8 --- /dev/null +++ b/web/login/login_edit_user_data.xhtml @@ -0,0 +1,20 @@ + + + + + + #{msg.PAGE_TITLE_LOGIN_EDIT_USER_DATA} + + + #{msg.CONTENT_TITLE_LOGIN_EDIT_USER_DATA} + + + + Here goes your content. + + + diff --git a/web/login/login_index.xhtml b/web/login/login_index.xhtml new file mode 100644 index 00000000..774ab626 --- /dev/null +++ b/web/login/login_index.xhtml @@ -0,0 +1,20 @@ + + + + + + #{msg.PAGE_TITLE_LOGIN_HOME} + + + #{msg.CONTENT_TITLE_LOGIN_HOME} + + + + Here goes your content. + + + diff --git a/web/login/login_list_sharing_addressbooks.xhtml b/web/login/login_list_sharing_addressbooks.xhtml new file mode 100644 index 00000000..471a1f18 --- /dev/null +++ b/web/login/login_list_sharing_addressbooks.xhtml @@ -0,0 +1,33 @@ + + + + + + + + + + + + + #{msg.PAGE_TITLE_LOGIN_LIST_SHARING_ADDRESSBOOKS} + + + #{msg.CONTENT_TITLE_LOGIN_LIST_SHARING_ADDRESSBOOKS} + + + + + Here goes your content. + + + + + + + + diff --git a/web/login/login_other_addressbooks.xhtml b/web/login/login_other_addressbooks.xhtml new file mode 100644 index 00000000..562c55ae --- /dev/null +++ b/web/login/login_other_addressbooks.xhtml @@ -0,0 +1,20 @@ + + + + + + #{msg.PAGE_TITLE_LOGIN_OTHER_ADDRESSBOOKS} + + + #{msg.CONTENT_TITLE_LOGIN_OTHER_ADDRESSBOOKS} + + + + Here goes your content. + + + diff --git a/web/login/login_own_addressbooks.xhtml b/web/login/login_own_addressbooks.xhtml new file mode 100644 index 00000000..7fe3565e --- /dev/null +++ b/web/login/login_own_addressbooks.xhtml @@ -0,0 +1,65 @@ + + + + + + #{msg.PAGE_TITLE_LOGIN_OWN_ADDRESSBOOKS} + + + #{msg.CONTENT_TITLE_LOGIN_OWN_ADDRESSBOOKS} + + + +
+
+ #{msg.TABLE_HEADER_LIST_OWN_ADDRESSBOOKS} +
+ +
+ + + #{msg.ADDRESSBOOK_ID} + + + + + + #{msg.ADDRESSBOOK_NAME} + + + + + + + + + #{msg.ADDRESSBOOK_TOTAL_ENTRIES} + + + + + + + + + #{msg.ADDRESSBOOK_CREATED} + + + + + + +
+ + +
+
+
+ diff --git a/web/login/login_shared_addressbooks.xhtml b/web/login/login_shared_addressbooks.xhtml new file mode 100644 index 00000000..e531374f --- /dev/null +++ b/web/login/login_shared_addressbooks.xhtml @@ -0,0 +1,59 @@ + + + + + + #{msg.PAGE_TITLE_LOGIN_SHARED_ADDRESSBOOKS} + + + #{msg.CONTENT_TITLE_LOGIN_SHARED_ADDRESSBOOKS} + + + +
+
+ #{msg.LOGIN_TABLE_HEADER_SHARED_ADDRESSBOOKS} +
+ +
+ + + + + #{msg.SHARED_ADDRESSBOOK} + + + + + + + + + #{msg.SHAREE_USER_NAME} + + + + + #{msg.SHARE_CREATED} + + + + + +
+ +
+ +
+ + +
+
+
+ diff --git a/web/login/login_start_sharing_addressbook.xhtml b/web/login/login_start_sharing_addressbook.xhtml new file mode 100644 index 00000000..f86110d8 --- /dev/null +++ b/web/login/login_start_sharing_addressbook.xhtml @@ -0,0 +1,60 @@ + + + + + + #{msg.PAGE_TITLE_LOGIN_START_SHARING_ADDRESSBOOK} + + + #{msg.CONTENT_TITLE_LOGIN_START_SHARING_ADDRESSBOOK} + + + +
+ +
+ #{msg.TABLE_HEADER_CHOOSE_USER_FOR_SHARING} +
+ +
+ + + + + + #{msg.USER_ID} + + + + + #{msg.USER_NAME} + + + + + #{msg.LOGIN_START_SHARING_TITLE} + + + + + + + + + +
+ + +
+
+
+ diff --git a/web/privacy.xhtml b/web/privacy.xhtml new file mode 100644 index 00000000..235c0e64 --- /dev/null +++ b/web/privacy.xhtml @@ -0,0 +1,20 @@ + + + + + + #{msg.PAGE_TITLE_INDEX_PRIVACY} + + + #{msg.CONTENT_TITLE_INDEX_PRIVACY} + + + + Hier kommen die Datenschutzbestimmungen hin. + + + diff --git a/web/resources/css/cssLayout.css b/web/resources/css/cssLayout.css new file mode 100644 index 00000000..eb81f7e8 --- /dev/null +++ b/web/resources/css/cssLayout.css @@ -0,0 +1,175 @@ +/** +div, table { + border: 1px solid #ff0000; +} +/**/ + +#top { + position: relative; + background-color: #036fab; + color: #ffffff; + padding: 5px; + margin: 0px 0px 10px 0px; +} + +#footer { + position: relative; + background-color: #c2dfef; + padding: 5px; + margin: 10px 0px 0px 0px; +} + +#left { + float: left; + background-color: #ece3a5; + padding: 5px; + width: 150px; +} + +#right { + float: right; + background-color: #ece3a5; + padding: 5px; + width: 150px; +} + +.center_content { + position: relative; + background-color: #dddddd; + padding: 5px; +} + +.left_content { + padding: 5px; + margin-left: 170px; +} + +#top a:link, #top a:visited { + color: #ffffff; + font-weight : bold; + text-decoration: none; +} + +#top a:link:hover, #top a:visited:hover { + color: #000000; + font-weight : bold; + text-decoration : underline; +} + +table, .table { + margin: 0px; + padding: 0px; +} + +.table { + width: 500px; +} + +.table_big { + width: 100%; +} + +.table_row { + width: 100%; + min-height: 20px; +} + +.table_left { + width: 250px; + min-height: 20px; + float: left; +} + +.table_right { + width: 200px; + min-height: 20px; + float: right; +} + +.table_left25 { + width: 20px; + min-height: 20px; + float: left; +} + +.table_right75 { + width: 430px; + min-height: 20px; + float: right; +} + +.para { + padding: 5px 5px 5px 5px; +} + +.clear { + clear: both; +} + +ul.footer_nav { + text-align: center; + /*width : 95%;*/ + list-style: none; + margin: 0px; +} + +ul.footer_nav li.footer_link { + float: left; + width: 100px; +} + +ul.footer_nav li.footer_copyright { + float: right; + width: 300px; + margin-right: 10px; +} + +.menu ul { + list-style: none; + padding-left: 5px; +} + +.table_header, .table_label { + text-align: center; + font-weight: bold; +} + +#content_header { + background-color: #dddddd; + font-weight: bold; + font-size: 18px; + margin-bottom: 20px; +} + +.table_header_column { + width: 100px; +} + +.table_header_column25 { + width: 25%; +} + +.table_data_column { + width: 100px; +} + +.item_price, .item_total_price { + text-align: right; +} + +.errors { + color: red; +} + +.fatals { + color: red; + font-weight: bold; +} + +.infos { + color: cornflowerblue; +} + +.warnings { + color: gold; +} diff --git a/web/resources/css/default.css b/web/resources/css/default.css new file mode 100644 index 00000000..7b8fe859 --- /dev/null +++ b/web/resources/css/default.css @@ -0,0 +1,31 @@ +body { + background-color: #ffffff; + font-size: 12px; + font-family: sans-serif; + color: #000000; + margin: 10px; +} + +h1 { + border-bottom: 1px solid #AFAFAF; + font-size: 16px; + font-weight: bold; + margin: 0px; + padding: 0px; +} + +a:link, a:visited { + color: #045491; + font-weight : bold; + text-decoration: none; +} + +a:link:hover, a:visited:hover { + color: #045491; + font-weight : bold; + text-decoration : underline; +} + +label { + vertical-align: middle; +} diff --git a/web/terms.xhtml b/web/terms.xhtml new file mode 100644 index 00000000..ba7d66db --- /dev/null +++ b/web/terms.xhtml @@ -0,0 +1,20 @@ + + + + + + #{msg.PAGE_TITLE_INDEX_TERMS} + + + #{msg.CONTENT_TITLE_INDEX_TERMS} + + + + Hier kommen die allgemeinen Geschäftsbedingungen hin. + + + diff --git a/web/user/login.xhtml b/web/user/login.xhtml new file mode 100644 index 00000000..7f4a55a8 --- /dev/null +++ b/web/user/login.xhtml @@ -0,0 +1,31 @@ + + + + + + #{msg.PAGE_TITLE_USER_LOGIN} + + + #{msg.CONTENT_TITLE_USER_LOGIN} + + + +
+ + Noch kein Benutzerkonto? Einfach hier anmelden. +
+ +
+
+ +
+ +
+
+
+ diff --git a/web/user/login_error.xhtml b/web/user/login_error.xhtml new file mode 100644 index 00000000..3c81b0a6 --- /dev/null +++ b/web/user/login_error.xhtml @@ -0,0 +1,21 @@ + + + + + + #{msg.PAGE_TITLE_USER_LOGIN_ERROR} + + + #{msg.CONTENT_TITLE_USER_LOGIN_ERROR} + + + + Hier kommt die Fehlermeldung hin. + + + diff --git a/web/user/lost_passwd.xhtml b/web/user/lost_passwd.xhtml new file mode 100644 index 00000000..0fbc9e65 --- /dev/null +++ b/web/user/lost_passwd.xhtml @@ -0,0 +1,66 @@ + + + + + + #{msg.PAGE_TITLE_USER_LOST_PASSWORD} + + + #{msg.CONTENT_TITLE_USER_LOST_PASSWORD} + + + +
+ +
+
+ #{msg.GUEST_LOST_PASSWORD_TITLE} +
+ +
+ #{msg.GUEST_LOST_PASSWORD_LEGEND} + +
+
+ +
+ +
+ +
+ +
+
+ +
+ #{msg.GUEST_LOST_PASSWORD_NUMBER_OR_EMAIL} +
+ +
+
+ +
+ +
+ +
+ +
+
+ +
+ + +
+
+
+
+
+ diff --git a/web/user/register.xhtml b/web/user/register.xhtml new file mode 100644 index 00000000..bc6d5120 --- /dev/null +++ b/web/user/register.xhtml @@ -0,0 +1,28 @@ + + + + + + #{msg.PAGE_TITLE_USER_REGISTER} + + + #{msg.CONTENT_TITLE_USER_REGISTER} + + + +
+ #{msg.GUEST_ALREADY_USER_CONTINUE_LOGIN_1} + + #{msg.GUEST_ALREADY_USER_CONTINUE_LOGIN_2} +
+ +
+ +
+
+
+ diff --git a/web/user/register_done.xhtml b/web/user/register_done.xhtml new file mode 100644 index 00000000..18b2d493 --- /dev/null +++ b/web/user/register_done.xhtml @@ -0,0 +1,28 @@ + + + + + + #{msg.PAGE_TITLE_USER_REGISTER_DONE} + + + #{msg.CONTENT_TITLE_USER_REGISTER_DONE} + + + +
+ #{msg.GUEST_USER_REGISTRATION_COMPLETED} +
+ +
+ + + +
+
+
+ diff --git a/web/user/resend_link.xhtml b/web/user/resend_link.xhtml new file mode 100644 index 00000000..40304242 --- /dev/null +++ b/web/user/resend_link.xhtml @@ -0,0 +1,20 @@ + + + + + + #{msg.PAGE_TITLE_INDEX_RESEND_LINK} + + + #{msg.CONTENT_TITLE_INDEX_RESEND_LINK} + + + + Here goes your content. + + + diff --git a/web/user/show_addressbook.xhtml b/web/user/show_addressbook.xhtml new file mode 100644 index 00000000..7000aaed --- /dev/null +++ b/web/user/show_addressbook.xhtml @@ -0,0 +1,60 @@ + + + + + + + + + + + + + #{msg.PAGE_TITLE_USER_SHOW_ADDRESSBOOK} + #{msg.PAGE_TITLE_INDEX_SHOW_ADDRESSBOOK} + + + #{msg.CONTENT_TITLE_USER_SHOW_ADDRESSBOOK} + + + + + + + #{msg.TABLE_HEADER_SHOW_ADDRESSBOOK} + + #{msg.ADDRESSBOOK_ID} + + + #{msg.ADDRESSBOOK_NAME} + + + #{msg.ADDRESSBOOK_OWNER} + + + #{msg.ADDRESSBOOK_CREATED} + + + + + #{msg.ADDRESSBOOK_STATUS} + + + + + + + + + + + + + + + + diff --git a/web/user/show_addressbook_entries.xhtml b/web/user/show_addressbook_entries.xhtml new file mode 100644 index 00000000..e4cb5aee --- /dev/null +++ b/web/user/show_addressbook_entries.xhtml @@ -0,0 +1,20 @@ + + + + + + #{msg.PAGE_TITLE_USER_SHOW_ADDRESSBOOK_ENTRIES} + + + #{msg.CONTENT_TITLE_USER_SHOW_ADDRESSBOOK_ENTRIES} + + + + Here goes your content. + + + diff --git a/web/user/user_list.xhtml b/web/user/user_list.xhtml new file mode 100644 index 00000000..12f18f92 --- /dev/null +++ b/web/user/user_list.xhtml @@ -0,0 +1,54 @@ + + + + + + #{msg.PAGE_TITLE_USER_LIST} + + + #{msg.CONTENT_TITLE_USER_LIST} + + + +
+
+ #{msg.TABLE_HEADER_USER_LIST} +
+ + + + + #{msg.USER_ID} + + + + + #{msg.USER_NAME} + + + + + #{msg.USER_CREATED} + + + + + #{msg.USER_LIST_SHARING_ADDRESSBOOKS} + + + + + + + + + + +
+
+
+ diff --git a/web/user/user_profile.xhtml b/web/user/user_profile.xhtml new file mode 100644 index 00000000..6fdf9e8e --- /dev/null +++ b/web/user/user_profile.xhtml @@ -0,0 +1,46 @@ + + + + + + + + + + + + + #{msg.PAGE_TITLE_LOGIN_USER_PROFILE} + #{msg.PAGE_TITLE_INDEX_USER_PROFILE} + + + #{msg.CONTENT_TITLE_INDEX_USER_PROFILE} + + + + + + + + + +
+ + + #{msg.PUBLIC_USER_PROFILE} + + +
+
+ + + #{msg.ERROR_PROFILE_NOT_VISIBLE} + +
+
+
+ -- 2.39.5