css, design and repo url (#124)

* css styles

* index.html
This commit is contained in:
oblomov 2023-03-24 12:34:40 +01:00
parent fe09a02452
commit fd16c08826

View File

@ -9,6 +9,8 @@ CLASS z2ui5_cl_http_handler DEFINITION
BEGIN OF cs_config, BEGIN OF cs_config,
theme TYPE string VALUE 'sap_horizon', theme TYPE string VALUE 'sap_horizon',
browser_title TYPE string VALUE 'abap2UI5', browser_title TYPE string VALUE 'abap2UI5',
" choose your ui5 library/license here, see sap note 3207822 and 2943781
" 'resources/sap-ui-core.js' or '/sap/public/bc/ui5_ui5/resources/sap-ui-core.js',
repository TYPE string VALUE 'https://ui5.sap.com/resources/sap-ui-core.js', repository TYPE string VALUE 'https://ui5.sap.com/resources/sap-ui-core.js',
letterboxing TYPE abap_bool VALUE abap_true, letterboxing TYPE abap_bool VALUE abap_true,
check_debug_mode TYPE abap_bool VALUE abap_true, check_debug_mode TYPE abap_bool VALUE abap_true,
@ -106,15 +108,22 @@ CLASS z2ui5_cl_http_handler IMPLEMENTATION.
r_result = `<html>` && |\n| && r_result = `<html>` && |\n| &&
`<head>` && |\n| && `<head>` && |\n| &&
` <meta charset="utf-8">` && |\n| && ` <meta charset="UTF-8">` && |\n| &&
` <meta name="viewport" content="width=device-width, initial-scale=1.0">` && |\n| &&
` <meta http-equiv="X-UA-Compatible" content="IE=edge">` && |\n| &&
` <title>` && cs_config-browser_title && `</title>` && |\n| && ` <title>` && cs_config-browser_title && `</title>` && |\n| &&
` <style>` && |\n| &&
` html, body, body > div, #container, #container-uiarea {` && |\n| &&
` height: 100%;` && |\n| &&
` }` && |\n| &&
` </style> ` &&
` <script src="` && cs_config-repository && `" ` && ` <script src="` && cs_config-repository && `" ` &&
` id="sap-ui-bootstrap" data-sap-ui-theme="` && cs_config-theme && `"` && |\n| && ` id="sap-ui-bootstrap" data-sap-ui-theme="` && cs_config-theme && `"` && |\n| &&
` data-sap-ui-libs="sap.m" data-sap-ui-bindingSyntax="complex" data-sap-ui-compatVersion="edge"` && |\n| && ` data-sap-ui-libs="sap.m" data-sap-ui-bindingSyntax="complex" data-sap-ui-frameOptions="trusted" data-sap-ui-compatVersion="edge"` && |\n| &&
` data-sap-ui-preload="async">` && |\n| && ` >` && |\n| &&
` </script></head>` && |\n| && ` </script></head>` && |\n| &&
`<body class="sapUiBody">` && |\n| && `<body class="sapUiBody sapUiSizeCompact" >` && |\n| &&
` <div id="content"></div>` && |\n| && ` <div id="content" data-handle-validation="true" ></div>` && |\n| &&
`</body>` && |\n| && `</body>` && |\n| &&
`</html>` && |\n|. `</html>` && |\n|.