OPEN-O GUI Framework for container
authorSeshu-Kumar-M <seshu.kumar.m@huawei.com>
Thu, 2 Feb 2017 04:58:26 +0000 (10:28 +0530)
committerSeshu-Kumar-M <seshu.kumar.m@huawei.com>
Thu, 2 Feb 2017 04:58:26 +0000 (10:28 +0530)
sample code of OPEN-O GUI Framework for container.

Issue-Id : CLIENT-127

Change-Id: I0872b7aed78b79dc283bf390123ab1b1ec8805ee
Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
common/src/main/webapp/usage guide/browser/templateFunctional.html [new file with mode: 0644]
common/src/main/webapp/usage guide/browser/templateNotification.html [new file with mode: 0644]
common/src/main/webapp/usage guide/browser/templateWidget.html [new file with mode: 0644]
common/src/main/webapp/usage guide/browser/templates/accordion.html [new file with mode: 0644]
common/src/main/webapp/usage guide/browser/templates/buttons.html [new file with mode: 0644]
common/src/main/webapp/usage guide/browser/templates/checkBoxes.html [new file with mode: 0644]
common/src/main/webapp/usage guide/browser/templates/courses.html [new file with mode: 0644]
common/src/main/webapp/usage guide/browser/templates/dropdown.html [new file with mode: 0644]
common/src/main/webapp/usage guide/browser/templates/functional.html [new file with mode: 0644]

