Make debug info collapsable
This commit is contained in:
@@ -305,6 +305,17 @@ input, input.form-control
|
|||||||
|
|
||||||
|
|
||||||
/* Debug styles, such as status color legend on help */
|
/* Debug styles, such as status color legend on help */
|
||||||
|
.debug-info
|
||||||
|
padding-top: 10px
|
||||||
|
display: flex
|
||||||
|
flex-direction: column
|
||||||
|
|
||||||
|
.debug-info-toggle
|
||||||
|
width: 100%
|
||||||
|
color: $color-text-dark-hint
|
||||||
|
font-size: .9em
|
||||||
|
text-align: right
|
||||||
|
|
||||||
.status-debug-item
|
.status-debug-item
|
||||||
width: 100%
|
width: 100%
|
||||||
|
|
||||||
|
@@ -79,6 +79,8 @@
|
|||||||
&.properties-status
|
&.properties-status
|
||||||
cursor: help
|
cursor: help
|
||||||
|
|
||||||
|
.attract-box+.attract-box
|
||||||
|
margin-top: 0
|
||||||
|
|
||||||
#task-add
|
#task-add
|
||||||
margin-left: auto
|
margin-left: auto
|
||||||
|
@@ -81,7 +81,17 @@
|
|||||||
|
|
||||||
#item-view-feed
|
#item-view-feed
|
||||||
#activities
|
#activities
|
||||||
|
|
||||||
| {% if config.DEBUG %}
|
| {% if config.DEBUG %}
|
||||||
|
.debug-info
|
||||||
|
a.debug-info-toggle(role='button',
|
||||||
|
data-toggle='collapse',
|
||||||
|
href='#debug-content',
|
||||||
|
aria-expanded='false',
|
||||||
|
aria-controls='debug-content')
|
||||||
|
i.pi-info
|
||||||
|
| Debug Information
|
||||||
|
#debug-content.collapse
|
||||||
pre.
|
pre.
|
||||||
{{ shot.to_dict() | pprint }}
|
{{ shot.to_dict() | pprint }}
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
@@ -120,12 +120,21 @@
|
|||||||
|
|
||||||
#item-view-feed
|
#item-view-feed
|
||||||
#activities
|
#activities
|
||||||
|
|
||||||
| {% if config.DEBUG %}
|
| {% if config.DEBUG %}
|
||||||
|
.debug-info
|
||||||
|
a.debug-info-toggle(role='button',
|
||||||
|
data-toggle='collapse',
|
||||||
|
href='#debug-content',
|
||||||
|
aria-expanded='false',
|
||||||
|
aria-controls='debug-content')
|
||||||
|
i.pi-info
|
||||||
|
| Debug Information
|
||||||
|
#debug-content.collapse
|
||||||
pre.
|
pre.
|
||||||
{{ task.to_dict() | pprint }}
|
{{ task.to_dict() | pprint }}
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
|
|
||||||
script.
|
script.
|
||||||
$("#assignees").select2();
|
$("#assignees").select2();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user