textbox.html 4.9 KB
Newer Older
A
azhi 已提交
1 2 3 4 5 6 7
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <title>ZUI</title>
C
Catouse 已提交
8 9
  <link href="../dist/css/zui.css" rel="stylesheet">
  <link href="../assets/css/doc.css" rel="stylesheet">
A
azhi 已提交
10 11
  <link rel="stylesheet/less" type="text/css" href="../src/less/zui.less" />
  <script type="text/javascript"> less = { env: "development", dumpLineNumbers:'mediaquery' }; </script>
C
Catouse 已提交
12
  <script src="../assets/js/less.js"></script>
C
Catouse 已提交
13
  <script src="../src/js/collapse.js"></script>
C
Catouse 已提交
14 15 16 17 18
  <script src="../src/js/dropdown.js"></script>
  <!--[if lt IE 9]>
  <script src="../assets/js/html5shiv.js"></script>
  <script src="../assets/js/respond.js"></script>
  <![endif]-->
A
azhi 已提交
19 20 21
</head>

<body>
C
Catouse 已提交
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
  <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="#">ZUI</a>
    </div>
    <div class="collapse navbar-collapse" id="navbar">
      <ul class="nav navbar-nav">
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown">examples <b class="caret"></b></a>
          <ul class="dropdown-menu" role="menu">
            <li><a href="alerts.html">alerts</a></li>
            <li><a href="article.html">article</a></li>
            <li><a href="breadcrumb.html">breadcrumb</a></li>
            <li><a href="button-groups.html">button-groups</a></li>
            <li><a href="buttons.html">buttons</a></li>
            <li><a href="cards.html">cards</a></li>
            <li><a href="carousel.html">carousel</a></li>
            <li><a href="chosen.html">chosen</a></li>
            <li><a href="collapse.html">collapse</a></li>
            <li><a href="comment.html">comment</a></li>
            <li><a href="dropdowns.html">dropdowns</a></li>
            <li><a href="forms.html">forms</a></li>
            <li><a href="grid.html">grid</a></li>
            <li><a href="icons.html">icons</a></li>
            <li><a href="input-groups.html">input-groups</a></li>
            <li><a href="kindeditor.html">kindeditor</a></li>
            <li><a href="labels.html">labels</a></li>
            <li><a href="list-group.html">list-group</a></li>
            <li><a href="list.html">list</a></li>
            <li><a href="modals.html">modals</a></li>
            <li><a href="navbars.html">navbars</a></li>
            <li><a href="navs.html">navs</a></li>
            <li><a href="pager.html">pager</a></li>
            <li><a href="panels.html">panels</a></li>
            <li><a href="popovers.html">popovers</a></li>
            <li><a href="progress.html">progress</a></li>
            <li><a href="tables.html">tables</a></li>
            <li><a href="tabs.html">tabs</a></li>
            <li><a href="textbox.html">textbox</a></li>
            <li><a href="tooltip.html">tooltip</a></li>
            <li><a href="type.html">type</a></li>
          </ul>
        </li>
      </ul>
    </div>
  </nav>
C
Catouse 已提交
73 74 75
  <article>
    <section id='textbox' class="page-section">
      <div class="page-header"><h1>文本框</h1></div>
A
azhi 已提交
76

C
Catouse 已提交
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
      <h3>类型</h3>
      <h4>基本类型</h4>
      <table class="table">
        <tr>
          <th width='200px'>文本框</th>
          <th>描述</th>
        </tr>
        <tr>
          <td><input type="text" class='form-control' placeholder="Text input"></td>
          <td>input type='text'</td>
        </tr>
        <tr>
          <td><textarea class='form-control' rows="3"></textarea></td>
          <td>textarea row='3'</td>
        </tr>
        <tr>
          <td>
            <select class="form-control">
              <option>1</option>
              <option>2</option>
              <option>3</option>
              <option>4</option>
              <option>5</option>
            </select>
          </td>
          <td>select </td>
        <tr>
      </table>
A
azhi 已提交
105

C
Catouse 已提交
106 107 108 109 110 111 112 113 114 115 116
      <h3>状态</h3>
      <table class="table">
        <tr>
          <th width='200px'>文本框</th>
          <th>描述</th>
        </tr>
        <tr>
          <td><input class="form-control"  type="text" placeholder="Disabled input here..." disabled><br /></td>
          <td>禁用:input type='text' diabled</td>
        </tr>
      </table>
A
azhi 已提交
117

C
Catouse 已提交
118 119 120 121 122 123 124 125 126 127 128 129
      <h3>变化</h3>
      <h4>宽度</h4>
      <div class="row">
        <div class="col-xs-2">
          <input type="text" class="form-control" placeholder=".col-xs-2">
        </div>
        <div class="col-xs-3">
          <input type="text" class="form-control" placeholder=".col-xs-3">
        </div>
        <div class="col-xs-4">
          <input type="text" class="form-control" placeholder=".col-xs-4">
        </div>
A
azhi 已提交
130
      </div>
C
Catouse 已提交
131 132
    </section>
  </article>
A
azhi 已提交
133 134 135
</body>
</html>