|
299 | 299 | {{$.CsrfTokenHtml}} |
300 | 300 | </form> |
301 | 301 | {{if $.IsStopwatchRunning}} |
302 | | - <button class="ui fluid button issue-stop-time">{{.locale.Tr "repo.issues.stop_tracking"}}</button> |
303 | | - <button class="ui fluid negative button issue-cancel-time gt-mt-3">{{.locale.Tr "repo.issues.cancel_tracking"}}</button> |
| 302 | + <button class="ui fluid button issue-stop-time"> |
| 303 | + {{svg "octicon-stopwatch" 16 "gt-mr-3"}} |
| 304 | + {{.locale.Tr "repo.issues.stop_tracking"}} |
| 305 | + </button> |
| 306 | + <button class="ui fluid button issue-cancel-time gt-mt-3"> |
| 307 | + {{svg "octicon-trash" 16 "gt-mr-3"}} |
| 308 | + {{.locale.Tr "repo.issues.cancel_tracking"}} |
| 309 | + </button> |
304 | 310 | {{else}} |
305 | 311 | {{if .HasUserStopwatch}} |
306 | 312 | <div class="ui warning message"> |
307 | 313 | {{.locale.Tr "repo.issues.tracking_already_started" (.OtherStopwatchURL|Escape) | Safe}} |
308 | 314 | </div> |
309 | 315 | {{end}} |
310 | | - <button class="ui fluid button issue-start-time" data-tooltip-content='{{.locale.Tr "repo.issues.start_tracking"}}'>{{.locale.Tr "repo.issues.start_tracking_short"}}</button> |
| 316 | + <button class="ui fluid button issue-start-time" data-tooltip-content='{{.locale.Tr "repo.issues.start_tracking"}}'> |
| 317 | + {{svg "octicon-stopwatch" 16 "gt-mr-3"}} |
| 318 | + {{.locale.Tr "repo.issues.start_tracking_short"}} |
| 319 | + </button> |
311 | 320 | <div class="ui mini modal issue-start-time-modal"> |
312 | 321 | <div class="header">{{.locale.Tr "repo.issues.add_time"}}</div> |
313 | 322 | <div class="content"> |
314 | | - <form method="post" id="add_time_manual_form" action="{{.Issue.Link}}/times/add" class="ui action input fluid"> |
| 323 | + <form method="post" id="add_time_manual_form" action="{{.Issue.Link}}/times/add" class="ui input fluid gt-gap-3"> |
315 | 324 | {{$.CsrfTokenHtml}} |
316 | 325 | <input placeholder='{{.locale.Tr "repo.issues.add_time_hours"}}' type="number" name="hours"> |
317 | 326 | <input placeholder='{{.locale.Tr "repo.issues.add_time_minutes"}}' type="number" name="minutes" class="ui compact"> |
|
322 | 331 | <button class="ui red cancel button">{{.locale.Tr "repo.issues.add_time_cancel"}}</button> |
323 | 332 | </div> |
324 | 333 | </div> |
325 | | - <button class="ui fluid button green issue-add-time gt-mt-3" data-tooltip-content='{{.locale.Tr "repo.issues.add_time"}}'>{{.locale.Tr "repo.issues.add_time_short"}}</button> |
| 334 | + <button class="ui fluid button issue-add-time gt-mt-3" data-tooltip-content='{{.locale.Tr "repo.issues.add_time"}}'> |
| 335 | + {{svg "octicon-plus" 16 "gt-mr-3"}} |
| 336 | + {{.locale.Tr "repo.issues.add_time_short"}} |
| 337 | + </button> |
326 | 338 | {{end}} |
327 | 339 | </div> |
328 | 340 | </div> |
|
381 | 393 | <form class="ui fluid action input issue-due-form" action="{{AppSubUrl}}/{{PathEscape .Repository.Owner.Name}}/{{PathEscape .Repository.Name}}/issues/{{.Issue.Index}}/deadline" method="post" id="update-issue-deadline-form"> |
382 | 394 | {{$.CsrfTokenHtml}} |
383 | 395 | <input required placeholder="{{.locale.Tr "repo.issues.due_date_form"}}" {{if gt .Issue.DeadlineUnix 0}}value="{{.Issue.DeadlineUnix.Format "2006-01-02"}}"{{end}} type="date" name="deadlineDate" id="deadlineDate"> |
384 | | - <button class="ui green icon button"> |
| 396 | + <button class="ui icon button"> |
385 | 397 | {{if ne .Issue.DeadlineUnix 0}} |
386 | 398 | {{svg "octicon-pencil"}} |
387 | 399 | {{else}} |
|
417 | 429 | {{range .BlockingDependencies}} |
418 | 430 | <div class="item dependency{{if .Issue.IsClosed}} is-closed{{end}} gt-df gt-ac gt-sb"> |
419 | 431 | <div class="item-left gt-df gt-jc gt-fc gt-f1"> |
420 | | - <a class="title" href="{{.Issue.Link}}" data-tooltip-content="#{{.Issue.Index}} {{.Issue.Title | RenderEmoji $.Context}}"> |
| 432 | + <a class="title muted" href="{{.Issue.Link}}" data-tooltip-content="#{{.Issue.Index}} {{.Issue.Title | RenderEmoji $.Context}}"> |
421 | 433 | #{{.Issue.Index}} {{.Issue.Title | RenderEmoji $.Context}} |
422 | 434 | </a> |
423 | 435 | <div class="text small"> |
|
449 | 461 | {{range .BlockedByDependencies}} |
450 | 462 | <div class="item dependency{{if .Issue.IsClosed}} is-closed{{end}} gt-df gt-ac gt-sb"> |
451 | 463 | <div class="item-left gt-df gt-jc gt-fc gt-f1"> |
452 | | - <a class="title" href="{{.Issue.Link}}" data-tooltip-content="#{{.Issue.Index}} {{.Issue.Title | RenderEmoji $.Context}}"> |
| 464 | + <a class="title muted" href="{{.Issue.Link}}" data-tooltip-content="#{{.Issue.Index}} {{.Issue.Title | RenderEmoji $.Context}}"> |
453 | 465 | #{{.Issue.Index}} {{.Issue.Title | RenderEmoji $.Context}} |
454 | 466 | </a> |
455 | 467 | <div class="text small"> |
|
507 | 519 | <input type="text" class="search"> |
508 | 520 | <div class="default text">{{.locale.Tr "repo.issues.dependency.add"}}</div> |
509 | 521 | </div> |
510 | | - <button class="ui green icon button"> |
| 522 | + <button class="ui icon button"> |
511 | 523 | {{svg "octicon-plus"}} |
512 | 524 | </button> |
513 | 525 | </div> |
|
643 | 655 | </form> |
644 | 656 | </div> |
645 | 657 | </div> |
646 | | - <button class="gt-mt-2 fluid ui show-modal button negative" data-modal="#delete"> |
| 658 | + <button class="gt-mt-2 fluid ui show-modal button" data-modal="#delete"> |
647 | 659 | {{svg "octicon-trash"}} |
648 | 660 | {{.locale.Tr "repo.issues.delete"}} |
649 | 661 | </button> |
|
0 commit comments