aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorseshukm <seshu.kumar.m@huawei.com>2017-01-23 18:46:23 +0530
committerseshukm <seshu.kumar.m@huawei.com>2017-01-23 18:46:23 +0530
commit36f9d0ef8fa62ba431152d97ab7158db88032586 (patch)
treecdab12942828b491f985b11eb212cbadeed69533
parente641b1ab688e84034af7b5b434685076ad8323ab (diff)
Templates for UI framework
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>
-rw-r--r--portal-common/src/main/webapp/framework/browser/templates/accordion.html24
-rw-r--r--portal-common/src/main/webapp/framework/browser/templates/buttons.html37
-rw-r--r--portal-common/src/main/webapp/framework/browser/templates/checkBoxes.html24
-rw-r--r--portal-common/src/main/webapp/framework/browser/templates/courses.html31
4 files changed, 116 insertions, 0 deletions
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
index 00000000..b1917866
--- /dev/null
+++ b/portal-common/src/main/webapp/framework/browser/templates/accordion.html
@@ -0,0 +1,24 @@
+<!--
+
+ 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.
+
+-->
+
+<div id="accordionArea" class="container col-sm-12 col-md-12 col-lg-12" ng-init="init()"><!--ng-if="accordionLoaded()"-->
+ <h4>Accordion</h4>
+ <div class="panel-group" id="accordion"></div>
+ <div class="shortnoteHeader">ShortNote</div>
+ <div class="shortnoteText">{{accordionTipData}}</div>
+</div>
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
index 00000000..017c1137
--- /dev/null
+++ b/portal-common/src/main/webapp/framework/browser/templates/buttons.html
@@ -0,0 +1,37 @@
+<!--
+
+ 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.
+
+-->
+
+<h4>Types of Buttons</h4>
+
+<div id="buttonArea" ng-init="init()">
+ <h3> Default Buttons</h3>
+ <div id="defaultButtonArea"></div>
+ <h3>Visual Buttons</h3>
+ <div id="visualButtonArea"></div>
+ <h3>Different Sized Buttons</h3>
+ <div id="sizeButtonArea"></div>
+ <h3>Icon Buttons</h3>
+ <div id="iconButtonArea"></div>
+
+</div>
+
+<div class="shortnoteHeader">ShortNote</div>
+<div class="shortnoteText">{{buttonTipData}}</div>
+
+
+
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
index 00000000..7fd439a0
--- /dev/null
+++ b/portal-common/src/main/webapp/framework/browser/templates/checkBoxes.html
@@ -0,0 +1,24 @@
+<!--
+
+ 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.
+
+-->
+
+<h4>Checkboxes</h4>
+
+<div id="CheckBoxArea" class="funkyradio" ng-init="init()"></div>
+
+<div class="shortnoteHeader">ShortNote</div>
+<div class="shortnoteText"> {{checkboxTipData}}</div>
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
index 00000000..01e47c3e
--- /dev/null
+++ b/portal-common/src/main/webapp/framework/browser/templates/courses.html
@@ -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>