Created
October 27, 2020 10:45
-
-
Save manuelbordallo/c21610c2f573bb72f61f88b523375f41 to your computer and use it in GitHub Desktop.
// source https://jsbin.com
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
| <meta charset="utf-8"> | |
| <title>Proveedores</title> | |
| <script | |
| src="https://sapui5.hana.ondemand.com/resources/sap-ui-core.js" | |
| id="sap-ui-bootstrap" | |
| data-sap-ui-compatVersion='edge' | |
| data-sap-ui-bindingSyntax='complex' | |
| data-sap-ui-theme="sap_bluecrystal" | |
| data-sap-ui-libs="sap.m"></script> | |
| <script id="view1" type="sapui5/xmlview"> | |
| <mvc:View controllerName="myView.Template" xmlns:mvc="sap.ui.core.mvc" xmlns="sap.m" xmlns:table="sap.ui.table" xmlns:core="sap.ui.core"> | |
| <App> | |
| <pages> | |
| <Page title="{i18n>title}" class="zPage"> | |
| <content> | |
| </content> | |
| </Page> | |
| </pages> | |
| </App> | |
| </mvc:View> | |
| </script> | |
| <style id="jsbin-css"> | |
| .zPage .zTable .sapUiTableCellInner { | |
| padding: 0; | |
| } | |
| .zPage .zTable .zCell { | |
| margin: 0; | |
| height: 48px; | |
| } | |
| .zPage .zTable .zCell .sapMInputBaseContentWrapper { | |
| border: 0; | |
| } | |
| </style> | |
| </head> | |
| <body class='sapUiBody'> | |
| <div id='content'></div> | |
| <script id="jsbin-javascript"> | |
| // Controller definition | |
| sap.ui.define([ | |
| 'jquery.sap.global', | |
| 'sap/ui/core/mvc/Controller', | |
| 'sap/ui/model/json/JSONModel' | |
| ], function(jQuery, Controller, JSONModel) { | |
| "use strict"; | |
| var Controller = Controller.extend("myView.Template", { | |
| onInit: function(oEvent) { | |
| } | |
| }); | |
| return Controller; | |
| }); | |
| var oView = sap.ui.xmlview({ | |
| viewContent: jQuery('#view1').html() | |
| }); | |
| oView.placeAt('content'); | |
| </script> | |
| <script id="jsbin-source-html" type="text/html"><!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
| <meta charset="utf-8"> | |
| <title>Proveedores</title> | |
| <script | |
| src="https://sapui5.hana.ondemand.com/resources/sap-ui-core.js" | |
| id="sap-ui-bootstrap" | |
| data-sap-ui-compatVersion='edge' | |
| data-sap-ui-bindingSyntax='complex' | |
| data-sap-ui-theme="sap_bluecrystal" | |
| data-sap-ui-libs="sap.m"><\/script> | |
| <script id="view1" type="sapui5/xmlview"> | |
| <mvc:View controllerName="myView.Template" xmlns:mvc="sap.ui.core.mvc" xmlns="sap.m" xmlns:table="sap.ui.table" xmlns:core="sap.ui.core"> | |
| <App> | |
| <pages> | |
| <Page title="{i18n>title}" class="zPage"> | |
| <content> | |
| </content> | |
| </Page> | |
| </pages> | |
| </App> | |
| </mvc:View> | |
| <\/script> | |
| </head> | |
| <body class='sapUiBody'> | |
| <div id='content'></div> | |
| </body> | |
| </html> | |
| </script> | |
| <script id="jsbin-source-css" type="text/css">.zPage .zTable .sapUiTableCellInner { | |
| padding: 0; | |
| } | |
| .zPage .zTable .zCell { | |
| margin: 0; | |
| height: 48px; | |
| } | |
| .zPage .zTable .zCell .sapMInputBaseContentWrapper { | |
| border: 0; | |
| }</script> | |
| <script id="jsbin-source-javascript" type="text/javascript">// Controller definition | |
| sap.ui.define([ | |
| 'jquery.sap.global', | |
| 'sap/ui/core/mvc/Controller', | |
| 'sap/ui/model/json/JSONModel' | |
| ], function(jQuery, Controller, JSONModel) { | |
| "use strict"; | |
| var Controller = Controller.extend("myView.Template", { | |
| onInit: function(oEvent) { | |
| } | |
| }); | |
| return Controller; | |
| }); | |
| var oView = sap.ui.xmlview({ | |
| viewContent: jQuery('#view1').html() | |
| }); | |
| oView.placeAt('content');</script></body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .zPage .zTable .sapUiTableCellInner { | |
| padding: 0; | |
| } | |
| .zPage .zTable .zCell { | |
| margin: 0; | |
| height: 48px; | |
| } | |
| .zPage .zTable .zCell .sapMInputBaseContentWrapper { | |
| border: 0; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Controller definition | |
| sap.ui.define([ | |
| 'jquery.sap.global', | |
| 'sap/ui/core/mvc/Controller', | |
| 'sap/ui/model/json/JSONModel' | |
| ], function(jQuery, Controller, JSONModel) { | |
| "use strict"; | |
| var Controller = Controller.extend("myView.Template", { | |
| onInit: function(oEvent) { | |
| } | |
| }); | |
| return Controller; | |
| }); | |
| var oView = sap.ui.xmlview({ | |
| viewContent: jQuery('#view1').html() | |
| }); | |
| oView.placeAt('content'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment