<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Thanks for the tips Paulo, I will have the time changed. I am not
    sure what's wrong with the the indentation of the comments. I will
    resend a version and hopefully it worked well<br>
    <br>
    <div class="moz-cite-prefix">On 2/4/2015 11:03 PM, Paulo Ricardo Paz
      Vital wrote:<br>
    </div>
    <blockquote
cite="mid:CAFe=of43yr4uXzvy+rL8fujRXb__k-azhoJyTg-F6WMcfauRGQ@mail.gmail.com"
      type="cite">Few comments bellow...<br>
      <br>
      <div class="gmail_quote">On Wed Feb 04 2015 at 3:55:50 PM Wen Wang
        &lt;<a moz-do-not-send="true"
          href="mailto:wenwang@linux.vnet.ibm.com">wenwang@linux.vnet.ibm.com</a>&gt;
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">V1 -&gt; V2:<br>
          Add lincense.<br>
          <br>
          Signed-off-by: Wen Wang &lt;<a moz-do-not-send="true"
            href="mailto:wenwang@linux.vnet.ibm.com" target="_blank">wenwang@linux.vnet.ibm.com</a>&gt;<br>
          ---<br>
           ...u-button-radio-checkbox-text-select-sample.html | 101
          +++++++++++++++++++++<br>
           1 file changed, 101 insertions(+)<br>
           create mode 100644 ui/js/widgets/samples/menu-button-radio-checkbox-text-select-sample.html<br>
          <br>
          diff --git a/ui/js/widgets/samples/menu-button-radio-checkbox-text-select-sample.html
          b/ui/js/widgets/samples/menu-button-radio-checkbox-text-select-sample.html<br>
          new file mode 100644<br>
          index 0000000..2b97073<br>
          --- /dev/null<br>
          +++ b/ui/js/widgets/samples/menu-button-radio-checkbox-text-select-sample.html<br>
          @@ -0,0 +1,101 @@<br>
          +&lt;!--<br>
          +/*<br>
          + * Project Kimchi<br>
          + *<br>
          + * Copyright IBM, Corp. 2014<br>
        </blockquote>
        <div><br>
        </div>
        <div>s/2014/2015</div>
        <div> </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          + *<br>
          + * Licensed under the Apache License, Version 2.0 (the
          'License');<br>
          + * you may not use this file except in compliance with the
          License.<br>
          + * You may obtain a copy of the License at<br>
          + *<br>
          + *     <a moz-do-not-send="true"
            href="http://www.apache.org/licenses/LICENSE-2.0"
            target="_blank">http://www.apache.org/licenses/LICENSE-2.0</a><br>
          + *<br>
          + * Unless required by applicable law or agreed to in writing,
          software<br>
          + * distributed under the License is distributed on an 'AS IS'
          BASIS,<br>
          + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
          express or implied.<br>
          + * See the License for the specific language governing
          permissions and<br>
          + * limitations under the License.<br>
          + */<br>
          +--&gt;<br>
          +&lt;!DOCTYPE html&gt;<br>
          +&lt;html&gt;<br>
          +    &lt;head&gt;<br>
          +        &lt;meta charset="UTF-8"&gt;<br>
          +        &lt;title&gt;Demo&lt;/title&gt;<br>
          +        &lt;script src="../../../libs/jquery-1.10.0.min.js"&gt;&lt;/script&gt;<br>
          +        &lt;script src="../../../libs/jquery-ui.min.js"&gt;&lt;/script&gt;<br>
          +        &lt;script src="../menu-flat.js"&gt;&lt;/script&gt;<br>
          +        &lt;script src="../button-flat.js"&gt;&lt;/script&gt;<br>
          +        &lt;script src="../radio-flat.js"&gt;&lt;/script&gt;<br>
          +        &lt;script src="../checkbox-flat.js"&gt;&lt;/script&gt;<br>
          +        &lt;script src="../textbox-flat.js"&gt;&lt;/script&gt;<br>
          +        &lt;script src="../selectmenu-flat.js"&gt;&lt;/script&gt;<br>
          +        &lt;link rel="stylesheet" href="../../../libs/themes/base/jquery-ui.min.css"&gt;<br>
          +        &lt;link rel="stylesheet" href="../../../css/theme-default/menu-flat.css"&gt;<br>
          +        &lt;link rel="stylesheet" href="../../../css/theme-default/button-flat.css"&gt;<br>
          +        &lt;link rel="stylesheet" href="../../../css/theme-default/radio-flat.css"&gt;<br>
          +        &lt;link rel="stylesheet" href="../../../css/theme-default/checkbox-flat.css"&gt;<br>
          +        &lt;link rel="stylesheet" href="../../../css/theme-default/textbox-flat.css"&gt;<br>
          +        &lt;link rel="stylesheet" href="../../../css/theme-default/selectmenu-flat.css"&gt;<br>
          +        &lt;link rel="stylesheet"
          href="../../../css/fontello/css/animation.css"&gt;<br>
          +        &lt;link rel="stylesheet"
          href="../../../css/fontello/css/fontello.css"&gt;<br>
          +    &lt;/head&gt;<br>
          +    &lt;body&gt;<br>
          +        &lt;div id="menu"&gt;&lt;/div&gt;<br>
          +        &lt;div style="height:50px"&gt;&lt;div
          id="select"&gt;&lt;/div&gt;&lt;/div&gt;<br>
          +        &lt;div class="radio-demo"&gt;&lt;/div&gt;<br>
          +        &lt;div class="checkbox-demo"&gt;&lt;/div&gt;<br>
          +        &lt;input class="text-demo"&gt;<br>
          +        &lt;button class="button-demo"&gt;submit&lt;/button&gt;<br>
          +        &lt;script&gt;<br>
          +            $(document).ready(function() {<br>
          +                $("#menu").menuFlat({<br>
          +                    content: [1,2,3,4,5,6], //Set content of
          the menu.<br>
          +                    icon: "icon-edit-alt",  //Set icon of the
          menu button.<br>
          +                    listIconList:
          ["icon-edit-alt","icon-edit-alt","icon-edit-alt","icon-edit-alt","icon-edit-alt","icon-user"]<br>
          +                                          //Set icons of the
          menu list.<br>
          +                                           // name is
          optional which set the name of the menu list.<br>
        </blockquote>
        <div><br>
        </div>
        <div>Indentation of the comments look like wrong for me.<br>
        </div>
        <div> </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          +                });<br>
          +                $("#menu0").on("click", function() {<br>
          +                    alert("hello");<br>
          +                });<br>
          +                $("#menu1").on("click", function() {<br>
          +                    console.log("hello");<br>
          +                });<br>
          +                $("#select").selectmenuFlat({<br>
          +                    content: [1,2,3,4,5,6],  //Set content of
          the select menu<br>
          +                    selected: 2  // set the selected option,
          starts from "1"<br>
          +                });<br>
          +                $("#select").selectmenuFlat("value", "4");
          //Set value.<br>
          +                var t = $("#select").selectmenuFlat("value"); 
          //Get value<br>
          +                console.log(t);<br>
          +                $(".radio-demo").radioFlat({<br>
          +                    id: "t",  //Base id of the radio set.<br>
          +                    name: "test",  //name of the radio.<br>
          +                    whichChecked: 2,  //First selected
          position, starts from 1.<br>
          +                    content: ["apple", "banana", "orange",
          "cherry"] //set the content array.<br>
          +                });<br>
          +                $(".radio-demo").click(function() {<br>
          +                   console.log($(".radio-demo").radioFlat("value")); 
          //this is how to get the value of selected radio value<br>
          +                });<br>
          +                $(".checkbox-demo").checkboxFlat({<br>
          +                    id: "t",  //Checkbox base id.<br>
          +                    name: "test",  //Checkbox name.<br>
          +                    content: ["apple", "banana", "orange",
          "cherry"],  //Contents of the checkbox set.<br>
          +                    checked: [1,3]  //Set the checked item,
          which starts with number 1.<br>
          +                });<br>
          +                $(".checkbox-demo").click(function() {<br>
          +                    console.log($(".selector").checkboxFlat("value")); 
          //Get value of the checked checkbox.<br>
          +                });<br>
          +                $(".text-demo").textboxFlat({<br>
          +                    hint: "hint"<br>
          +                });<br>
          +                $(".text-demo").css({<br>
          +                    "height": "30px",<br>
          +                    "width": "200px"<br>
          +                });<br>
          +                $(".button-demo").buttonFlat();<br>
          +            });<br>
          +        &lt;/script&gt;<br>
          +    &lt;/body&gt;<br>
          +&lt;/html&gt;<br>
          \ No newline at end of file<br>
          --<br>
          2.1.0<br>
          <br>
          _______________________________________________<br>
          Kimchi-devel mailing list<br>
          <a moz-do-not-send="true" href="mailto:Kimchi-devel@ovirt.org"
            target="_blank">Kimchi-devel@ovirt.org</a><br>
          <a moz-do-not-send="true"
            href="http://lists.ovirt.org/mailman/listinfo/kimchi-devel"
            target="_blank">http://lists.ovirt.org/mailman/listinfo/kimchi-devel</a><br>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </body>
</html>