@@ -16,45 +16,52 @@ <h2 class="text-center m-3"><b>Semantic Network Analysis</b> <span class="badge
16
16
{% endfor %}
17
17
{% endif %}
18
18
19
- < b > {{ form.data.label }}</ b >
20
- {{ form.data }}
21
- {% for error in form.data.errors %}
22
- < small class ="form-text text-danger text-center mb-1 "> {{ error }}</ small >
23
- {% endfor %}
24
- < span class ="form-text text-muted help_text mb-3 "> One post must be entered per line.</ span >
19
+ < div class ="mb-3 ">
20
+ < b > {{ form.data.label }}</ b >
21
+ {{ form.data }}
22
+ < span class ="form-text text-muted help_text "> One post must be entered per line.</ span >
23
+ {% for error in form.data.errors %}
24
+ < small class ="form-text text-danger text-center "> {{ error }}</ small >
25
+ {% endfor %}
26
+ </ div >
25
27
26
- < div class ="input-group ">
27
- < div class ="input-group-prepend ">
28
- < span class ="input-group-text " id ="data-addon "> {{ form.data_file.label }}</ span >
29
- </ div >
30
- < div class ="custom-file ">
31
- {{ form.data_file }}
32
- < label class ="custom-file-label " for ="datafile "> Choose File (*.txt, *.csv)</ label >
28
+ < div class ="mb-3 ">
29
+ < div class ="input-group ">
30
+ < div class ="input-group-prepend ">
31
+ < span class ="input-group-text " id ="data-addon "> {{ form.data_file.label }}</ span >
32
+ </ div >
33
+ < div class ="custom-file ">
34
+ {{ form.data_file }}
35
+ < label class ="custom-file-label " for ="datafile "> Choose File (*.txt, *.csv)</ label >
36
+ </ div >
33
37
</ div >
38
+ < div class ="form-text text-muted help_text "> {{ form.data_file.help_text }}</ div >
39
+ < div class ="form-text text-muted help_text "> One post must be entered per line (row).</ div >
40
+ {% for error in form.data_file.errors %}
41
+ < small class ="form-text text-danger "> {{ error }}</ small >
42
+ {% endfor %}
34
43
</ div >
35
- {% for error in form.data_file.errors %}
36
- < small class ="form-text text-danger "> {{ error }}</ small >
37
- {% endfor %}
38
- < div class ="form-text text-muted help_text "> {{ form.data_file.help_text }}</ div >
39
- < div class ="form-text text-muted help_text mb-3 "> One post must be entered per line (row).</ div >
40
44
41
- < div class ="row ">
45
+ < div class ="row mb-3 ">
42
46
< div class ="col ">
43
47
< b > {{ form.node_num.label }}</ b > {{ form.node_num }}
44
- < span class ="form-text text-muted help_text mb-3 "> {{ form.node_num.help_text }}</ span >
48
+ < span class ="form-text text-muted help_text "> {{ form.node_num.help_text }}</ span >
49
+ {% for error in form.node_num.errors %}
50
+ < small class ="form-text text-danger "> {{ error }}</ small >
51
+ {% endfor %}
45
52
</ div >
46
53
< div class ="col ">
47
- < b > {{ form.theme.label }}</ b > {% render_field form.theme class="form-control mb-3" % }
54
+ < b > {{ form.theme.label }}</ b > {{ form.theme } }
48
55
</ div >
49
56
</ div >
50
57
51
58
< button class ="btn btn-outline-info btn-block dropdown-toggle " type ="button " data-toggle ="collapse " data-target ="#detail-config " aria-expanded ="false " aria-controls ="detail-config "> < b > Detail Configuration</ b > </ button >
52
59
< div class ="collapse " id ="detail-config ">
53
- < div class ="card card-body mt-1 ">
60
+ < div class ="card card-body ">
54
61
55
62
< div class ="container-fluid ">
56
63
57
- < div class ="row ">
64
+ < div class ="row mb-3 ">
58
65
59
66
< div class ="col ">
60
67
< b > {{ form.edge_remove_threshold.label }}</ b > {{ form.edge_remove_threshold }}
@@ -68,62 +75,66 @@ <h2 class="text-center m-3"><b>Semantic Network Analysis</b> <span class="badge
68
75
< label class ="btn btn-secondary btn-block active text-light ">
69
76
{% render_field form.remove_isolated_node autocomplete="off" %}Remove Isolated Node
70
77
</ label >
71
- < span class ="form-text text-muted help_text mb-3 "> {{ form.remove_isolated_node.help_text }}</ span >
78
+ < span class ="form-text text-muted help_text "> {{ form.remove_isolated_node.help_text }}</ span >
72
79
</ div >
73
80
</ div >
74
81
75
82
</ div >
76
83
77
- < div class ="row ">
84
+ < div class ="row mb-3 ">
78
85
79
86
< div class ="col ">
80
87
< b > {{ form.stopwords.label }}</ b > {{ form.stopwords }}
81
- < span class ="form-text text-muted help_text mb-3 "> {{ form.stopwords.help_text }}</ span >
88
+ < span class ="form-text text-muted help_text "> {{ form.stopwords.help_text }}</ span >
82
89
</ div >
83
90
84
91
< div class ="col ">
85
92
< b > {{ form.word_len_min.label }}</ b > {{ form.word_len_min }}
86
93
{% for error in form.word_len_min.errors %}
87
- < small class ="form-text text-danger mb-3 "> {{ error }}</ small >
94
+ < small class ="form-text text-danger "> {{ error }}</ small >
88
95
{% endfor %}
89
96
</ div >
90
97
91
98
</ div >
92
99
93
- < b > {{ form.iterations.label }}</ b > {{ form.iterations }}
94
- {% for error in form.iterations.errors %}
95
- < small class ="form-text text-danger mb-3 "> {{ error }}</ small >
96
- {% endfor %}
100
+ < div class ="mb-3 ">
101
+ < b > {{ form.iterations.label }}</ b > {{ form.iterations }}
102
+ {% for error in form.iterations.errors %}
103
+ < small class ="form-text text-danger "> {{ error }}</ small >
104
+ {% endfor %}
105
+ </ div >
97
106
98
- < div class ="mt-3 "> < b > {{ form.layout.label }}</ b > </ div > {{ form.layout }}
107
+ < div class ="mb-3 ">
108
+ < b > {{ form.layout.label }}</ b > {{ form.layout }}
109
+ </ div >
99
110
100
111
< div class ="row ">
101
112
102
113
< div class ="col ">
103
- < button class ="btn btn-outline-info btn-block dropdown-toggle mb-3 " type ="button " data-toggle ="collapse " data-target ="#fr-config " aria-expanded ="false " aria-controls ="fr-config "> Layout: Fruchterman Reingold Config</ button >
114
+ < button class ="btn btn-outline-info btn-block dropdown-toggle " type ="button " data-toggle ="collapse " data-target ="#fr-config " aria-expanded ="false " aria-controls ="fr-config "> Layout: Fruchterman Reingold Config</ button >
104
115
< div class ="collapse " id ="fr-config ">
105
- < div class ="card card-body mb-3 ">
116
+ < div class ="card card-body ">
106
117
< div class ="container-fluid ">
107
118
< b > {{ form.fr_k.label }}</ b > {{ form.fr_k }}
119
+ < span class ="form-text text-muted help_text "> {{ form.fr_k.help_text }}</ span >
120
+ < a href ="https://networkx.github.io/documentation/networkx-1.9/reference/generated/networkx.drawing.layout.spring_layout.html " target ="_blank "> < small class ="form-text "> See Detail Explanation</ small > </ a >
108
121
{% for error in form.fr_k.errors %}
109
- < small class ="form-text text-danger mb-1 "> {{ error }}</ small >
122
+ < small class ="form-text text-danger "> {{ error }}</ small >
110
123
{% endfor %}
111
- < span class ="form-text text-muted help_text mb-1 "> {{ form.fr_k.help_text }}</ span >
112
- < a href ="https://networkx.github.io/documentation/networkx-1.9/reference/generated/networkx.drawing.layout.spring_layout.html " target ="_blank "> < small class ="form-text mb-3 "> See Detail Explanation</ small > </ a >
113
124
</ div >
114
125
</ div >
115
126
</ div >
116
127
</ div >
117
128
118
129
< div class ="col ">
119
- < button class ="btn btn-outline-info btn-block dropdown-toggle mb-3 " type ="button " data-toggle ="collapse " data-target ="#fa2-config " aria-expanded ="false " aria-controls ="fa2-config "> Layout: ForceAtlas2 Config</ button >
130
+ < button class ="btn btn-outline-info btn-block dropdown-toggle " type ="button " data-toggle ="collapse " data-target ="#fa2-config " aria-expanded ="false " aria-controls ="fa2-config "> Layout: ForceAtlas2 Config</ button >
120
131
< div class ="collapse " id ="fa2-config ">
121
- < div class ="card card-body mb-3 ">
132
+ < div class ="card card-body ">
122
133
< div class ="container-fluid ">
123
134
< b > {{ form.fa2_square.label }}</ b > {{ form.fa2_square }}
124
135
< b > {{ form.fa2_log_base.label }}</ b > {{ form.fa2_log_base }}
125
136
{% for error in form.fa2_log_base.errors %}
126
- < small class ="form-text text-danger mb-1 "> {{ error }}</ small >
137
+ < small class ="form-text text-danger "> {{ error }}</ small >
127
138
{% endfor %}
128
139
</ div >
129
140
</ div >
0 commit comments