Gestion de l'import skill/categories

This commit is contained in:
LeRatierBretonnien 2024-08-10 00:15:44 +02:00
parent 8b37e16915
commit de884cbd22
27 changed files with 70 additions and 34 deletions

View File

@ -45,4 +45,9 @@
font-weight: bold; font-weight: bold;
border-bottom: 1px solid; border-bottom: 1px solid;
background-image: linear-gradient(rgba(0, 0, 0, 0.1) 0 0); background-image: linear-gradient(rgba(0, 0, 0, 0.1) 0 0);
}
.skills-name-left-align {
text-align: left;
padding-left: 2px;
} }

View File

@ -1 +1 @@
MANIFEST-000101 MANIFEST-000113

View File

@ -1,3 +1,8 @@
2024/08/09-23:57:39.252249 7f92874006c0 Recovering log #99 2024/08/10-00:13:42.653716 7f9286a006c0 Recovering log #111
2024/08/09-23:57:39.263715 7f92874006c0 Delete type=3 #97 2024/08/10-00:13:42.702147 7f9286a006c0 Delete type=3 #109
2024/08/09-23:57:39.263837 7f92874006c0 Delete type=0 #99 2024/08/10-00:13:42.702252 7f9286a006c0 Delete type=0 #111
2024/08/10-00:15:09.358300 7f9285a006c0 Level-0 table #116: started
2024/08/10-00:15:09.358337 7f9285a006c0 Level-0 table #116: 0 bytes OK
2024/08/10-00:15:09.364353 7f9285a006c0 Delete type=0 #114
2024/08/10-00:15:09.392733 7f9285a006c0 Manual compaction at level-0 from '!items!1HevhbCbvMonyQXe' @ 72057594037927935 : 1 .. '!items!yRIFroc5VC9Oj3qY' @ 0 : 0; will stop at (end)
2024/08/10-00:15:09.392780 7f9285a006c0 Manual compaction at level-1 from '!items!1HevhbCbvMonyQXe' @ 72057594037927935 : 1 .. '!items!yRIFroc5VC9Oj3qY' @ 0 : 0; will stop at (end)

View File

@ -1,8 +1,8 @@
2024/08/09-23:54:12.263425 7f92874006c0 Recovering log #95 2024/08/10-00:12:37.568139 7f9287e006c0 Recovering log #107
2024/08/09-23:54:12.272735 7f92874006c0 Delete type=3 #93 2024/08/10-00:12:37.578251 7f9287e006c0 Delete type=3 #105
2024/08/09-23:54:12.272785 7f92874006c0 Delete type=0 #95 2024/08/10-00:12:37.578313 7f9287e006c0 Delete type=0 #107
2024/08/09-23:56:47.698844 7f9285a006c0 Level-0 table #100: started 2024/08/10-00:13:00.464797 7f9285a006c0 Level-0 table #112: started
2024/08/09-23:56:47.698916 7f9285a006c0 Level-0 table #100: 0 bytes OK 2024/08/10-00:13:00.464827 7f9285a006c0 Level-0 table #112: 0 bytes OK
2024/08/09-23:56:47.705094 7f9285a006c0 Delete type=0 #98 2024/08/10-00:13:00.471404 7f9285a006c0 Delete type=0 #110
2024/08/09-23:56:47.744132 7f9285a006c0 Manual compaction at level-0 from '!items!1HevhbCbvMonyQXe' @ 72057594037927935 : 1 .. '!items!yRIFroc5VC9Oj3qY' @ 0 : 0; will stop at (end) 2024/08/10-00:13:00.478060 7f9285a006c0 Manual compaction at level-0 from '!items!1HevhbCbvMonyQXe' @ 72057594037927935 : 1 .. '!items!yRIFroc5VC9Oj3qY' @ 0 : 0; will stop at (end)
2024/08/09-23:56:47.760291 7f9285a006c0 Manual compaction at level-1 from '!items!1HevhbCbvMonyQXe' @ 72057594037927935 : 1 .. '!items!yRIFroc5VC9Oj3qY' @ 0 : 0; will stop at (end) 2024/08/10-00:13:00.478094 7f9285a006c0 Manual compaction at level-1 from '!items!1HevhbCbvMonyQXe' @ 72057594037927935 : 1 .. '!items!yRIFroc5VC9Oj3qY' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@ -0,0 +1 @@
MANIFEST-000002

0
packs/skills-merp/LOCK Normal file
View File

5
packs/skills-merp/LOG Normal file
View File

@ -0,0 +1,5 @@
2024/08/10-00:13:42.782130 7f9287e006c0 Delete type=3 #1
2024/08/10-00:15:09.364559 7f9285a006c0 Level-0 table #5: started
2024/08/10-00:15:09.368108 7f9285a006c0 Level-0 table #5: 33871 bytes OK
2024/08/10-00:15:09.374591 7f9285a006c0 Delete type=0 #3
2024/08/10-00:15:09.392750 7f9285a006c0 Manual compaction at level-0 from '!items!5Sg9t8YQubtRoghF' @ 72057594037927935 : 1 .. '!items!zvdsAxlRZnL6gqms' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

