LAYOUT.md 4.79 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
73
74
75
76
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
= Plain =

<form>

    # Element 1
    <p>Title</p>
    <p><input type="input"></p>
    
    # Element n
    <p>Name</p>
    <p><input type="input"></p>

</form>

# Subrecord
<table> 
    <tr><th> id </th> </tr>
    <tr><td> 1 </td></tr>
    <tr><td> 2 </td></tr>
</table>

= Table =
<form>
    <table>
    
    <tr>
        # Element 1
        <td>Title</td> <td><input type="input"></td> <td>note</td>
    </tr>
    
    <tr>
        # Element 2
        <td>Name</td> <td><input type="input"></td> <td>note</td>
    </tr>

    <tr>
        # Fieldset
        <td colspan=3>
            <table>
                <tr>
                    # Element 3
                    <td>Name</td> <td><input type="input"></td> <td>note</td>
                </tr>
            </table>
        </td>
    </tr>
    </table>
</form>

# Subrecord
<table> 
    <tr><th> id </th> </tr>
    <tr><td> 1 </td></tr>
    <tr><td> 2 </td></tr>
</table>



= Bootstrap =
<div class="container-fluid">
    # Ttitle
    <div class="row hidden-xs">
        <div class="col-md-12">
            <h1>Title with a long text</h1>
        </div>
    </div>

    # Pills & Button
    <div class="row">
        <div class="col-md-10">
            <ul id="myTabs" class="nav nav-pills" role="tablist">
                <li role="presentation" class="active"><a href="#person" data-toggle="tab">Person</a></li>
                <li role="presentation"><a href="#person2" data-toggle="tab">Person2</a></li>
                <li role="presentation" class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button">
                        more <span class="caret"></span>
                    </a>
                    <ul class="dropdown-menu">
                        <li><a href="#arbeitsgruppe" data-toggle="tab">Arbeitsgruppe</a></li>
                        <li><a href="#publikation" data-toggle="tab">Publikation</a></li>
                    </ul> # Dropdown-menu
                </li> # Dropdown item
            </ul> # pill
        </div> # class="col-md-10"
        <div class="col-md-2 ">
            # button
        </div> # Button
    </div> #  class="row" (Pill & Button)
       
    # Form
    <form class="form-horizontal"><div class="tab-content">
        # Pill 1
        <div role="tabpanel" class="tab-pane active" id="person">
        
            <div class="form-group">
                <div class="col-md-2">
                    <label for="id" class="control-label">Name</label>
                </div>
                <div class="col-md-6 ">
                    <input id="name" type="text" class="form-control">
                </div>
                <div class="col-md-4">
                    <p class="help-block ">Abgekürzter Vorname. Für "Christian" z.B. "Ch."</p>
                </div>
            </div> # class="form-group"
        
            <div class="form-group">
                <div class="col-md-2">
                    <label for="id" class="control-label">Firstname</label>
                </div>
                <div class="col-md-6 ">
                    <input id="firstname" type="text" class="form-control">
                </div>
                <div class="col-md-4">
                    <p class="help-block ">Please write the complete firstname</p>
                </div>
            </div> # class="form-group"
        
        </div> # class="tab-pane" Pill 1
        
        # Pill 2
        <div role="tabpanel" class="tab-pane active" id="person">

            <div class="form-group">
                <div class="col-md-2">
                    <label for="id" class="control-label">Name</label>
                </div>
                <div class="col-md-6 ">
                    <input id="name" type="text" class="form-control">
                </div>
                <div class="col-md-4">
                    <p class="help-block ">Abgekürzter Vorname. Für "Christian" z.B. "Ch."</p>
                </div>
            </div> # class="form-group"

            <div class="form-group">
                <div class="col-md-8">
                    <fieldset>
                        <div class="form-group">
                            <div class="col-md-2"> ...
                            <div class="col-md-6"> ...
                            <div class="col-md-4"> ...
                        </div>
                    </fieldset>
                </div>
                <div class="col-md-4">
                    <p class="help-block ">Abgekürzter Vorname. Für "Christian" z.B. "Ch."</p>
                </div>
            </div> # class="form-group"

            # fieldset: nested
            <div class="tab-content">
                
            </div> # class="tab-content"
        
        </div> # class="tab-pane" Pill 2
        
        
    </div> # class="tab-content"    </form>
    
</div> # class="container-fluid"