diff --git a/common/src/main/webapp/usage guide/browser/templateFunctional.html b/common/src/main/webapp/usage guide/browser/templateFunctional.html
new file mode 100644 (file)
index 0000000..8634dbc
--- /dev/null
@@ -0,0 +1,53 @@
+<!--\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
+<script id="functionalDialog" type="text/html">\r
+    <div id="funModal" class="modal fade" role="dialog" ng-init="getDetail()">\r
+        <div class="modal-dialog modal-md">\r
+\r
+            <!-- Modal content-->\r
+            <div class="modal-content">\r
+                <div class="modal-header">\r
+                    <button type="button" class="close" data-dismiss="modal">&times;</button>\r
+                    <h4 class="modal-title titlestyle">{{title}}</h4>\r
+                </div>\r
+                <div class="modal-body">\r
+                    <div>\r
+                        <form class="form-horizontal" role="form">\r
+                            {{#labels}}\r
+                            <div class="form-group">\r
+                                <label class="control-label col-sm-3 labelstyle" for={{input_id}}>{{text}}</label>\r
+                                <div class="col-sm-7">\r
+                                    <input type={{type}} class="form-control" id={{input_id}}>\r
+                                </div>\r
+                            </div>\r
+                            {{/labels}}\r
+                        </form>\r
+                    </div>\r
+                </div>\r
+                <div class="modal-footer">\r
+                    <div>{{#buttons}} <button type="button" class="btn btn-primary outline" onclick={{action}}>{{text}}</button> {{/buttons}}\r
+                        {{#showClose}}<button type="button" class="btn btn-primary outline" data-dismiss="modal">{{closeBtnTxt}}</button>{{/showClose}}\r
+                    </div>\r
+                    <!--<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>-->\r
+                </div>\r
+            </div>\r
+\r
+        </div>\r
+    </div>\r
+</script>
\ No newline at end of file
diff --git a/common/src/main/webapp/usage guide/browser/templateNotification.html b/common/src/main/webapp/usage guide/browser/templateNotification.html
new file mode 100644 (file)
index 0000000..2de0467
--- /dev/null
@@ -0,0 +1,48 @@
+<!--\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
+<!--Dialog-->\r
+<script id="personDialog" type="text/html">\r
+    <div id="msgModal" class="modal fade" role="dialog">\r
+        <div class="modal-dialog modal-md">\r
+\r
+            <!-- Modal content-->\r
+            <div class="modal-content">\r
+                <div class="modal-header">\r
+                    <button type="button" class="close" data-dismiss="modal">&times;</button>\r
+                    <h4 class="modal-title titlestyle">{{title}}</h4>\r
+                </div>\r
+                <div class="modal-body">\r
+                    <div class="container center">\r
+                        <div class="row">\r
+                            <div class="col-xs-2 col-sm-2 col-md-1 col-lg-1 icon {{icon}} {{iconColor}}"></div>\r
+                            <div class="msg col-xs-10 col-sm-10 col-md-11 col-lg-11" style="text-align:left;vertical-align: middle;">{{msg}}</div>\r
+                        </div>\r
+                    </div>\r
+                </div>\r
+                <div class="modal-footer">\r
+                    <div>{{#buttons}} <button type="button" class="btn btn-primary outline" onclick={{action}}>{{text}}</button> {{/buttons}}\r
+                        {{#showClose}}<button type="button" class="btn btn-primary outline" data-dismiss="modal">{{closeBtnTxt}}</button>{{/showClose}}\r
+                    </div>\r
+                    <!--<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>-->\r
+                </div>\r
+            </div>\r
+\r
+        </div>\r
+    </div>\r
+</script>
\ No newline at end of file
diff --git a/common/src/main/webapp/usage guide/browser/templateWidget.html b/common/src/main/webapp/usage guide/browser/templateWidget.html
new file mode 100644 (file)
index 0000000..d585924
--- /dev/null
@@ -0,0 +1,213 @@
+<!--\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
+<!-- Default Buttons <button class="btnDefault" ng-click="{{clickAction}}">{{title}}</button>-->\r
+<script id="defaultButtons" type="text/html">\r
+    <input type="button" class="btnDefault btnmrg" ng-click="{{clickAction}}" value="{{title}}"/>\r
+</script>\r
+\r
+<script id="defaultIconButtons" type="text/html">\r
+    <button id="iconBtn" type="button" class="btnDefault {{type}}">{{title}}\r
+        <span class="glyphicon {{gType}} pull-{{iconPosition}}"></span>\r
+    </button>\r
+</script>\r
+\r
+<!-- Visual Buttons -->\r
+<script id="visualButtons" type="text/html">\r
+    <button type="button" class="btn btn-{{type}}">{{title}}</button>\r
+</script>\r
+\r
+<!-- Different sized Buttons -->\r
+<script id="sizeButtons" type="text/html">\r
+    <button type="button" class="btn btn-{{type}} {{size}}">{{title}}</button>\r
+</script>\r
+\r
+<!-- Icon Buttons -->\r
+<script id="iconButtons" type="text/html">\r
+    <button type="button" class="btn btn-{{type}}">{{title}}\r
+        <span class="glyphicon {{gType}}"></span>\r
+    </button>\r
+</script>\r
+\r
+<!--Dropdown template-->\r
+<script id="dropDown" type="text/html">\r
+    <div class="drop{{position}}">\r
+        <button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown">{{title}}\r
+            <span class="caret"></span>\r
+        </button>\r
+        <ul class="dropdown-menu">\r
+            {{#items}}<li><a href="#">{{itemLabel}}</a></li>{{/items}}\r
+        </ul>\r
+    </div>\r
+</script>\r
+\r
+<script id="dropDownHeader" type="text/html">\r
+    <button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown">{{title}}\r
+        <span class="caret"></span>\r
+    </button>\r
+    <ul class="dropdown-menu">\r
+        {{#items}}\r
+        {{#isheader}}<li class="divider"></li><li class="dropdown-header">{{itemLabel}}</li><li class="divider"></li>{{/isheader}}\r
+        {{^isheader}}<li><a href="#">{{itemLabel}}</a></li>{{/isheader}}\r
+        {{/items}}\r
+    </ul>\r
+</script>\r
+\r
+<script id="simpleDropdownTmpl" type="text/html">\r
+    <div class="dropdownplain">\r
+        <ul class="nav navbar-nav">\r
+            <li>\r
+                <a class="dropdown-toggle" data-toggle="dropdown">{{title}} <span class="glyphicon glyphicon-chevron-down pull-right"></span></a>\r
+                <ul class="dropdown-menu">\r
+                    {{#items}}<li><a target="_blank">{{itemLabel}}</a></li>{{/items}}\r
+                </ul>\r
+            </li>\r
+        </ul>\r
+    </div>\r
+</script>\r
+\r
+\r
+<!--Radio Buttons-->\r
+<script id="radioButtons" type="text/html">\r
+    <div>\r
+        <input class="magic-radio" type="radio" name="radio" id="radio{{id}}"/>\r
+        <label for="radio{{id}}">{{label}}</label></br>\r
+    </div>\r
+</script>\r
+\r
+<!--Check boxes template-->\r
+<script id="checkBoxes" type="text/html">\r
+    <div class="funkyradio-{{type}}">\r
+        <input type="checkbox" name="check" id="checkbox{{id}}" {{#checked}}checked{{/checked}} />\r
+        <label for="checkbox{{id}}">{{label}}</label>\r
+    </div>\r
+</script>\r
+\r
+<!--text-->\r
+<script id="textfield" type="text/html">\r
+    <div class="css-form">\r
+        <input id ="textbox" name="textbox" class="form-control" placeholder="{{placeholder}}" ng-model="{{modalVar}}" type="text"  ng-blur="validatetextbox({{modalVar}})" required >\r
+        <span class="errMsg" ng-show="textboxErr">{{errmsg}}</span>\r
+    </div>\r
+</script>\r
+\r
+<!--email-->\r
+<script id="email" type="text/html">\r
+    <div class="css-form">\r
+        <input class="form-control"  placeholder="{{placeholder}}" ng-model="{{modalVar}}" type="email"  ng-blur="validateemail({{modalVar}})" required>\r
+        <span class="errMsg" ng-show="emailErr">{{errmsg}}</span>\r
+    </div>\r
+</script>\r
+\r
+<!--url-->\r
+<script  id="url" type="text/html">\r
+    <div class="css-form">\r
+        <input class="form-control" placeholder="{{placeholder}}" ng-model="{{modalVar}}" type="url"  ng-blur="validateurl({{modalVar}})" required>\r
+        <span class="errMsg" ng-show="urlErr">{{errmsg}}</span>\r
+    </div>\r
+</script>\r
+\r
+<!--password-->\r
+<script  id="password" type="text/html">\r
+    <div class="css-form">\r
+\r
+\r
+        <input class="form-control" placeholder="{{placeholder}}" ng-model="{{modalVar}}" type="password" pattern=".{3,}" maxlength="{{#maxLength}}{{maxLength}}{{/maxLength}}{{^maxLength}}9{{/maxLength}}" ng-blur="validatepassword({{modalVar}})" required>\r
+        <span class="errMsg" ng-show="passwordErr">{{errmsg}}</span>\r
+    </div>\r
+</script>\r
+\r
+<!--numeric-->\r
+<script id="numeric" type="text/html">\r
+    <div class="css-form">\r
+        <input  class="form-control" placeholder="{{placeholder}}" ng-model="{{modalVar}}" type="number"  ng-blur="validatenumeric({{modalVar}})" required/>\r
+        <span class="errMsg" ng-show="numericErr">{{errmsg}}</span>\r
+    </div>\r
+</script>\r
+\r
+<!--dot-->\r
+<script  id="dot" type="text/html">\r
+    <div class="css-form">\r
+        <input class="form-control"  placeholder="{{placeholder}}" ng-model="{{modalVar}}" type="datetime-local"  ng-blur="validatedot({{modalVar}})" required>\r
+        <span class="errMsg" ng-show="dotErr">{{errmsg}}</span>\r
+    </div>\r
+</script>\r
+\r
+<!--date-->\r
+<script  id="dateinput" type="text/html">\r
+    <div class="css-form">\r
+        <input class="form-control"  placeholder="{{placeholder}}" ng-model="{{modalVar}}" type="date" ng-blur="validatedateinput({{modalVar}})" required>\r
+        <span class="errMsg" ng-show="dateinputErr">{{errmsg}}</span>\r
+    </div>\r
+</script>\r
+\r
+<!--Month-->\r
+<script  id="monthinput" type="text/html">\r
+    <div class="css-form">\r
+        <input class="form-control" placeholder="{{placeholder}}" ng-model="{{modalVar}}" type="month"  ng-blur="validatemonthinput({{modalVar}})" required>\r
+        <span class="errMsg" ng-show="monthinputErr">{{errmsg}}</span>\r
+    </div>\r
+</script>\r
+\r
+\r
+<!--Week-->\r
+<script   id="weekinput" type="text/html">\r
+    <div class="css-form">\r
+        <input class="form-control"  placeholder="{{placeholder}}" ng-model="{{modalVar}}" type="week"  ng-blur="validateweek({{modalVar}})" required>\r
+        <span class="errMsg" ng-show="weekinputErr">{{errmsg}}</span>\r
+    </div>\r
+</script>\r
+\r
+<!--time-->\r
+<script   id="timeinput" type="text/html">\r
+    <div class="css-form">\r
+        <input class="form-control"  placeholder="{{placeholder}}" ng-model="{{modalVar}}" type="time"  ng-blur="validatetime({{modalVar}})" required>\r
+        <span class="errMsg" ng-show="timeinputErr">{{errmsg}}</span>\r
+    </div>\r
+</script>\r
+\r
+<!--ipv4-->\r
+<script   id="ipv4" type="text/html">\r
+    <div class="css-form">\r
+        <input class="form-control" type="ipv4" placeholder="{{placeholder}}" ng-model="{{modalVar}}" pattern="((^|\.)((25[0-5])|(2[0-4]\d)|(1\d\d)|([1-9]?\d))){4}$"  ng-blur="validateipv4({{modalVar}})" required>\r
+        <span class="errMsg" ng-show="ipv4Err">{{errmsg}}</span>\r
+    </div>\r
+</script>\r
+\r
+<!--ipv6-->\r
+<script   id="ipv6" type="text/html">\r
+    <div class="css-form">\r
+        <input class="form-control"   placeholder="{{placeholder}}" ng-model="{{modalVar}}" type="ipv6"  pattern="^([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])" ng-blur="validateipv6({{modalVar}})" required>\r
+        <span class="errMsg" ng-show="ipv6Err">{{errmsg}}</span>\r
+    </div>\r
+</script>\r
+\r
+<!--textarea-->\r
+<script id="textarea" type="text/html">\r
+    <div class="css-form">\r
+        <textarea class="form-control"  rows="4" cols="50" placeholder="{{placeholder}}" ng-model="{{modalVar}}"  ng-blur="validatetextarea({{modalVar}})" required></textarea>\r
+        <span class="errMsg" ng-show="textareaErr">{{errmsg}}</span>\r
+    </div>\r
+</script>\r
+\r
+<!--note-->\r
+<script id="note" type="text/html">\r
+\r
+    <a  id="noteanchor" href="#/home/textarea" title="Note" data-toggle="popover" data-trigger="focus" data-placement="{{placement}}">\r
+        <span class="glyphicon glyphicon-info-sign "></span></a>\r
+</script>\r
diff --git a/common/src/main/webapp/usage guide/browser/templates/accordion.html b/common/src/main/webapp/usage guide/browser/templates/accordion.html
new file mode 100644 (file)
index 0000000..9c076e5
--- /dev/null
@@ -0,0 +1,26 @@
+<!--\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="shortnote">\r
+        <div class="shortnoteHeader">Usage</div>\r
+        <div class="shortnoteText">{{accordionTipData}}</div>\r
+    </div>\r
+</div>\r
diff --git a/common/src/main/webapp/usage guide/browser/templates/buttons.html b/common/src/main/webapp/usage guide/browser/templates/buttons.html
new file mode 100644 (file)
index 0000000..90ba395
--- /dev/null
@@ -0,0 +1,38 @@
+<!--\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
+<div class="shortnote">\r
+    <div class="shortnoteHeader">Usage</div>\r
+    <div class="shortnoteText">{{buttonTipData}}</div>\r
+</div>\r
+\r
+\r
+\r
diff --git a/common/src/main/webapp/usage guide/browser/templates/checkBoxes.html b/common/src/main/webapp/usage guide/browser/templates/checkBoxes.html
new file mode 100644 (file)
index 0000000..0bc3626
--- /dev/null
@@ -0,0 +1,25 @@
+<!--\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
+<div class="shortnote">\r
+    <div class="shortnoteHeader">Usage</div>\r
+    <div class="shortnoteText"> {{checkboxTipData}}</div>\r
+</div>\r
diff --git a/common/src/main/webapp/usage guide/browser/templates/courses.html b/common/src/main/webapp/usage guide/browser/templates/courses.html
new file mode 100644 (file)
index 0000000..34dde6c
--- /dev/null
@@ -0,0 +1,32 @@
+<!--
+
+    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>
diff --git a/common/src/main/webapp/usage guide/browser/templates/dropdown.html b/common/src/main/webapp/usage guide/browser/templates/dropdown.html
new file mode 100644 (file)
index 0000000..bcf405e
--- /dev/null
@@ -0,0 +1,42 @@
+<!--\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
+\r
+<div class="container col-sm-12 col-md-12 col-lg-12">\r
+    <h4>Drop Down</h4>\r
+\r
+    <div id="dropdown" class="container col-sm-12 col-md-12 col-lg-12" ng-init="init()">\r
+        <h3>Simple Dropdown</h3>\r
+        <div id="plainDropDown"></div>\r
+        <h3>Dropdown</h3>\r
+        <div id="dropArea" type="button"></div>\r
+        <h3>Dropup</h3>\r
+        <div id="dropAreaUP" type="button"></div>\r
+        <h3>Dropdown Header</h3>\r
+        <div id="dropAreaHeader" type="button"></div>\r
+\r
+    </div>\r
+    <div class="col-sm-12 col-md-12 col-lg-12 shortnote">\r
+        <div class="shortnoteHeader">Usage</div>\r
+        <div class="shortnoteText">{{dropdownTipData}}</div>\r
+    </div>\r
+</div>\r
+\r
+\r
+\r
+\r
diff --git a/common/src/main/webapp/usage guide/browser/templates/functional.html b/common/src/main/webapp/usage guide/browser/templates/functional.html
new file mode 100644 (file)
index 0000000..745b1f3
--- /dev/null
@@ -0,0 +1,32 @@
+<!--
+
+    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="functionalArea" ng-init="init()">
+    <button type="button" class="btn btn-default" ng-click="showCreate()">Create</button>
+    <button type="button" class="btn btn-default" ng-click="showModify()">Modify</button>
+    <button type="button" class="btn btn-default" ng-click="showDelete()">Delete</button>
+    <button type="button" class="btn btn-default" ng-click="showWorkflow()">Workflow</button>
+    <div class="shortnote">
+        <div class="shortnoteHeader">Usage</div>
+        <div class="shortnoteText">{{functionalTipData}}</div>
+    </div>
+</div>
+
+