aboutsummaryrefslogtreecommitdiffstats
path: root/portal-common/src
diff options
context:
space:
mode:
authorseshukm <seshu.kumar.m@huawei.com>2017-01-23 18:54:52 +0530
committerseshukm <seshu.kumar.m@huawei.com>2017-01-23 18:54:52 +0530
commit3145d375d7a8789503fa5579c187d8df77f6e05b (patch)
tree50710e2245c826e3e4ac97c9e147bc892044c0b3 /portal-common/src
parenta0aed132441386a68a3f5d2c38ac6986efa2b5fb (diff)
Framework UI templates
radioButton, tabs, vertical tabs, text box, tree.html. Issue-Id : CLIENT-125, CLIENT-126, CLIENT-127 Change-Id: Ib99da16e659a7d42f544fb937726e7517015964f Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
Diffstat (limited to 'portal-common/src')
-rw-r--r--portal-common/src/main/webapp/framework/browser/templates/radioButtons.html25
-rw-r--r--portal-common/src/main/webapp/framework/browser/templates/tabs.html27
-rw-r--r--portal-common/src/main/webapp/framework/browser/templates/textarea.html119
-rw-r--r--portal-common/src/main/webapp/framework/browser/templates/tree.html22
4 files changed, 193 insertions, 0 deletions
diff --git a/portal-common/src/main/webapp/framework/browser/templates/radioButtons.html b/portal-common/src/main/webapp/framework/browser/templates/radioButtons.html
new file mode 100644
index 00000000..f80bd99c
--- /dev/null
+++ b/portal-common/src/main/webapp/framework/browser/templates/radioButtons.html
@@ -0,0 +1,25 @@
+<!--
+
+ 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>Radio Buttons</h4>
+
+<div id="radioBtnArea" ng-init="init()"></div>
+<div class="shortnoteHeader">ShortNote</div>
+<div class="shortnoteText">{{radioTipData}}</div>
+
+
diff --git a/portal-common/src/main/webapp/framework/browser/templates/tabs.html b/portal-common/src/main/webapp/framework/browser/templates/tabs.html
new file mode 100644
index 00000000..a2719182
--- /dev/null
+++ b/portal-common/src/main/webapp/framework/browser/templates/tabs.html
@@ -0,0 +1,27 @@
+<!--
+
+ 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 class="container col-sm-12 col-md-12 col-lg-12">
+ <h4>{{message}}</h4>
+ <div id="tabArea" ng-init="init()"></div>
+
+ <div class="col-sm-12 col-md-12 col-lg-12">
+ <div class="shortnoteHeader">ShortNote</div>
+ <div class="shortnoteText">{{tabTipData}}</div>
+ </div>
+</div> \ No newline at end of file
diff --git a/portal-common/src/main/webapp/framework/browser/templates/textarea.html b/portal-common/src/main/webapp/framework/browser/templates/textarea.html
new file mode 100644
index 00000000..8c01e6dc
--- /dev/null
+++ b/portal-common/src/main/webapp/framework/browser/templates/textarea.html
@@ -0,0 +1,119 @@
+<!--
+
+ 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>Text Area</h4>
+<body>
+<div name="myForm" class="css-form" method="post">
+ <div class="form-group row">
+ <label for="fname" class="col-xs-2 col-form-label">Text</label>
+ <div class="col-xs-10">
+ <div id="fname"></div>
+
+ </div>
+ </div>
+
+ <div class="form-group row">
+ <label for="email" class="col-xs-2 col-form-label">Email</label>
+ <div class="col-xs-10">
+ <div id="email" ></div>
+ </div>
+ </div>
+ <div class="form-group row">
+ <label for="url" class="col-xs-2 col-form-label">URL</label>
+ <div class="col-xs-10">
+ <div id="url"></div>
+ </div>
+ </div>
+ <div class="form-group row">
+ <label for="password" class="col-xs-2 col-form-label">Password</label>
+ <div class="col-xs-10">
+ <div id="password"></div>
+ </div>
+ </div>
+ <div class="form-group row">
+ <label for="numeric" class="col-xs-2 col-form-label">Numeric</label>
+ <div class="col-xs-10">
+ <div id="numeric"></div>
+ </div>
+ </div>
+ <div class="form-group row">
+ <label for="dot" class="col-xs-2 col-form-label">Date and time</label>
+ <div class="col-xs-10">
+ <div id="dot"></div>
+ </div>
+ </div>
+ <div class="form-group row">
+ <label for="dateinput" class="col-xs-2 col-form-label">Date</label>
+ <div class="col-xs-10">
+ <div id="dateinput"></div>
+ </div>
+ </div>
+ <div class="form-group row">
+ <label for="monthinput" class="col-xs-2 col-form-label">Month</label>
+ <div class="col-xs-10">
+ <div id="monthinput"></div>
+ </div>
+ </div>
+ <div class="form-group row">
+ <label for="weekinput" class="col-xs-2 col-form-label">Week</label>
+ <div class="col-xs-10">
+ <div id="weekinput"></div>
+ </div>
+ </div>
+ <div class="form-group row">
+ <label for="timeinput" class="col-xs-2 col-form-label">Time</label>
+ <div class="col-xs-10">
+ <div id="timeinput"></div>
+ </div>
+ </div>
+ <div class="form-group row">
+ <label for="ipv4" class="col-xs-2 col-form-label">IPV4 Address</label>
+ <div class="col-xs-10">
+ <div id="ipv4"></div>
+ </div>
+ </div>
+ <div class="form-group row">
+ <label for="ipv6" class="col-xs-2 col-form-label">IPV6 Address</label>
+ <div class="col-xs-10">
+ <div id="ipv6"></div>
+ </div>
+ </div>
+
+
+ <div class="form-group row">
+ <label for="textarea" class="col-xs-2 col-form-label">Text Area</label>
+ <div class="col-xs-10">
+ <div id="textarea"></div>
+
+ </div>
+ </div>
+
+ <div class="form-group row">
+ <label for="note" class="col-xs-2 col-form-label">Note</label>
+ <div class="col-xs-10">
+ <div id="note">
+ </div>
+
+ </div>
+ </div>
+
+</div>
+<div class="shortnoteHeader">ShortNote</div>
+<div class="shortnoteText">{{toolTipData}}</div>
+</body>
+
diff --git a/portal-common/src/main/webapp/framework/browser/templates/tree.html b/portal-common/src/main/webapp/framework/browser/templates/tree.html
new file mode 100644
index 00000000..dd8f96bc
--- /dev/null
+++ b/portal-common/src/main/webapp/framework/browser/templates/tree.html
@@ -0,0 +1,22 @@
+<!--
+
+ 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>{{message}}</h4>
+<div id="tree1" class="ztree" ng-init="init()"></div><!-- ng-if="treeLoaded()"-->
+<div class="shortnoteHeader">ShortNote</div>
+<div class="shortnoteText">{{treeTip}}</div>