textbox.html 5.2 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="../assets/js/jquery.js"></script>
C
Catouse 已提交
14
  <script src="../dist/js/zui.min.js"></script>
C
Catouse 已提交
15
  <script src="../src/js/debug.js"></script>
C
Catouse 已提交
16 17


C
Catouse 已提交
18 19 20 21
  <!--[if lt IE 9]>
  <script src="../assets/js/html5shiv.js"></script>
  <script src="../assets/js/respond.js"></script>
  <![endif]-->
C
Catouse 已提交
22
  <script src="../assets/js/doc.js"></script>
A
azhi 已提交
23 24 25
</head>

<body>
C
Catouse 已提交
26 27 28 29 30 31 32 33 34 35 36 37 38
  <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">
C
Catouse 已提交
39
          <a href="#" class="dropdown-toggle" data-toggle="dropdown"><span id="navbarCurrent">examples</span> <b class="caret"></b></a>
C
Catouse 已提交
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
          <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>
C
Catouse 已提交
58
            <li><a href="lightbox.html">Lightbox</a></li>
C
Catouse 已提交
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
            <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>
C
Catouse 已提交
75
        <li id="navbarNext"><a href="###">NEXT <i class="icon-angle-right icon-large"></i></a></li>
C
Catouse 已提交
76 77 78
      </ul>
    </div>
  </nav>
C
Catouse 已提交
79 80 81
  <article>
    <section id='textbox' class="page-section">
      <div class="page-header"><h1>文本框</h1></div>
A
azhi 已提交
82

C
Catouse 已提交
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
      <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 已提交
111

C
Catouse 已提交
112 113 114 115 116 117 118 119 120 121 122
      <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 已提交
123

C
Catouse 已提交
124 125 126 127 128 129 130 131 132 133 134 135
      <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 已提交
136
      </div>
C
Catouse 已提交
137 138
    </section>
  </article>
A
azhi 已提交
139 140 141
</body>
</html>