Binary file not shown.

View File

@ -0,0 +1 @@
MANIFEST-000002

0
packs/skills-rmfrp/LOCK Normal file
View File

5
packs/skills-rmfrp/LOG Normal file
View File

@ -0,0 +1,5 @@
2024/08/10-00:13:42.844297 7f9286a006c0 Delete type=3 #1
2024/08/10-00:15:09.374814 7f9285a006c0 Level-0 table #5: started
2024/08/10-00:15:09.380438 7f9285a006c0 Level-0 table #5: 109466 bytes OK
2024/08/10-00:15:09.386532 7f9285a006c0 Delete type=0 #3
2024/08/10-00:15:09.392760 7f9285a006c0 Manual compaction at level-0 from '!items!03BgTdeYE7TYk9LN' @ 72057594037927935 : 1 .. '!items!zYdJP3YQjsK9c3kh' @ 0 : 0; will stop at (end)

Binary file not shown.

0
packs/skills/000029.log Normal file
View File

View File

@ -1 +1 @@
MANIFEST-000019 MANIFEST-000027

View File

@ -1,3 +1,8 @@
2024/08/09-23:57:39.267134 7f9287e006c0 Recovering log #17 2024/08/10-00:12:37.581095 7f928cc006c0 Recovering log #25
2024/08/09-23:57:39.276489 7f9287e006c0 Delete type=3 #15 2024/08/10-00:12:37.591191 7f928cc006c0 Delete type=3 #23
2024/08/09-23:57:39.276571 7f9287e006c0 Delete type=0 #17 2024/08/10-00:12:37.591242 7f928cc006c0 Delete type=0 #25
2024/08/10-00:13:00.458023 7f9285a006c0 Level-0 table #30: started
2024/08/10-00:13:00.458082 7f9285a006c0 Level-0 table #30: 0 bytes OK
2024/08/10-00:13:00.464677 7f9285a006c0 Delete type=0 #28
2024/08/10-00:13:00.478046 7f9285a006c0 Manual compaction at level-0 from '!folders!Lr9SCthdWWHecwEI' @ 72057594037927935 : 1 .. '!items!zvdsAxlRZnL6gqms' @ 0 : 0; will stop at (end)
2024/08/10-00:13:00.478087 7f9285a006c0 Manual compaction at level-1 from '!folders!Lr9SCthdWWHecwEI' @ 72057594037927935 : 1 .. '!items!zvdsAxlRZnL6gqms' @ 0 : 0; will stop at (end)

View File

@ -1,8 +1,8 @@
2024/08/09-23:54:12.275641 7f928cc006c0 Recovering log #13 2024/08/10-00:09:58.191133 7f9287e006c0 Recovering log #21
2024/08/09-23:54:12.285878 7f928cc006c0 Delete type=3 #11 2024/08/10-00:09:58.202000 7f9287e006c0 Delete type=3 #19
2024/08/09-23:54:12.285936 7f928cc006c0 Delete type=0 #13 2024/08/10-00:09:58.202091 7f9287e006c0 Delete type=0 #21
2024/08/09-23:56:47.736686 7f9285a006c0 Level-0 table #18: started 2024/08/10-00:12:27.849269 7f9285a006c0 Level-0 table #26: started
2024/08/09-23:56:47.736717 7f9285a006c0 Level-0 table #18: 0 bytes OK 2024/08/10-00:12:27.849334 7f9285a006c0 Level-0 table #26: 0 bytes OK
2024/08/09-23:56:47.743954 7f9285a006c0 Delete type=0 #16 2024/08/10-00:12:27.856159 7f9285a006c0 Delete type=0 #24
2024/08/09-23:56:47.760260 7f9285a006c0 Manual compaction at level-0 from '!folders!Lr9SCthdWWHecwEI' @ 72057594037927935 : 1 .. '!items!zvdsAxlRZnL6gqms' @ 0 : 0; will stop at (end) 2024/08/10-00:12:27.862891 7f9285a006c0 Manual compaction at level-0 from '!folders!Lr9SCthdWWHecwEI' @ 72057594037927935 : 1 .. '!items!zvdsAxlRZnL6gqms' @ 0 : 0; will stop at (end)
2024/08/09-23:56:47.760325 7f9285a006c0 Manual compaction at level-1 from '!folders!Lr9SCthdWWHecwEI' @ 72057594037927935 : 1 .. '!items!zvdsAxlRZnL6gqms' @ 0 : 0; will stop at (end) 2024/08/10-00:12:27.862915 7f9285a006c0 Manual compaction at level-1 from '!folders!Lr9SCthdWWHecwEI' @ 72057594037927935 : 1 .. '!items!zvdsAxlRZnL6gqms' @ 0 : 0; will stop at (end)

View File

@ -232,6 +232,10 @@
border-bottom: 1px solid; border-bottom: 1px solid;
background-image: linear-gradient(rgba(0, 0, 0, 0.1) 0 0); background-image: linear-gradient(rgba(0, 0, 0, 0.1) 0 0);
} }
.skills-name-left-align {
text-align: left;
padding-left: 2px;
}
.money-column { .money-column {
flex-direction: column; flex-direction: column;
} }

