Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit31a5bbd

Browse files
committed
Job view partially working now
1 parentaeb620a commit31a5bbd

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

‎frontend/client/views/pipeline/log.vue‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</template>
77

88
<script>
9-
importMessagefrom'vue-bulma-message'
9+
importMessagefrom'vue-bulma-message-html'
1010
1111
exportdefault {
1212
data () {
@@ -52,7 +52,7 @@ export default {
5252
5353
// job id is optional. If ommitted, all logs from all jobs
5454
// are displayed.
55-
this.jobID=this.$route.query.jobID
55+
this.jobID=this.$route.query.jobid
5656
5757
// Maximum received bytes
5858
constbufferSize=1024
@@ -70,6 +70,9 @@ export default {
7070
// We add the received log
7171
this.logText+=response.data.log
7272
73+
// LF does not work for HTML. Replace with <br />
74+
this.logText=this.logText.replace(/\n/g,'<br />')
75+
7376
// Set the new start position defined by return value
7477
this.startPos=response.data.start
7578
}

‎frontend/package-lock.json‎

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎frontend/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"vue-bulma-collapse":"1.0.3",
5050
"vue-bulma-datepicker":"^1.3.0",
5151
"vue-bulma-expanding":"^0.0.1",
52-
"vue-bulma-message":"^1.1.1",
52+
"vue-bulma-message-html":"^1.1.2",
5353
"vue-bulma-modal":"1.0.1",
5454
"vue-bulma-notification-fixed":"^1.1.0",
5555
"vue-bulma-progress-bar":"^1.0.2",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp