detail issu by default

This commit is contained in:
afornerot 2024-02-23 13:04:21 +01:00
parent 072afb2a1c
commit b81226d125
2 changed files with 21 additions and 13 deletions

3
Makefile Normal file
View File

@ -0,0 +1,3 @@
update:
git pull
docker-compose exec ninegitea /app/misc/scrpit/reconfigure.sh

View File

@ -45,6 +45,7 @@
} }
.text-small { font-size:80%} .text-small { font-size:80%}
.text-verysmall { font-size:70%}
.submenu a:hover { .submenu a:hover {
text-decoration: none; text-decoration: none;
@ -224,13 +225,17 @@
<div class="text-small" style="cursor:pointer; word-break: break-word;" onClick="$('#issu-detail{{ issue.id }}').toggle()">{{ issue.giteatitle }}</div> <div class="text-small" style="cursor:pointer; word-break: break-word;" onClick="$('#issu-detail{{ issue.id }}').toggle()">{{ issue.giteatitle }}</div>
</div> </div>
<a target="_blank" class="modcolumn btn btn-link fa fa-file fa-fw p-0 m-0 pl-1" href="{{issue.giteajson.html_url}}" onMouseenter="issuhover(this,{{ issue.id }})" ></a> <div id="viewissu{{ issue.id }}" class="viewissu mb-2" onMouseenter="issuhover(this,{{ issue.id }})" data-issue="{{ issue.id }}" data-giteaid="{{issue.giteanumber}}" data-giteatitle="{{ issue.giteatitle }}" type="button" style="line-height:9px; text-align:center;">
<i class="btn btn-link fas fa-eye p-0 m-0 fa-fw"></i>
<br><span class="text-verysmall issue{{issue.id}}-weight">{{ issue.weight }}</span>
</div>
</div> </div>
<div id="submenu{{issue.id}}" class="submenu" onmouseleave="issuout(this)" style=" <div id="submenu{{issue.id}}" class="submenu" onmouseleave="issuout(this)" style="
position: absolute; position: absolute;
left: 227px; left: 223px;
top: -1px; top: -1px;
width:200px; width:200px;
z-index:1200; z-index:1200;
@ -241,24 +246,24 @@
border-radius: .25rem; border-radius: .25rem;
"> ">
<a target="_blank" href="{{issue.giteajson.html_url}}" style="cursor:pointer" class="modcolumn mb-2"> <div id="viewissu{{ issue.id }}" class="viewissu mb-2" data-issue="{{ issue.id }}" data-giteaid="{{issue.giteanumber}}" data-giteatitle="{{ issue.giteatitle }}">
<i class="btn btn-link fa fa-file fa-fw p-0 m-0 pl-1 pl-1"></i> <i class="btn fas fa-eye p-0 m-0 fa-fw pl-1 pl-1"></i>
<span>Modifier dans Gitea</span>
</a>
<div id="viewissu{{ issue.id }}" class="viewissu mb-2" data-issue="{{ issue.id }}" data-giteaid="{{issue.giteanumber}}" data-giteatitle="{{ issue.giteatitle }}" type="button">
<i class="btn btn-link fas fa-eye p-0 m-0 fa-fw pl-1 pl-1"></i>
<span> <span>
Aperçu Ticket Aperçu Ticket
</span> </span>
</div> </div>
<div id="modissu{{ issue.id }}" class="modissu mb-2" data-issue="{{ issue.id }}" data-giteaid="{{issue.giteanumber}}" data-giteatitle="{{ issue.giteatitle }}" type="button"> <a target="_blank" href="{{issue.giteajson.html_url}}" style="cursor:pointer" class="modcolumn mb-2">
<i class="btn btn-link fas fa-weight-hanging p-0 m-0 fa-fw pl-1 pl-1"></i> <i class="btn fa fa-file fa-fw p-0 m-0 pl-1 pl-1"></i>
<span>Modifier dans Gitea</span>
</a>
<div id="modissu{{ issue.id }}" class="modissu mb-2" data-issue="{{ issue.id }}" data-giteaid="{{issue.giteanumber}}" data-giteatitle="{{ issue.giteatitle }}">
<i class="btn fas fa-weight-hanging p-0 m-0 fa-fw pl-1 pl-1"></i>
<span> <span>
Modifier le Poids = <span class="issue{{issue.id}}-weight">{{ issue.weight }}</span> Modifier le Poids = <span class="issue{{issue.id}}-weight">{{ issue.weight }}</span>
</span> </span>
</div> </div>
</div> </div>
<div id="issu-detail{{ issue.id }}" class="card-body p-1 issu-detail"> <div id="issu-detail{{ issue.id }}" class="card-body p-1 issu-detail">