diff options
author | Seshu-Kumar-M <seshu.kumar.m@huawei.com> | 2017-02-01 21:40:04 +0530 |
---|---|---|
committer | Seshu-Kumar-M <seshu.kumar.m@huawei.com> | 2017-02-01 21:43:52 +0530 |
commit | 98bb0a4d66a41f2e6046743b134f6c88f434ef4f (patch) | |
tree | 8ae12097f15a3b1dc3cd06748f3005f8c2f26dfc /common/src/main/webapp/usage guide/browser/template.html | |
parent | f205e8d8493616238ca5372d3ea042bbb0472bd1 (diff) |
Sample code of Widgets for the browser side
Code with the sample usage of the OPEN-O GUI Framework for widgets
Issue-Id : CLIENT-11
Change-Id: Ibd66213ff87eacbd9a1eef81991b7d705aa8675b
Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
Diffstat (limited to 'common/src/main/webapp/usage guide/browser/template.html')
-rw-r--r-- | common/src/main/webapp/usage guide/browser/template.html | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/common/src/main/webapp/usage guide/browser/template.html b/common/src/main/webapp/usage guide/browser/template.html new file mode 100644 index 00000000..f7cd87dd --- /dev/null +++ b/common/src/main/webapp/usage guide/browser/template.html @@ -0,0 +1,44 @@ +<!--
+
+ 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.
+
+-->
+
+<script id="dialogTpl" type="text/html">
+ <h3>{{name}}</h3> <div>Skills are:{{#skills}}<div>{{.}}</div>{{/skills}}</div></div>
+</script>
+
+<script id="person" type="text/html">
+ <ul>{{#depts}}<div><h4>{{fname}} {{lname}} </h4>{{Address}}</div>{{/depts}}</ul>
+</script>
+
+<script id="user" type="text/html">
+ <h3>{{name}}</h3><p>Address: {{address}}</p>
+</script>
+
+<!-- Left Menu Accordion -->
+<!--
+<script id="menu_accordion" type="text/html">
+ {{#items}}
+ <div class="panel panel-default">
+ <h3 class="panel-title">
+ <a data-toggle="collapse" data-parent="#accordion" data-target="#{{tabId}}">{{header}}</a>
+ </h3>
+ <div id="{{tabId}}" class="panel-collapse collapse {{#isActive}}in{{/isActive}}">
+ {{#subLinks}}<a ui-sref="{{state}}" ui-sref-active="link_active" style="padding-left: 62px;" onclick={{action}}>{{title}}</a>{{/subLinks}}
+ </div>
+ </div>
+ {{/items}}
+</script>-->
|