OneDev
Dashboards
Projects
Pull Requests
Issues
Builds
Packages
Code Search
Text
Files
Symbols
server
Code
Files
Commits
Branches
Tags
Code Comments
Code Compare
Pull Requests
Issues
List
Boards
Milestones
Builds
Packages
Statistics
Contributions
Source Lines
Child Projects
Projects
onedev
server
Commits
892e7bed
Sign In
Fix
issue #932
- CSS: Long field names and/or values break layout in issue details / board view issue details popup
Robin Shen
committed
2 years ago
892e7bed
1 parent
6879ad4c
Release
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
Total 8 files
Show one by one
■ ■
■ ■ ■ ■
server-core/src/main/java/io/onedev/server/buildspec/job/Job.java
skipped 22 lines
23
23
import javax.validation.ConstraintValidatorContext;
24
24
import javax.validation.Valid;
25
25
import javax.validation.constraints.Min;
26
-
import javax.validation.constraints.Size;
27
26
import javax.ws.rs.core.HttpHeaders;
28
27
29
28
import org.apache.wicket.Component;
skipped 146 lines
176
175
}
177
176
178
177
@Editable(order=200, description="Steps will be executed serially on same node, sharing the same <a href='$docRoot/pages/concepts.md#job-workspace'>job workspace</a>")
179
-
@Size(min=1, max=1000, message="At least one step needs to be configured")
180
178
public List<Step> getSteps() {
181
179
return steps;
182
180
}
skipped 328 lines
All occurrences
■ ■ ■ ■ ■ ■
server-core/src/main/java/io/onedev/server/web/component/build/list/BuildListPanel.html
skipped 48 lines
49
49
<span wicket:id="name"></span>
50
50
<span wicket:id="date"></span>
51
51
</wicket:fragment>
52
-
<wicket:fragment wicket:id="commitFrag">
53
-
<a wicket:id="hashLink" class="hash"><span wicket:id="hash"></span></a>
54
-
<a wicket:id="copyHash" class="btn btn-xs btn-icon btn-light btn-hover-primary"><wicket:svg href="copy" class="icon"></wicket:svg></a>
55
-
</wicket:fragment>
56
-
<wicket:fragment wicket:id="pullRequestFrag">
57
-
<a wicket:id="link"><span wicket:id="label"></span></a>
58
-
</wicket:fragment>
59
52
<wicket:fragment wicket:id="listParamsFrag">
60
53
<div class="build-list-params">
61
54
<form wicket:id="form">
skipped 16 lines
All occurrences
■ ■
■ ■ ■
■
server-core/src/main/java/io/onedev/server/web/component/build/list/BuildListPanel.java
skipped 747 lines
748
748
@Override
749
749
protected void onSubmit(AjaxRequestTarget target, Form<?> form) {
750
750
super.onSubmit(target, form);
751
-
modal.close();
752
751
if (getProject() != null) {
753
752
getProject().getBuildSetting().setListParams(listParams);
754
753
OneDev.getInstance(ProjectManager.class).save(getProject());
skipped 1 lines
756
755
getGlobalBuildSetting().setListParams(listParams);
757
756
OneDev.getInstance(SettingManager.class).saveBuildSetting(getGlobalBuildSetting());
758
757
}
759
-
target.add(body);
758
+
setResponsePage(getPage().getClass(), getPage().getPageParameters());
760
759
}
761
760
762
761
});
skipped 330 lines
1093
1092
1094
1093
@Override
1095
1094
public String getCssClass() {
1096
-
return "param d-none d-xl-table-cell";
1095
+
return "param d-none d-xl-table-cell
text
-
break
";
1097
1096
}
1098
1097
1099
1098
@Override
skipped 97 lines
All occurrences
■ ■ ■ ■
■ ■
server-core/src/main/java/io/onedev/server/web/component/build/side/build-side.css
skipped 27 lines
28
28
display: table-cell;
29
29
padding: 0 0 1.5rem 1rem;
30
30
}
31
+
.build-side>.params.properties>div>div.name,
32
+
.build-side>.params.properties>div>div.value {
33
+
max-width: 150px;
34
+
}
31
35
.build-side>.properties>div:last-child>div {
32
36
padding-bottom: 0;
33
37
}
skipped 5 lines
All occurrences
■
■ ■ ■ ■ ■
server-core/src/main/java/io/onedev/server/web/component/issue/fieldvalues/field-values.css
skipped 10 lines
11
11
cursor: pointer;
12
12
display: none;
13
13
}
14
+
All occurrences
■ ■ ■ ■ ■ ■
server-core/src/main/java/io/onedev/server/web/component/issue/side/issue-side.css
skipped 21 lines
22
22
vertical-align: top;
23
23
font-weight: 600;
24
24
}
25
+
.issue-side>.fields>.body>table>tbody>tr>td.name>span {
26
+
max-width: 120px;
27
+
display: inline-block;
28
+
word-break: break-all;
29
+
}
25
30
.issue-side>.fields>.body>table>tbody>tr>td.values {
26
31
padding-bottom: 0.6rem;
27
32
vertical-align: top;
33
+
}
34
+
.issue-side .field-values .value>span {
35
+
white-space: normal !important;
36
+
display: inline-block;
37
+
word-break: break-all;
38
+
max-width: 150px;
28
39
}
29
40
.issue-side>.fields>.body>table>tbody>tr:last-child>td {
30
41
padding-bottom: 0;
skipped 17 lines
All occurrences
■ ■
■ ■
■ ■
server-core/src/main/java/io/onedev/server/web/component/issue/workflowreconcile/WorkflowReconcilePanel.html
skipped 81 lines
82
82
<tbody>
83
83
<tr wicket:id="rows">
84
84
<td class="name">
85
-
<span wicket:id="name"></span>
85
+
<span wicket:id="name"
class
=
"
text
-
break
"
></span>
86
86
</td>
87
87
<td class="value">
88
-
<span wicket:id="value"></span>
88
+
<span wicket:id="value"
class
=
"
text
-
break
"
></span>
89
89
</td>
90
90
<td class="resolution">
91
91
<div wicket:id="resolution"></div>
skipped 12 lines
All occurrences
■
■
■ ■ ■ ■
server-core/src/main/java/io/onedev/server/web/editable/editable.css
skipped 45 lines
46
46
}
47
47
.editable table.norecords tfoot td {
48
48
border: none;
49
-
padding: 0;
49
+
padding:
4px
0
0
0;
50
50
font-style: italic;
51
51
background-image: none;
52
52
height: auto;
skipped 106 lines
All occurrences
Please wait...
Page is in error, reload to recover