DataModelsSource.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /*
  2. * This source file is part of RmlUi, the HTML/CSS Interface Middleware
  3. *
  4. * For the latest information, see http://github.com/mikke89/RmlUi
  5. *
  6. * Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd
  7. * Copyright (c) 2019-2023 The RmlUi Team, and contributors
  8. *
  9. * Permission is hereby granted, free of charge, to any person obtaining a copy
  10. * of this software and associated documentation files (the "Software"), to deal
  11. * in the Software without restriction, including without limitation the rights
  12. * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  13. * copies of the Software, and to permit persons to whom the Software is
  14. * furnished to do so, subject to the following conditions:
  15. *
  16. * The above copyright notice and this permission notice shall be included in
  17. * all copies or substantial portions of the Software.
  18. *
  19. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  20. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  21. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  22. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  23. * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  24. * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  25. * THE SOFTWARE.
  26. *
  27. */
  28. static const char* data_models_rcss = R"RCSS(
  29. body {
  30. width: 320dp;
  31. min-width: 320dp;
  32. margin-top: 52dp;
  33. margin-right: 30dp;
  34. margin-left: auto;
  35. }
  36. div#content {
  37. height: auto;
  38. min-height: 200dp;
  39. max-height: 650dp;
  40. }
  41. div#content div h2 {
  42. padding-left: 5dp;
  43. }
  44. div#content div div
  45. {
  46. font-size: 12dp;
  47. padding-left: 10dp;
  48. }
  49. div#content .name {
  50. color: #610;
  51. }
  52. scrollbarvertical {
  53. scrollbar-margin: 0px;
  54. }
  55. )RCSS";
  56. static const char* data_models_rml = R"RML(
  57. <h1>
  58. <handle id="position_handle" move_target="#document"/>
  59. <div id="close_button">X</div>
  60. <div id="title-content">Data Models</div>
  61. </h1>
  62. <div id="content">
  63. <div id="models">
  64. <h2>Data models</h2>
  65. <div id="models-content"></div>
  66. </div>
  67. <div id="variables">
  68. <h2>Data variables</h2>
  69. <div id="variables-content"></div>
  70. </div>
  71. </div>
  72. )RML";