View File

@ -3,7 +3,7 @@
"title": "Rolemaster FRP System", "title": "Rolemaster FRP System",
"description": "The Rolemaster FRP system for FoundryVTT.", "description": "The Rolemaster FRP system for FoundryVTT.",
"manifest": "https://www.uberwald.me/gitea/public/fvtt-rolemaster-frp/raw/branch/develop/system.json", "manifest": "https://www.uberwald.me/gitea/public/fvtt-rolemaster-frp/raw/branch/develop/system.json",
"download": "https://www.uberwald.me/gitea/public/fvtt-rolemaster-frp/archive/v12.0.12.zip", "download": "https://www.uberwald.me/gitea/public/fvtt-rolemaster-frp/archive/v12.0.13.zip",
"authors": [ "authors": [
{ {
"name": "Cynicide", "name": "Cynicide",
@ -14,7 +14,7 @@
"email": "" "email": ""
} }
], ],
"version": "12.0.12", "version": "12.0.13",
"compatibility": { "compatibility": {
"minimum": "12", "minimum": "12",
"verified": "12" "verified": "12"
@ -31,10 +31,17 @@
"type": "Item" "type": "Item"
}, },
{ {
"name": "skill", "name": "skill-merp",
"label": "Skills", "label": "Skills (MERP)",
"system": "fvtt-rolemaster-frp", "system": "fvtt-rolemaster-frp",
"path": "./packs/skills", "path": "./packs/skills-merp",
"type": "Item"
},
{
"name": "skill-rmfrp",
"label": "Skills (RMFRP)",
"system": "fvtt-rolemaster-frp",
"path": "./packs/skills-rmfrp",
"type": "Item" "type": "Item"
} }
], ],

View File

@ -19,7 +19,7 @@
{{#each skillcat as |skill_category id|}} {{#each skillcat as |skill_category id|}}
<div class="skillcat-grid-container"> <div class="skillcat-grid-container">
<div>{{skill_category.name}}</div> <div><a class="item-roll" title="Roll Check" data-item-id="{{skill_category._id}}">{{skill_category.name}}</a> <i class="fas fa-dice"></i></div>
<div>{{skill_category.system.applicable_stats}}</div> <div>{{skill_category.system.applicable_stats}}</div>
<div>{{skill_category.system.development_cost}}</div> <div>{{skill_category.system.development_cost}}</div>
<div>{{skill_category.system.ranks}}</div> <div>{{skill_category.system.ranks}}</div>
@ -39,8 +39,7 @@
<div>{{skill_category.system.total_bonus}}</div> <div>{{skill_category.system.total_bonus}}</div>
<div class="skillcat-icons"> <div class="skillcat-icons">
<a class="item-edit" title="Edit Category" data-item-id="{{skill_category._id}}"><i class="fas fa-edit"></i></a> <a class="item-edit" title="Edit Category" data-item-id="{{skill_category._id}}"><i class="fas fa-edit"></i></a>
<a class="item-delete item" title="Delete Category" data-item-id="{{skill_category._id}}"><i class="fas fa-trash"></i></a> <a class="item-delete item" title="Delete Category" data-item-id="{{skill_category._id}}"><i class="fas fa-trash"></i></a>
<a class="item-roll" title="Roll Check" data-item-id="{{skill_category._id}}"><i class="fas fa-dice"></i></a>
</div> </div>
</div> </div>

View File

@ -22,7 +22,7 @@
<div><a class="skill-favorite" data-item-id="{{skill._id}}"><i class="fa-regular fa-square"></i></a></div> <div><a class="skill-favorite" data-item-id="{{skill._id}}"><i class="fa-regular fa-square"></i></a></div>
{{/if}} {{/if}}
<!--<div><input type="checkbox" name="system.favorite" {{checked skill.system.favorite}}/></div>--> <!--<div><input type="checkbox" name="system.favorite" {{checked skill.system.favorite}}/></div>-->
<div>{{skill.name}}</div> <div class="skills-name-left-align"><a class="item-roll" title="Roll Check" data-item-id="{{skill_category._id}}">{{skill.name}}<i class="fas fa-dice"></i></a></div>
<div>{{skill.system.ranks}}</div> <div>{{skill.system.ranks}}</div>
<div> <div>
{{#switch skill.system.new_ranks.value}} {{#switch skill.system.new_ranks.value}}
@ -41,7 +41,6 @@
<div > <div >
<a class="item-edit" title="Edit Skill" data-item-id="{{skill._id}}"><i class="fas fa-edit"></i></a> <a class="item-edit" title="Edit Skill" data-item-id="{{skill._id}}"><i class="fas fa-edit"></i></a>
<a class="item-delete" title="Delete Skill" data-item-id="{{skill._id}}"><i class="fas fa-trash"></i></a> <a class="item-delete" title="Delete Skill" data-item-id="{{skill._id}}"><i class="fas fa-trash"></i></a>
<a class="item-roll" title="Roll Check" data-item-id="{{skill._id}}"><i class="fas fa-dice"></i></a>
</div> </div>
</div> </div>