Templates for UI framework
authorseshukm <seshu.kumar.m@huawei.com>
Mon, 23 Jan 2017 13:16:23 +0000 (18:46 +0530)
committerseshukm <seshu.kumar.m@huawei.com>
Mon, 23 Jan 2017 13:16:23 +0000 (18:46 +0530)
Templates for the Accordion, buttons and check boxes

Issue-Id : CLIENT-136,CLIENT-137,CLIENT-138,CLIENT-139

Change-Id: Id41da3fda86f22a25b93f827cd5348e424971a26
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
portal-common/src/main/webapp/framework/browser/templates/accordion.html [new file with mode: 0644]
portal-common/src/main/webapp/framework/browser/templates/buttons.html [new file with mode: 0644]
portal-common/src/main/webapp/framework/browser/templates/checkBoxes.html [new file with mode: 0644]
portal-common/src/main/webapp/framework/browser/templates/courses.html [new file with mode: 0644]

diff --git a/portal-common/src/main/webapp/framework/browser/templates/accordion.html b/portal-common/src/main/webapp/framework/browser/templates/accordion.html
new file mode 100644 (file)
index 0000000..b191786
--- /dev/null
@@ -0,0 +1,24 @@
+<!--\r
+\r
+    Copyright 2016-2017, Huawei Technologies Co., Ltd.\r
+\r
+    Licensed under the Apache License, Version 2.0 (the "License");\r
+    you may not use this file except in compliance with the License.\r
+    You may obtain a copy of the License at\r
+\r
+            http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+    Unless required by applicable law or agreed to in writing, software\r
+    distributed under the License is distributed on an "AS IS" BASIS,\r
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+    See the License for the specific language governing permissions and\r
+    limitations under the License.\r
+\r
+-->\r
+\r
+<div id="accordionArea" class="container col-sm-12 col-md-12 col-lg-12" ng-init="init()"><!--ng-if="accordionLoaded()"-->\r
+    <h4>Accordion</h4>\r
+    <div class="panel-group" id="accordion"></div>\r
+    <div class="shortnoteHeader">ShortNote</div>\r
+    <div class="shortnoteText">{{accordionTipData}}</div>\r
+</div>\r
diff --git a/portal-common/src/main/webapp/framework/browser/templates/buttons.html b/portal-common/src/main/webapp/framework/browser/templates/buttons.html
new file mode 100644 (file)
index 0000000..017c113
--- /dev/null
@@ -0,0 +1,37 @@
+<!--\r
+\r
+    Copyright 2016-2017, Huawei Technologies Co., Ltd.\r
+\r
+    Licensed under the Apache License, Version 2.0 (the "License");\r
+    you may not use this file except in compliance with the License.\r
+    You may obtain a copy of the License at\r
+\r
+            http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+    Unless required by applicable law or agreed to in writing, software\r
+    distributed under the License is distributed on an "AS IS" BASIS,\r
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+    See the License for the specific language governing permissions and\r
+    limitations under the License.\r
+\r
+-->\r
+\r
+<h4>Types of Buttons</h4>\r
+\r
+<div id="buttonArea" ng-init="init()">\r
+    <h3> Default Buttons</h3>\r
+    <div id="defaultButtonArea"></div>\r
+    <h3>Visual Buttons</h3>\r
+    <div id="visualButtonArea"></div>\r
+    <h3>Different Sized Buttons</h3>\r
+    <div id="sizeButtonArea"></div>\r
+    <h3>Icon Buttons</h3>\r
+    <div id="iconButtonArea"></div>\r
+\r
+</div>\r
+\r
+<div class="shortnoteHeader">ShortNote</div>\r
+<div class="shortnoteText">{{buttonTipData}}</div>\r
+\r
+\r
+\r
diff --git a/portal-common/src/main/webapp/framework/browser/templates/checkBoxes.html b/portal-common/src/main/webapp/framework/browser/templates/checkBoxes.html
new file mode 100644 (file)
index 0000000..7fd439a
--- /dev/null
@@ -0,0 +1,24 @@
+<!--\r
+\r
+    Copyright 2016-2017, Huawei Technologies Co., Ltd.\r
+\r
+    Licensed under the Apache License, Version 2.0 (the "License");\r
+    you may not use this file except in compliance with the License.\r
+    You may obtain a copy of the License at\r
+\r
+            http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+    Unless required by applicable law or agreed to in writing, software\r
+    distributed under the License is distributed on an "AS IS" BASIS,\r
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+    See the License for the specific language governing permissions and\r
+    limitations under the License.\r
+\r
+-->\r
+\r
+<h4>Checkboxes</h4>\r
+\r
+<div id="CheckBoxArea" class="funkyradio" ng-init="init()"></div>\r
+\r
+<div class="shortnoteHeader">ShortNote</div>\r
+<div class="shortnoteText"> {{checkboxTipData}}</div>\r
diff --git a/portal-common/src/main/webapp/framework/browser/templates/courses.html b/portal-common/src/main/webapp/framework/browser/templates/courses.html
new file mode 100644 (file)
index 0000000..01e47c3
--- /dev/null
@@ -0,0 +1,31 @@
+<!--
+
+    Copyright 2016-2017, Huawei Technologies Co., Ltd.
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+            http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+
+<h1>{{message}}</h1>
+<ul  ng-repeat="course in courses | orderBy : course : false">
+    <li>{{course}}</li>
+</ul>
+<button ng-click="showDialog()">Test</button>
+
+<!--<a ui-sref=".list">List</a>
+<a ui-sref=".details">Paragraph</a>
+
+<div ui-view></div>-->
+
+
+<div id="sampleArea" ng-if="subIsLoaded()"></div>