aboutsummaryrefslogtreecommitdiffstats
path: root/demo/components/tiles-generic.html
diff options
context:
space:
mode:
authorIsrael Lavi <israel.lavi@intl.att.com>2018-05-21 17:42:00 +0300
committerIsrael Lavi <il0695@att.com>2018-05-21 17:52:01 +0300
commit1994c98063c27a41797dec01f2ca9fcbe33ceab0 (patch)
treef30beeaf15a8358f6da78fdd74bcbda74bd334f8 /demo/components/tiles-generic.html
parent4749f4631426fcbe29ed98cef8f24cab18b501d0 (diff)
init commit onap ui
Change-Id: I1dace78817dbba752c550c182dfea118b4a38646 Issue-ID: SDC-1350 Signed-off-by: Israel Lavi <il0695@att.com>
Diffstat (limited to 'demo/components/tiles-generic.html')
-rw-r--r--demo/components/tiles-generic.html106
1 files changed, 106 insertions, 0 deletions
diff --git a/demo/components/tiles-generic.html b/demo/components/tiles-generic.html
new file mode 100644
index 0000000..3d03909
--- /dev/null
+++ b/demo/components/tiles-generic.html
@@ -0,0 +1,106 @@
+<div class='component'>Tiles Generic</div>
+<p>
+ Tile do not have size, you can define the size in the wrapping container, or adding them
+ to css in your project.
+ <br><b>Note:</b> specific tiles like sdc-tile-catalog has specifc width & height.
+ <br>Tiles content has overflow auto, so if the content overflow a scroll will appear.
+</p>
+
+<h3>Basic tile</h3>
+<p>Tile without width or height</p>
+<div class="sdc-tile" data-code>
+ <div class='sdc-tile-content'>
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec volutpat, lorem at vulputate sollicitudin, neque magna hendrerit diam, nec sagittis eros libero ut dolor. Donec tincidunt, elit nec vestibulum tristique, nulla tellus aliquam eros, at rutrum massa purus quis ipsum. In aliquet non augue quis condimentum. Praesent efficitur tellus quis mauris auctor, vel semper erat vulputate. Mauris rhoncus nunc et ante dapibus, id luctus urna sodales. Proin eu augue efficitur ligula tincidunt placerat. Suspendisse potenti.
+ </div>
+</div>
+
+<h3>Tile with header & footer</h3>
+<p>
+ <b>Note:</b> The background-color is just for showing header, content & footer sections.
+ This is done using inline styles which should not be included in the final component.
+ <br>The content will resize automaticly his height.
+</p>
+<div class="sdc-tile" data-code>
+ <div class="sdc-tile-header" style="background-color: #EEEEEE;">top</div>
+ <div class='sdc-tile-content' style="background-color: #CCCCCC;">
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec volutpat, lorem at vulputate sollicitudin, neque magna hendrerit diam, nec sagittis eros libero ut dolor. Donec tincidunt, elit nec vestibulum tristique, nulla tellus aliquam eros, at rutrum massa purus quis ipsum. In aliquet non augue quis condimentum. Praesent efficitur tellus quis mauris auctor, vel semper erat vulputate. Mauris rhoncus nunc et ante dapibus, id luctus urna sodales. Proin eu augue efficitur ligula tincidunt placerat. Suspendisse potenti.
+ </div>
+ <div class='sdc-tile-footer' style="background-color: #EEEEEE;">footer</div>
+</div>
+
+<h3>Catalog tile (VSP)</h3>
+<p>
+ Specific tile of SDC.
+ <br><b>Note:</b> The differences betweeb the tiles is the color (diffrent class) and the icons.
+ The div with class='sdc-tile-content-info-vendor-name' is not needed in the second tile.
+</p>
+
+<div class='sdc-tile-showcase-tiles'>
+
+ <div class="sdc-tile-catalog sdc-tile-fix-width" data-code-id='catalog-sample'>
+ <div class="sdc-tile-header">
+ <div class='sdc-tile-header-type blue'>
+ vsp
+ </div>
+ </div>
+ <div class='sdc-tile-content'>
+ <div class='sdc-tile-content-icon'>
+ <svg class="svg-icon blue">
+ <use href="./gen/assets/icons/vsp.svg#vsp_icon" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="./assets/icons/vsp.svg#vsp_icon"></use>
+ </svg>
+ </div>
+ <div class='sdc-tile-content-info'>
+ <div class="sdc-tile-content-info-vendor-name">vlm</div>
+ <div class="sdc-tile-content-info-item-name">lilach vsp</div>
+ <div class="sdc-tile-content-info-version-info">
+ <div class="sdc-tile-content-info-version-info-text" data-test-id="sdc-catalog-item-version">V 0.1</div>
+ </div>
+ </div>
+ </div>
+ <div class='sdc-tile-footer'>
+ <div class='sdc-tile-footer-text'>
+ Footer text
+ </div>
+ <div class='sdc-tile-footer-icon'>
+ <svg class="svg-icon unlocked black">
+ <use href="./gen/assets/icons/unlocked.svg#unlocked_icon" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="./assets/icons/unlocked.svg#unlocked_icon"></use>
+ </svg>
+ </div>
+ </div>
+ </div>
+
+ <div class="sdc-tile-catalog sdc-tile-fix-width sdc-code">
+ <div class="sdc-tile-header">
+ <div class='sdc-tile-header-type purple'>
+ vlm
+ </div>
+ </div>
+ <div class='sdc-tile-content'>
+ <div class='sdc-tile-content-icon'>
+ <svg class="svg-icon purple">
+ <use href="./gen/assets/icons/vsp.svg#vsp_icon" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="./assets/icons/vsp.svg#vsp_icon"></use>
+ </svg>
+ </div>
+ <div class='sdc-tile-content-info'>
+ <div class="sdc-tile-content-info-item-name">vlm</div>
+ <div class="sdc-tile-content-info-version-info">
+ <div class="sdc-tile-content-info-version-info-text" data-test-id="sdc-catalog-item-version">V 0.1</div>
+ </div>
+ </div>
+ </div>
+ <div class='sdc-tile-footer'>
+ <div class='sdc-tile-footer-text'>
+ Footer text
+ </div>
+ <div class='sdc-tile-footer-icon'>
+ <svg class="svg-icon unlocked black">
+ <use href="./gen/assets/icons/locked.svg#locked_icon" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="./assets/icons/locked.svg#locked_icon"></use>
+ </svg>
+ </div>
+ </div>
+ </div>
+
+</div>
+
+<div data-code-ref='catalog-sample'></div>
+