Compare commits
106 Commits
Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 3.8 MiB |
Before Width: | Height: | Size: 105 KiB After Width: | Height: | Size: 109 KiB |
Before Width: | Height: | Size: 1.6 MiB After Width: | Height: | Size: 1.8 MiB |
Before Width: | Height: | Size: 98 KiB After Width: | Height: | Size: 79 KiB |
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 902 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 61 KiB |
@ -1,7 +1,7 @@ |
||||
pytest==6.2.5 |
||||
grpcio-tools==1.44.0 |
||||
tabulate==0.8.9 |
||||
lxml==4.8.0 |
||||
pylint==2.12.2 |
||||
pytest-pylint==0.18.0 |
||||
pyinstaller==4.9 |
||||
pytest==7.4.2 |
||||
grpcio-tools==1.58.0 |
||||
tabulate==0.9.0 |
||||
lxml==4.9.3 |
||||
pylint==2.17.5 |
||||
pytest-pylint==0.19.0 |
||||
pyinstaller==5.13.2 |
||||
|
@ -1,8 +1,10 @@ |
||||
# python 3.8.7 |
||||
# python 3.11.4 |
||||
|
||||
flask==2.0.3 |
||||
pyyaml==6.0 |
||||
pillow==9.0.1 |
||||
selenium==4.1.0 |
||||
waitress==2.0.0 |
||||
click==8.0.4 |
||||
flask==2.3.3 |
||||
pyyaml==6.0.1 |
||||
# NOTE: Pillow 9.5.0 is the last version that provides 32-bit wheels. |
||||
pillow==9.5.0 |
||||
selenium==4.12.0 |
||||
waitress==2.1.2 |
||||
appdirs==1.4.4 |
||||
click==8.1.7 |
||||
|
@ -0,0 +1,83 @@ |
||||
#!/usr/bin/env python3 |
||||
""" Prepare the piece info for a VASL module. |
||||
|
||||
The main program used to identify 5/8" counters by reading a module's buildFile and checking the height |
||||
attribute of the PieceSlot nodes, but it turns out this is the wrong thing to do (this field actually |
||||
controls the size of the piece's entry in the counter palette): |
||||
https://github.com/vasl-developers/vasl/issues/1195 |
||||
|
||||
For each version of VASL supported, run vassal-shim (getPieceInfo command) to analyze the module's |
||||
buildFile and get the correct counter sizes. Then pass the output into this script, to generate |
||||
the final data file that should be saved in the $/data/vasl-$VERSION/ directory, where it will |
||||
be read by the main program. |
||||
|
||||
NOTE: Introducing this process opens the possibility of also extracting the image file paths |
||||
within the .vmod file, instead of the current messy parsing of the PieceSlot CDATA... :-/ |
||||
""" |
||||
|
||||
import sys |
||||
import os |
||||
import json |
||||
|
||||
import xml.etree.ElementTree as ET |
||||
|
||||
# --------------------------------------------------------------------- |
||||
|
||||
# initialize |
||||
report = {} |
||||
|
||||
# figure out which GPID's we're interested in |
||||
gpids = set() |
||||
def get_gpids( vo_type ): |
||||
"""Get the GPID's from our data files.""" |
||||
dname = os.path.join( os.path.dirname(__file__), "../webapp/data", vo_type ) |
||||
for root,_,fnames in os.walk( dname ): |
||||
for fname in fnames: |
||||
if os.path.splitext( fname )[1] != ".json": |
||||
continue |
||||
fname = os.path.join( root, fname ) |
||||
with open( fname, "r", encoding="utf-8" ) as fp: |
||||
entries = json.load( fp ) |
||||
for entry in entries: |
||||
entry_gpid = entry.get( "gpid" ) |
||||
if not entry_gpid: |
||||
continue |
||||
if isinstance( entry_gpid, list ): |
||||
gpids.update( str(g) for g in entry_gpid ) |
||||
else: |
||||
gpids.add( str( entry_gpid ) ) |
||||
get_gpids( "vehicles" ) |
||||
get_gpids( "ordnance" ) |
||||
|
||||
# parse the piece info generated by vassal-shim |
||||
doc = ET.parse( sys.stdin ) |
||||
for piece_info in doc.getroot(): |
||||
gpid = piece_info.attrib["gpid"] |
||||
if gpid not in gpids: |
||||
continue |
||||
info = {} |
||||
# check if the next piece is small |
||||
# FUDGE! We used to check for <= 48, but what we get is GamePiece.boundingBox(), which is |
||||
# the click zone for the counter, not the actual size of the counter's image :-/ |
||||
if int( piece_info.attrib["height"] ) <= 55: |
||||
info["is_small"] = True |
||||
if info: |
||||
report[ gpid ] = info |
||||
|
||||
# FUDGE! These are from extensions - it's not worth trying to figure these out programtically. |
||||
report[ "adf:1948" ] = { "is_small": True } # BFP Blood & Jungle: Dutch Brandt 47mm Mortar |
||||
report[ "adf:75" ] = { "is_small": True } # BFP Blood & Jungle: Indonesian Type 89 Heavy Grenade Launcher |
||||
report[ "adf:77" ] = { "is_small": True } # BFP Blood & Jungle: Indonesian Type 97 Automatic Gun |
||||
report[ "adf:76" ] = { "is_small": True } # BFP Blood & Jungle: Indonesian Year-11 Flat-Trajectory INF Gun |
||||
report[ "adf:1407" ] = { "is_small": True } # BFP Poland In Flames: German 2cm Tankbusche S-18 |
||||
report[ "08d:75" ] = { "is_small": True } # Fight For Seoul: American M20(L) 75mm Recoilless Rifle |
||||
|
||||
# output the final report |
||||
print( "{" ) |
||||
lines = [] |
||||
for gpid, piece_info in report.items(): |
||||
lines.append( "\"{}\": {}".format( |
||||
gpid, json.dumps( piece_info ) |
||||
) ) |
||||
print( ",\n".join( lines ) ) |
||||
print( "}" ) |
@ -0,0 +1,5 @@ |
||||
<html> <!-- vasl-templates:id {{SNIPPET_ID}} --> |
||||
|
||||
<img src="{{IMAGES_BASE_URL}}/compass/{{COMPASS}}.png"> |
||||
|
||||
</html> |
@ -0,0 +1,41 @@ |
||||
<html> <!-- vasl-templates:id {{SNIPPET_ID}} --> |
||||
|
||||
<!-- vasl-templates:name Booby Traps --> |
||||
<!-- vasl-templates:description Data chart for Booby Traps. --> |
||||
|
||||
<!-- player = {{PLAYER_DROPLIST:|Player}} |
||||
<!-- boards = {{BOARDS*:/8|Board(s)}} --> |
||||
|
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<style> |
||||
.header { |
||||
background: {{PLAYER_COLORS[PLAYER_DROPLIST][0]}} ; |
||||
border-bottom: 1px solid {{PLAYER_COLORS[PLAYER_DROPLIST][2]}} ; |
||||
padding: 2px 5px ; |
||||
font-size: 105% ; font-weight: bold ; |
||||
} |
||||
.header .level { font-size: 90% ; font-style: italic ; } |
||||
{{CSS:common}} |
||||
</style> |
||||
</head> |
||||
|
||||
<table> |
||||
|
||||
<tr> |
||||
<td class="header"> |
||||
<img src="{{PLAYER_FLAGS[PLAYER_DROPLIST]}}?prefh={{PLAYER_FLAG_SIZE_LARGE}}" width="{{PLAYER_FLAG_SIZE_LARGE}}" height="{{PLAYER_FLAG_SIZE_LARGE}}"> Booby Traps <span class="level">(Level {{LEVEL:A::B::C/3|Level}})</span> |
||||
|
||||
<tr> |
||||
<td style="padding:2px 5px;"> |
||||
<b> {%if BOARDS%} Boards: {{BOARDS}} {%else%} Entire map {%endif%} </b> |
||||
<ul> |
||||
<li> Original TC |
||||
{% if LEVEL == "A" %} ≥ 11 |
||||
{% elif LEVEL == "B" %} 11 |
||||
{% elif LEVEL == "C" %} 12 |
||||
{%else%} ??? {%endif%} |
||||
<li> Search Casualties |
||||
</ul> |
||||
|
||||
</table> |
@ -1,49 +0,0 @@ |
||||
<html> <!-- vasl-templates:id {{SNIPPET_ID}} --> |
||||
|
||||
<!-- vasl-templates:name KGS Grenade Bundles --> |
||||
<!-- vasl-templates:description Data chart for Grenade Bundles in <i>Kampfgruppe Scherer</i>. --> |
||||
|
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<style> {{CSS:common}} </style> |
||||
</head> |
||||
|
||||
<table> |
||||
|
||||
<tr> |
||||
<td colspan="2" style=" |
||||
background: {{PLAYER_COLORS["german"][0]}} ; |
||||
border-bottom: 1px solid {{PLAYER_COLORS["german"][2]}} ; |
||||
padding: 2px 5px ; |
||||
font-size: 105% ; font-weight: bold ; |
||||
"> |
||||
{# Some versions of Java require <img> tags to have the width and height specified!?! #} |
||||
{%if PLAYER_FLAGS["german"]%}<img src="{{PLAYER_FLAGS["german"]}}" {{PLAYER_FLAG_SIZE_LARGE}}> {%endif%}Grenade Bundles |
||||
|
||||
<tr> |
||||
<td style="padding:3px 5px 0 5px;"> |
||||
CC Attack -2 DRM |
||||
|
||||
<tr> |
||||
<td style="padding:3px 5px 0 5px;"> |
||||
<b>ATMM check</b>: dr ≤ 3 (△) |
||||
<table style="margin-left:10px;"> |
||||
<tr> |
||||
<td style="width:20px;"> +1 |
||||
<td> HS/crew |
||||
<tr> |
||||
<td> +2 |
||||
<td> SMC |
||||
<tr> |
||||
<td> +1 |
||||
<td> CX |
||||
<tr> |
||||
<td> +1 |
||||
<td> vs. non-armored vehicle |
||||
</table> |
||||
original 6 = pinned (CCV reduced by 1) |
||||
|
||||
</table> |
||||
|
||||
</html> |
||||
|
@ -1,2 +1,2 @@ |
||||
{# Some versions of Java require <img> tags to have the width and height specified!?! #} |
||||
{%if PLAYER_FLAG%}<img src="{{PLAYER_FLAG}}" {{PLAYER_FLAG_SIZE}}> {%endif%} |
||||
{%if PLAYER_FLAG%}<img src="{{PLAYER_FLAG}}?prefh={{PLAYER_FLAG_SIZE}}" width="{{PLAYER_FLAG_SIZE}}" height="{{PLAYER_FLAG_SIZE}}"> {%endif%} |
||||
|
@ -1,2 +1,2 @@ |
||||
{# Some versions of Java require <img> tags to have the width and height specified!?! #} |
||||
{%if PLAYER_FLAG%}<img src="{{PLAYER_FLAG}}" {{PLAYER_FLAG_SIZE_LARGE}}> {%endif%} |
||||
{%if PLAYER_FLAG%}<img src="{{PLAYER_FLAG}}?prefh={{PLAYER_FLAG_SIZE_LARGE}}" width="{{PLAYER_FLAG_SIZE_LARGE}}" height="{{PLAYER_FLAG_SIZE_LARGE}}"> {%endif%} |
||||
|
@ -0,0 +1,116 @@ |
||||
<html> <!-- vasl-templates:id {{SNIPPET_ID}} --> |
||||
|
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<style> {{CSS:common}} </style> |
||||
|
||||
<style> |
||||
|
||||
td { |
||||
width: 50px ; min-width: 50px ; |
||||
height: {%if TURN_TRACK_PREVIEW_MODE%} 50px {%else%} 43px {%endif%} ; |
||||
padding: 2px ; |
||||
border: 1px solid black ; |
||||
} |
||||
{% set RESET_TD = "min-width: unset ; height: unset ; padding: 0 ; border: none" %} |
||||
td.turn-no { |
||||
{{RESET_TD}} ; width: unset ; |
||||
text-align: center ; vertical-align: center ; font-size: 18px ; font-weight: bold ; |
||||
} |
||||
td.no-reinforce { {{RESET_TD}} ; width: 13px ; } |
||||
{# NOTE: We do the reinforcement flags as CSS backgrounds, since VASSAL is incredibly slow downloading normal images. #} |
||||
td.reinforce1 { {{RESET_TD}} ; width: 13px ; background: url("{{TURN_TRACK_FLAG_1}}") top left no-repeat ; vertical-align: top ; } |
||||
td.reinforce2 { {{RESET_TD}} ; width: 13px ; background: url("{{TURN_TRACK_FLAG_2}}") bottom right no-repeat ; vertical-align: bottom ; } |
||||
td.half-turn { |
||||
background: url("{{TURN_TRACK_HALF_TURN_IMAGE_URL}}") bottom right no-repeat ; |
||||
background-size: contain ; {# nb: doesn't work in VASSAL, the image file needs to be the correct size :-/ #} |
||||
} |
||||
|
||||
{% if TURN_TRACK_PREVIEW_MODE %} |
||||
body { margin: 0 ; } |
||||
body ::selection {} |
||||
body ::moz-selection {} |
||||
body { user-select: none ; } |
||||
.reinforce1, .reinforce2 { opacity: 0 ; } |
||||
.flag-click { width: 13px ; height: 13px ; cursor: pointer ; } |
||||
.shading-click { cursor: pointer ; } |
||||
{%endif%} |
||||
|
||||
</style> |
||||
|
||||
</head> |
||||
|
||||
{% if TURN_TRACK_PREVIEW_MODE %} |
||||
<script> |
||||
// notify the parent window of clicks |
||||
function onFlagClick( turnNo, playerNo ) { |
||||
window.parent.postMessage( { |
||||
type: "FlagClick", |
||||
turnNo: turnNo, uiPlayerNo: playerNo |
||||
}, "*" ) ; |
||||
} |
||||
function onShadingClick( turnNo ) { |
||||
window.parent.postMessage( { |
||||
type: "ShadingClick", |
||||
turnNo: turnNo |
||||
}, "*" ) ; |
||||
} |
||||
</script> |
||||
{%endif%} |
||||
|
||||
<table class="turn-track"> |
||||
|
||||
{% for row in TURN_TRACK_SQUARES %} |
||||
<tr> |
||||
|
||||
{% for turnSquare in row %} |
||||
<td id="turn-square-{{turnSquare[0]}}" |
||||
{%if turnSquare[0] == TURN_TRACK_HALF_TURN%} class="half-turn" {%endif%} |
||||
{% if turnSquare[3] %} style="background-color:{{turnSquare[3]}};" {%endif%} |
||||
> |
||||
|
||||
<table style="width:100%;height:100%;"> <tr> |
||||
|
||||
<td id="flag-{{turnSquare[0]}}_1" width="100%" |
||||
class = {% if turnSquare[1] %} "reinforce1" {%else%} "no-reinforce" {%endif%} |
||||
> |
||||
{% if TURN_TRACK_PREVIEW_MODE %} |
||||
<div class="flag-click" |
||||
onclick = "onFlagClick( {{turnSquare[0]}}, 1 )" |
||||
> </div> |
||||
{%endif%} |
||||
</td> |
||||
|
||||
<td class="turn-no"> |
||||
{% if TURN_TRACK_PREVIEW_MODE %} |
||||
<div class="shading-click" |
||||
onclick = "onShadingClick( {{turnSquare[0]}} )" |
||||
> |
||||
{{turnSquare[0]}} |
||||
</div> |
||||
{%else%} |
||||
{{turnSquare[0]}} |
||||
{%endif%} |
||||
</td> |
||||
|
||||
<td id="flag-{{turnSquare[0]}}_2" width="100%" |
||||
class = {% if turnSquare[2] and turnSquare[0] != TURN_TRACK_HALF_TURN %} "reinforce2" {%else%} "no-reinforce" {%endif%} |
||||
> |
||||
{% if TURN_TRACK_PREVIEW_MODE and turnSquare[0] != TURN_TRACK_HALF_TURN %} |
||||
<div class="flag-click" |
||||
onclick = "onFlagClick( {{turnSquare[0]}}, 2 )" |
||||
> </div> |
||||
{%endif%} |
||||
</td> |
||||
|
||||
</tr> </table> |
||||
|
||||
</td> |
||||
{%endfor%} |
||||
|
||||
</tr> |
||||
{%endfor%} |
||||
|
||||
</table> |
||||
|
||||
</html> |
@ -0,0 +1,65 @@ |
||||
{ |
||||
"6996": {"is_small": true}, |
||||
"485": {"is_small": true}, |
||||
"850": {"is_small": true}, |
||||
"849": {"is_small": true}, |
||||
"12689": {"is_small": true}, |
||||
"856": {"is_small": true}, |
||||
"857": {"is_small": true}, |
||||
"11336": {"is_small": true}, |
||||
"858": {"is_small": true}, |
||||
"11337": {"is_small": true}, |
||||
"1149": {"is_small": true}, |
||||
"1153": {"is_small": true}, |
||||
"12687": {"is_small": true}, |
||||
"3b5:7613": {"is_small": true}, |
||||
"11359": {"is_small": true}, |
||||
"3b5:11259": {"is_small": true}, |
||||
"1632": {"is_small": true}, |
||||
"1636": {"is_small": true}, |
||||
"1641": {"is_small": true}, |
||||
"1648": {"is_small": true}, |
||||
"1982": {"is_small": true}, |
||||
"1983": {"is_small": true}, |
||||
"1984": {"is_small": true}, |
||||
"1985": {"is_small": true}, |
||||
"1986": {"is_small": true}, |
||||
"1987": {"is_small": true}, |
||||
"1988": {"is_small": true}, |
||||
"2172": {"is_small": true}, |
||||
"2173": {"is_small": true}, |
||||
"2176": {"is_small": true}, |
||||
"2179": {"is_small": true}, |
||||
"11391": {"is_small": true}, |
||||
"11392": {"is_small": true}, |
||||
"11395": {"is_small": true}, |
||||
"11396": {"is_small": true}, |
||||
"11440": {"is_small": true}, |
||||
"3b5:8401": {"is_small": true}, |
||||
"3b5:8402": {"is_small": true}, |
||||
"2465": {"is_small": true}, |
||||
"2474": {"is_small": true}, |
||||
"3252": {"is_small": true}, |
||||
"3253": {"is_small": true}, |
||||
"3263": {"is_small": true}, |
||||
"3422": {"is_small": true}, |
||||
"3428": {"is_small": true}, |
||||
"6730": {"is_small": true}, |
||||
"3605": {"is_small": true}, |
||||
"3608": {"is_small": true}, |
||||
"6763": {"is_small": true}, |
||||
"3679": {"is_small": true}, |
||||
"3680": {"is_small": true}, |
||||
"3681": {"is_small": true}, |
||||
"3682": {"is_small": true}, |
||||
"3691": {"is_small": true}, |
||||
"3692": {"is_small": true}, |
||||
"3959": {"is_small": true}, |
||||
"11558": {"is_small": true}, |
||||
"11559": {"is_small": true}, |
||||
"3b5:10150": {"is_small": true}, |
||||
"3b5:10151": {"is_small": true}, |
||||
"11600": {"is_small": true}, |
||||
"11604": {"is_small": true}, |
||||
"3b5:7871": {"is_small": true} |
||||
} |
@ -0,0 +1,65 @@ |
||||
{ |
||||
"6996": {"is_small": true}, |
||||
"485": {"is_small": true}, |
||||
"850": {"is_small": true}, |
||||
"849": {"is_small": true}, |
||||
"12689": {"is_small": true}, |
||||
"856": {"is_small": true}, |
||||
"857": {"is_small": true}, |
||||
"11336": {"is_small": true}, |
||||
"858": {"is_small": true}, |
||||
"11337": {"is_small": true}, |
||||
"1149": {"is_small": true}, |
||||
"1153": {"is_small": true}, |
||||
"12687": {"is_small": true}, |
||||
"3b5:7613": {"is_small": true}, |
||||
"11359": {"is_small": true}, |
||||
"3b5:11259": {"is_small": true}, |
||||
"1632": {"is_small": true}, |
||||
"1636": {"is_small": true}, |
||||
"1641": {"is_small": true}, |
||||
"1648": {"is_small": true}, |
||||
"1982": {"is_small": true}, |
||||
"1983": {"is_small": true}, |
||||
"1984": {"is_small": true}, |
||||
"1985": {"is_small": true}, |
||||
"1986": {"is_small": true}, |
||||
"1987": {"is_small": true}, |
||||
"1988": {"is_small": true}, |
||||
"2172": {"is_small": true}, |
||||
"2173": {"is_small": true}, |
||||
"2176": {"is_small": true}, |
||||
"2179": {"is_small": true}, |
||||
"11391": {"is_small": true}, |
||||
"11392": {"is_small": true}, |
||||
"11395": {"is_small": true}, |
||||
"11396": {"is_small": true}, |
||||
"11440": {"is_small": true}, |
||||
"3b5:8401": {"is_small": true}, |
||||
"3b5:8402": {"is_small": true}, |
||||
"2465": {"is_small": true}, |
||||
"2474": {"is_small": true}, |
||||
"3252": {"is_small": true}, |
||||
"3253": {"is_small": true}, |
||||
"3263": {"is_small": true}, |
||||
"3422": {"is_small": true}, |
||||
"3428": {"is_small": true}, |
||||
"6730": {"is_small": true}, |
||||
"3605": {"is_small": true}, |
||||
"3608": {"is_small": true}, |
||||
"6763": {"is_small": true}, |
||||
"3679": {"is_small": true}, |
||||
"3680": {"is_small": true}, |
||||
"3681": {"is_small": true}, |
||||
"3682": {"is_small": true}, |
||||
"3691": {"is_small": true}, |
||||
"3692": {"is_small": true}, |
||||
"3959": {"is_small": true}, |
||||
"11558": {"is_small": true}, |
||||
"11559": {"is_small": true}, |
||||
"3b5:10150": {"is_small": true}, |
||||
"3b5:10151": {"is_small": true}, |
||||
"11600": {"is_small": true}, |
||||
"11604": {"is_small": true}, |
||||
"3b5:7871": {"is_small": true} |
||||
} |
@ -0,0 +1,65 @@ |
||||
{ |
||||
"6996": {"is_small": true}, |
||||
"485": {"is_small": true}, |
||||
"850": {"is_small": true}, |
||||
"849": {"is_small": true}, |
||||
"12689": {"is_small": true}, |
||||
"856": {"is_small": true}, |
||||
"857": {"is_small": true}, |
||||
"11336": {"is_small": true}, |
||||
"858": {"is_small": true}, |
||||
"11337": {"is_small": true}, |
||||
"1149": {"is_small": true}, |
||||
"1153": {"is_small": true}, |
||||
"12687": {"is_small": true}, |
||||
"3b5:7613": {"is_small": true}, |
||||
"11359": {"is_small": true}, |
||||
"3b5:11259": {"is_small": true}, |
||||
"1632": {"is_small": true}, |
||||
"1636": {"is_small": true}, |
||||
"1641": {"is_small": true}, |
||||
"1648": {"is_small": true}, |
||||
"1982": {"is_small": true}, |
||||
"1983": {"is_small": true}, |
||||
"1984": {"is_small": true}, |
||||
"1985": {"is_small": true}, |
||||
"1986": {"is_small": true}, |
||||
"1987": {"is_small": true}, |
||||
"1988": {"is_small": true}, |
||||
"2172": {"is_small": true}, |
||||
"2173": {"is_small": true}, |
||||
"2176": {"is_small": true}, |
||||
"2179": {"is_small": true}, |
||||
"11391": {"is_small": true}, |
||||
"11392": {"is_small": true}, |
||||
"11395": {"is_small": true}, |
||||
"11396": {"is_small": true}, |
||||
"11440": {"is_small": true}, |
||||
"3b5:8401": {"is_small": true}, |
||||
"3b5:8402": {"is_small": true}, |
||||
"2465": {"is_small": true}, |
||||
"2474": {"is_small": true}, |
||||
"3252": {"is_small": true}, |
||||
"3253": {"is_small": true}, |
||||
"3263": {"is_small": true}, |
||||
"3422": {"is_small": true}, |
||||
"3428": {"is_small": true}, |
||||
"6730": {"is_small": true}, |
||||
"3605": {"is_small": true}, |
||||
"3608": {"is_small": true}, |
||||
"6763": {"is_small": true}, |
||||
"3679": {"is_small": true}, |
||||
"3680": {"is_small": true}, |
||||
"3681": {"is_small": true}, |
||||
"3682": {"is_small": true}, |
||||
"3691": {"is_small": true}, |
||||
"3692": {"is_small": true}, |
||||
"3959": {"is_small": true}, |
||||
"11558": {"is_small": true}, |
||||
"11559": {"is_small": true}, |
||||
"3b5:10150": {"is_small": true}, |
||||
"3b5:10151": {"is_small": true}, |
||||
"11600": {"is_small": true}, |
||||
"11604": {"is_small": true}, |
||||
"3b5:7871": {"is_small": true} |
||||
} |
@ -0,0 +1,65 @@ |
||||
{ |
||||
"6996": {"is_small": true}, |
||||
"485": {"is_small": true}, |
||||
"850": {"is_small": true}, |
||||
"849": {"is_small": true}, |
||||
"12689": {"is_small": true}, |
||||
"856": {"is_small": true}, |
||||
"857": {"is_small": true}, |
||||
"11336": {"is_small": true}, |
||||
"858": {"is_small": true}, |
||||
"11337": {"is_small": true}, |
||||
"1149": {"is_small": true}, |
||||
"1153": {"is_small": true}, |
||||
"12687": {"is_small": true}, |
||||
"3b5:7613": {"is_small": true}, |
||||
"11359": {"is_small": true}, |
||||
"3b5:11259": {"is_small": true}, |
||||
"1632": {"is_small": true}, |
||||
"1636": {"is_small": true}, |
||||
"1641": {"is_small": true}, |
||||
"1648": {"is_small": true}, |
||||
"1982": {"is_small": true}, |
||||
"1983": {"is_small": true}, |
||||
"1984": {"is_small": true}, |
||||
"1985": {"is_small": true}, |
||||
"1986": {"is_small": true}, |
||||
"1987": {"is_small": true}, |
||||
"1988": {"is_small": true}, |
||||
"2172": {"is_small": true}, |
||||
"2173": {"is_small": true}, |
||||
"2176": {"is_small": true}, |
||||
"2179": {"is_small": true}, |
||||
"11391": {"is_small": true}, |
||||
"11392": {"is_small": true}, |
||||
"11395": {"is_small": true}, |
||||
"11396": {"is_small": true}, |
||||
"11440": {"is_small": true}, |
||||
"3b5:8401": {"is_small": true}, |
||||
"3b5:8402": {"is_small": true}, |
||||
"2465": {"is_small": true}, |
||||
"2474": {"is_small": true}, |
||||
"3252": {"is_small": true}, |
||||
"3253": {"is_small": true}, |
||||
"3263": {"is_small": true}, |
||||
"3422": {"is_small": true}, |
||||
"3428": {"is_small": true}, |
||||
"6730": {"is_small": true}, |
||||
"3605": {"is_small": true}, |
||||
"3608": {"is_small": true}, |
||||
"6763": {"is_small": true}, |
||||
"3679": {"is_small": true}, |
||||
"3680": {"is_small": true}, |
||||
"3681": {"is_small": true}, |
||||
"3682": {"is_small": true}, |
||||
"3691": {"is_small": true}, |
||||
"3692": {"is_small": true}, |
||||
"3959": {"is_small": true}, |
||||
"11558": {"is_small": true}, |
||||
"11559": {"is_small": true}, |
||||
"3b5:10150": {"is_small": true}, |
||||
"3b5:10151": {"is_small": true}, |
||||
"11600": {"is_small": true}, |
||||
"11604": {"is_small": true}, |
||||
"3b5:7871": {"is_small": true} |
||||
} |
@ -0,0 +1,65 @@ |
||||
{ |
||||
"6996": {"is_small": true}, |
||||
"485": {"is_small": true}, |
||||
"850": {"is_small": true}, |
||||
"849": {"is_small": true}, |
||||
"12689": {"is_small": true}, |
||||
"856": {"is_small": true}, |
||||
"857": {"is_small": true}, |
||||
"11336": {"is_small": true}, |
||||
"858": {"is_small": true}, |
||||
"11337": {"is_small": true}, |
||||
"1149": {"is_small": true}, |
||||
"1153": {"is_small": true}, |
||||
"12687": {"is_small": true}, |
||||
"3b5:7613": {"is_small": true}, |
||||
"11359": {"is_small": true}, |
||||
"3b5:11259": {"is_small": true}, |
||||
"1632": {"is_small": true}, |
||||
"1636": {"is_small": true}, |
||||
"1641": {"is_small": true}, |
||||
"1648": {"is_small": true}, |
||||
"1982": {"is_small": true}, |
||||
"1983": {"is_small": true}, |
||||
"1984": {"is_small": true}, |
||||
"1985": {"is_small": true}, |
||||
"1986": {"is_small": true}, |
||||
"1987": {"is_small": true}, |
||||
"1988": {"is_small": true}, |
||||
"2172": {"is_small": true}, |
||||
"2173": {"is_small": true}, |
||||
"2176": {"is_small": true}, |
||||
"2179": {"is_small": true}, |
||||
"11391": {"is_small": true}, |
||||
"11392": {"is_small": true}, |
||||
"11395": {"is_small": true}, |
||||
"11396": {"is_small": true}, |
||||
"11440": {"is_small": true}, |
||||
"3b5:8401": {"is_small": true}, |
||||
"3b5:8402": {"is_small": true}, |
||||
"2465": {"is_small": true}, |
||||
"2474": {"is_small": true}, |
||||
"3252": {"is_small": true}, |
||||
"3253": {"is_small": true}, |
||||
"3263": {"is_small": true}, |
||||
"3422": {"is_small": true}, |
||||
"3428": {"is_small": true}, |
||||
"6730": {"is_small": true}, |
||||
"3605": {"is_small": true}, |
||||
"3608": {"is_small": true}, |
||||
"6763": {"is_small": true}, |
||||
"3679": {"is_small": true}, |
||||
"3680": {"is_small": true}, |
||||
"3681": {"is_small": true}, |
||||
"3682": {"is_small": true}, |
||||
"3691": {"is_small": true}, |
||||
"3692": {"is_small": true}, |
||||
"3959": {"is_small": true}, |
||||
"11558": {"is_small": true}, |
||||
"11559": {"is_small": true}, |
||||
"3b5:10150": {"is_small": true}, |
||||
"3b5:10151": {"is_small": true}, |
||||
"11600": {"is_small": true}, |
||||
"11604": {"is_small": true}, |
||||
"3b5:7871": {"is_small": true} |
||||
} |
@ -0,0 +1,49 @@ |
||||
{ |
||||
|
||||
"1555": { |
||||
"name": "2pdr Portee", |
||||
"front_images": [ "br/vehicles/portee.gif", "br/vehicles/portee0.gif" ], |
||||
"back_images": null |
||||
}, |
||||
|
||||
"2212": { |
||||
"name": "76* INF FRC", |
||||
"front_images": [ "al/gun/alINF76.gif", "al/gun/alINF76u.gif" ], |
||||
"back_images": "al/gun/alINF76b.gif" |
||||
}, |
||||
|
||||
"2698": { |
||||
"name": "SPW 251/10", |
||||
"front_images": "ge/veh/spw25110.gif", |
||||
"back_images": [ "No_ATR.gif", "No_PSK.gif" ] |
||||
}, |
||||
|
||||
"7409": { |
||||
"name": "76 ItK/28 B(s)", |
||||
"front_images": "fi/gun/fiAA76L.png", |
||||
"back_images": [ "fi/gun/fiAA76L.png", "fi/gun/fiAA76LB.png" ] |
||||
}, |
||||
|
||||
"adf:1828": { |
||||
"name": "105 ART wz.29", |
||||
"front_images": "po/gun/poARTwz29-BFP.png", |
||||
"back_images": [ "po/gun/poARTwz29-BFP.png", "po/gun/poARTwz29-BFPb.png" ] |
||||
}, |
||||
"adf:1829": { |
||||
"name": "120* ART wz09.31", |
||||
"front_images": "po/gun/poARTwz0931-BFP.png", |
||||
"back_images": [ "po/gun/poARTwz0931-BFP.png", "po/gun/poARTwz0931-BFPb.png" ] |
||||
}, |
||||
"adf:1830": { |
||||
"name": "155 ART wz.17", |
||||
"front_images": "po/gun/poARTwz17-BFP.png", |
||||
"back_images": [ "po/gun/poARTwz17-BFP.png", "po/gun/poARTwz17-BFPb.png" ] |
||||
}, |
||||
|
||||
"3b5:3676": { |
||||
"name": "M19A1 MGMC", |
||||
"front_images": [ "us/veh/usM19A1MGMC(trailer)KFW.png", "us/veh/usM19A1MGMC(KFW).png" ], |
||||
"back_images": null |
||||
} |
||||
|
||||
} |
@ -0,0 +1,2 @@ |
||||
{ |
||||
} |
@ -0,0 +1,65 @@ |
||||
{ |
||||
"6996": {"is_small": true}, |
||||
"485": {"is_small": true}, |
||||
"850": {"is_small": true}, |
||||
"849": {"is_small": true}, |
||||
"12689": {"is_small": true}, |
||||
"856": {"is_small": true}, |
||||
"857": {"is_small": true}, |
||||
"11336": {"is_small": true}, |
||||
"858": {"is_small": true}, |
||||
"11337": {"is_small": true}, |
||||
"1149": {"is_small": true}, |
||||
"1153": {"is_small": true}, |
||||
"12687": {"is_small": true}, |
||||
"3b5:7613": {"is_small": true}, |
||||
"11359": {"is_small": true}, |
||||
"3b5:11259": {"is_small": true}, |
||||
"1632": {"is_small": true}, |
||||
"1636": {"is_small": true}, |
||||
"1641": {"is_small": true}, |
||||
"1648": {"is_small": true}, |
||||
"1982": {"is_small": true}, |
||||
"1983": {"is_small": true}, |
||||
"1984": {"is_small": true}, |
||||
"1985": {"is_small": true}, |
||||
"1986": {"is_small": true}, |
||||
"1987": {"is_small": true}, |
||||
"1988": {"is_small": true}, |
||||
"2172": {"is_small": true}, |
||||
"2173": {"is_small": true}, |
||||
"2176": {"is_small": true}, |
||||
"2179": {"is_small": true}, |
||||
"11391": {"is_small": true}, |
||||
"11392": {"is_small": true}, |
||||
"11395": {"is_small": true}, |
||||
"11396": {"is_small": true}, |
||||
"11440": {"is_small": true}, |
||||
"3b5:8401": {"is_small": true}, |
||||
"3b5:8402": {"is_small": true}, |
||||
"2465": {"is_small": true}, |
||||
"2474": {"is_small": true}, |
||||
"3252": {"is_small": true}, |
||||
"3253": {"is_small": true}, |
||||
"3263": {"is_small": true}, |
||||
"3422": {"is_small": true}, |
||||
"3428": {"is_small": true}, |
||||
"6730": {"is_small": true}, |
||||
"3605": {"is_small": true}, |
||||
"3608": {"is_small": true}, |
||||
"6763": {"is_small": true}, |
||||
"3679": {"is_small": true}, |
||||
"3680": {"is_small": true}, |
||||
"3681": {"is_small": true}, |
||||
"3682": {"is_small": true}, |
||||
"3691": {"is_small": true}, |
||||
"3692": {"is_small": true}, |
||||
"3959": {"is_small": true}, |
||||
"11558": {"is_small": true}, |
||||
"11559": {"is_small": true}, |
||||
"3b5:10150": {"is_small": true}, |
||||
"3b5:10151": {"is_small": true}, |
||||
"11600": {"is_small": true}, |
||||
"11604": {"is_small": true}, |
||||
"3b5:7871": {"is_small": true} |
||||
} |
@ -0,0 +1,147 @@ |
||||
{ |
||||
|
||||
"2474": { |
||||
"expected": { |
||||
"name": "Goliath", |
||||
"front_images": [ "ge/gegol.gif", "ge/gegolb.gif" ], |
||||
"back_images": null |
||||
}, |
||||
"updated": { |
||||
"front_images": "ge/gegol.gif" |
||||
} |
||||
}, |
||||
|
||||
"1555": { |
||||
"expected": { |
||||
"name": "2pdr Portee", |
||||
"front_images": "br/vehicles/portee.gif", |
||||
"back_images": [ "br/vehicles/portee.gif", "br/vehicles/portee0.gif" ] |
||||
}, |
||||
"updated": { |
||||
"front_images": [ "br/vehicles/portee.gif", "br/vehicles/portee0.gif" ], |
||||
"back_images": null |
||||
} |
||||
}, |
||||
|
||||
"3463": { |
||||
"expected": { |
||||
"name": "75L AA 75/46", |
||||
"front_images": [ "it/gun/itAA7546.gif", "it/gun/itAA7546b.gif" ], |
||||
"back_images": [ "it/gun/itAA7546b.gif", "it/gun/itAA7546lb.gif" ] |
||||
}, |
||||
"updated": { |
||||
"front_images": "it/gun/itAA7546.gif", |
||||
"back_images": "it/gun/itAA7546b.gif" |
||||
} |
||||
}, |
||||
|
||||
"3776": { |
||||
"expected": { |
||||
"name": "37* INF Skoda IG", |
||||
"front_images": [ "ax/gun/buIN37s.gif", "ax/gun/buIN37s2.gif" ], |
||||
"back_images": "ax/gun/buIN37sb.gif" |
||||
}, |
||||
"updated": { |
||||
"front_images": "ax/gun/buIN37s.gif" |
||||
} |
||||
}, |
||||
|
||||
"3777": { |
||||
"expected": { |
||||
"name": "70* INF Skoda IG", |
||||
"front_images": [ "ax/gun/buIN37s.gif", "ax/gun/buIN37s2.gif" ], |
||||
"back_images": "ax/gun/buIN37sb.gif" |
||||
}, |
||||
"updated": { |
||||
"front_images": "ax/gun/buIN37s2.gif" |
||||
} |
||||
}, |
||||
|
||||
"6802": { |
||||
"expected": { |
||||
"name": "20L (4) AA", |
||||
"front_images": [ "fi/gun/fi20L4 _2.png", "fi/gun/fi20L4 _2 LIM.png" ], |
||||
"back_images": null |
||||
}, |
||||
"updated": { |
||||
"front_images": "fi/gun/fi20L4 _2.png" |
||||
} |
||||
}, |
||||
|
||||
"6803": { |
||||
"expected": { |
||||
"name": "20L VKT (12) AA", |
||||
"front_images": [ "fi/gun/fi20L12.png", "fi/gun/fi20L12L.png" ], |
||||
"back_images": null |
||||
}, |
||||
"updated": { |
||||
"front_images": "fi/gun/fi20L12.png" |
||||
} |
||||
}, |
||||
|
||||
"6804": { |
||||
"expected": { |
||||
"name": "40L Bofors AA (s)", |
||||
"front_images": [ "fi/gun/fi40L.png", "fi/gun/fi40LL.png" ], |
||||
"back_images": null |
||||
}, |
||||
"updated": { |
||||
"front_images": "fi/gun/fi40L.png" |
||||
} |
||||
}, |
||||
|
||||
"adf:1824": { |
||||
"expected": { |
||||
"name": "37L AT PTP obr. 30", |
||||
"front_images": "ru/gun/ruAT37L.gif", |
||||
"back_images": "ru/gun/ruAT37Lb.gif" |
||||
}, |
||||
"updated": { |
||||
"front_images": "ru/gun/ru37LPTPobr30.png" |
||||
} |
||||
}, |
||||
"adf:1822": { |
||||
"expected": { |
||||
"name": "37* INF PP obr. 15R", |
||||
"front_images": "ru/gun/ruINF37s.gif", |
||||
"back_images": "ru/gun/ruINF37sb.gif" |
||||
}, |
||||
"updated": { |
||||
"front_images": "ru/gun/ru37PPobr15R.png" |
||||
} |
||||
}, |
||||
"adf:1823": { |
||||
"expected": { |
||||
"name": "76* INF PP obr. 27", |
||||
"front_images": "ru/gun/ruINF76s.gif", |
||||
"back_images": "ru/gun/ruINF76sb.gif" |
||||
}, |
||||
"updated": { |
||||
"front_images": "ru/gun/ru76PPobr27.png" |
||||
} |
||||
}, |
||||
|
||||
"3b5:10093": { |
||||
"expected": { |
||||
"name": "SL truck", |
||||
"front_images": [ "sh/SL3b(KFW).png", "sh/SL4b(KFW).png", "sh/SL5b(KFW).png", "sh/SL6b(KFW).png", "sh/SL1b(KFW).png", "sh/SL2b(KFW).png" ], |
||||
"back_images": [ "sh/SL3(KFW).png", "sh/SL4(KFW).png", "sh/SL5(KFW).png", "sh/SL6(KFW).png", "sh/SL1(KFW).png", "sh/SL2(KFW).png" ] |
||||
}, |
||||
"updated": { |
||||
"front_images": "us/veh/usSearchlight(KFW).png", |
||||
"back_images": null |
||||
} |
||||
}, |
||||
|
||||
"08d:75": { |
||||
"expected": { |
||||
"name": "RCL 75*", |
||||
"front_images": "amrcl75-malf.png", |
||||
"back_images": "dm-75rcl.gif" |
||||
}, |
||||
"updated": { |
||||
"front_images": "amrcl75.png" |
||||
} |
||||
} |
||||
|
||||
} |
@ -0,0 +1,61 @@ |
||||
{ |
||||
|
||||
"1555": { |
||||
"name": "2pdr Portee", |
||||
"front_images": [ "br/vehicles/portee.gif", "br/vehicles/portee0.gif" ], |
||||
"back_images": null |
||||
}, |
||||
|
||||
"2212": { |
||||
"name": "76* INF FRC", |
||||
"front_images": [ "al/gun/alINF76.gif", "al/gun/alINF76u.gif" ], |
||||
"back_images": "al/gun/alINF76b.gif" |
||||
}, |
||||
|
||||
"2698": { |
||||
"name": "SPW 251/10", |
||||
"front_images": "ge/veh/spw25110.gif", |
||||
"back_images": [ "No_ATR.gif", "No_PSK.gif" ] |
||||
}, |
||||
|
||||
"6765": { |
||||
"name": "81* MTR Krh/32", |
||||
"front_images": "fi/gun/fi81mmMTR.png", |
||||
"back_images": [ "fi/gun/fi81mmMTR.png", "fi/gun/fi81mmMTRB.png" ] |
||||
}, |
||||
|
||||
"6782": { |
||||
"name": "81* MTR Savu M42", |
||||
"front_images": [ "fi/gun/fi81mmMTR SavuB.png", "fi/gun/fi81mmMTR Savu.png" ], |
||||
"back_images": "fi/gun/fi81mmMTR SavuB.png" |
||||
}, |
||||
|
||||
"7409": { |
||||
"name": "76 ItK/28 B(s)", |
||||
"front_images": "fi/gun/fiAA76L.png", |
||||
"back_images": [ "fi/gun/fiAA76L.png", "fi/gun/fiAA76LB.png" ] |
||||
}, |
||||
|
||||
"adf:1828": { |
||||
"name": "105 ART wz.29", |
||||
"front_images": "po/gun/poARTwz29-BFP.png", |
||||
"back_images": [ "po/gun/poARTwz29-BFP.png", "po/gun/poARTwz29-BFPb.png" ] |
||||
}, |
||||
"adf:1829": { |
||||
"name": "120* ART wz09.31", |
||||
"front_images": "po/gun/poARTwz0931-BFP.png", |
||||
"back_images": [ "po/gun/poARTwz0931-BFP.png", "po/gun/poARTwz0931-BFPb.png" ] |
||||
}, |
||||
"adf:1830": { |
||||
"name": "155 ART wz.17", |
||||
"front_images": "po/gun/poARTwz17-BFP.png", |
||||
"back_images": [ "po/gun/poARTwz17-BFP.png", "po/gun/poARTwz17-BFPb.png" ] |
||||
}, |
||||
|
||||
"3b5:3676": { |
||||
"name": "M19A1 MGMC", |
||||
"front_images": [ "us/veh/usM19A1MGMC(trailer)KFW.png", "us/veh/usM19A1MGMC(KFW).png" ], |
||||
"back_images": null |
||||
} |
||||
|
||||
} |
@ -0,0 +1,2 @@ |
||||
{ |
||||
} |
@ -0,0 +1,71 @@ |
||||
{ |
||||
"6996": {"is_small": true}, |
||||
"485": {"is_small": true}, |
||||
"850": {"is_small": true}, |
||||
"849": {"is_small": true}, |
||||
"12689": {"is_small": true}, |
||||
"856": {"is_small": true}, |
||||
"857": {"is_small": true}, |
||||
"11336": {"is_small": true}, |
||||
"858": {"is_small": true}, |
||||
"11337": {"is_small": true}, |
||||
"1149": {"is_small": true}, |
||||
"1153": {"is_small": true}, |
||||
"12687": {"is_small": true}, |
||||
"3b5:7613": {"is_small": true}, |
||||
"11359": {"is_small": true}, |
||||
"3b5:11259": {"is_small": true}, |
||||
"1632": {"is_small": true}, |
||||
"1633": {"is_small": true}, |
||||
"1648": {"is_small": true}, |
||||
"12830": {"is_small": true}, |
||||
"1982": {"is_small": true}, |
||||
"1983": {"is_small": true}, |
||||
"1984": {"is_small": true}, |
||||
"1985": {"is_small": true}, |
||||
"1986": {"is_small": true}, |
||||
"1987": {"is_small": true}, |
||||
"1988": {"is_small": true}, |
||||
"2172": {"is_small": true}, |
||||
"2173": {"is_small": true}, |
||||
"2176": {"is_small": true}, |
||||
"2179": {"is_small": true}, |
||||
"11391": {"is_small": true}, |
||||
"11392": {"is_small": true}, |
||||
"11395": {"is_small": true}, |
||||
"11396": {"is_small": true}, |
||||
"11440": {"is_small": true}, |
||||
"3b5:8401": {"is_small": true}, |
||||
"3b5:8402": {"is_small": true}, |
||||
"2465": {"is_small": true}, |
||||
"2474": {"is_small": true}, |
||||
"3252": {"is_small": true}, |
||||
"3253": {"is_small": true}, |
||||
"3263": {"is_small": true}, |
||||
"3422": {"is_small": true}, |
||||
"3428": {"is_small": true}, |
||||
"6730": {"is_small": true}, |
||||
"3605": {"is_small": true}, |
||||
"3608": {"is_small": true}, |
||||
"6763": {"is_small": true}, |
||||
"3679": {"is_small": true}, |
||||
"3680": {"is_small": true}, |
||||
"3681": {"is_small": true}, |
||||
"3682": {"is_small": true}, |
||||
"3691": {"is_small": true}, |
||||
"3692": {"is_small": true}, |
||||
"3959": {"is_small": true}, |
||||
"11558": {"is_small": true}, |
||||
"11559": {"is_small": true}, |
||||
"3b5:10150": {"is_small": true}, |
||||
"3b5:10151": {"is_small": true}, |
||||
"11600": {"is_small": true}, |
||||
"11604": {"is_small": true}, |
||||
"3b5:7871": {"is_small": true}, |
||||
"adf:1948": {"is_small": true}, |
||||
"adf:75": {"is_small": true}, |
||||
"adf:77": {"is_small": true}, |
||||
"adf:76": {"is_small": true}, |
||||
"adf:1407": {"is_small": true}, |
||||
"08d:75": {"is_small": true} |
||||
} |
@ -0,0 +1,147 @@ |
||||
{ |
||||
|
||||
"2474": { |
||||
"expected": { |
||||
"name": "Goliath", |
||||
"front_images": [ "ge/gegol.gif", "ge/gegolb.gif" ], |
||||
"back_images": null |
||||
}, |
||||
"updated": { |
||||
"front_images": "ge/gegol.gif" |
||||
} |
||||
}, |
||||
|
||||
"1555": { |
||||
"expected": { |
||||
"name": "2pdr Portee", |
||||
"front_images": "br/vehicles/portee.gif", |
||||
"back_images": [ "br/vehicles/portee.gif", "br/vehicles/portee0.gif" ] |
||||
}, |
||||
"updated": { |
||||
"front_images": [ "br/vehicles/portee.gif", "br/vehicles/portee0.gif" ], |
||||
"back_images": null |
||||
} |
||||
}, |
||||
|
||||
"3463": { |
||||
"expected": { |
||||
"name": "75L AA 75/46", |
||||
"front_images": [ "it/gun/itAA7546.gif", "it/gun/itAA7546b.gif" ], |
||||
"back_images": [ "it/gun/itAA7546b.gif", "it/gun/itAA7546lb.gif" ] |
||||
}, |
||||
"updated": { |
||||
"front_images": "it/gun/itAA7546.gif", |
||||
"back_images": "it/gun/itAA7546b.gif" |
||||
} |
||||
}, |
||||
|
||||
"3776": { |
||||
"expected": { |
||||
"name": "37* INF Skoda IG", |
||||
"front_images": [ "ax/gun/buIN37s.gif", "ax/gun/buIN37s2.gif" ], |
||||
"back_images": "ax/gun/buIN37sb.gif" |
||||
}, |
||||
"updated": { |
||||
"front_images": "ax/gun/buIN37s.gif" |
||||
} |
||||
}, |
||||
|
||||
"3777": { |
||||
"expected": { |
||||
"name": "70* INF Skoda IG", |
||||
"front_images": [ "ax/gun/buIN37s.gif", "ax/gun/buIN37s2.gif" ], |
||||
"back_images": "ax/gun/buIN37sb.gif" |
||||
}, |
||||
"updated": { |
||||
"front_images": "ax/gun/buIN37s2.gif" |
||||
} |
||||
}, |
||||
|
||||
"6802": { |
||||
"expected": { |
||||
"name": "20L (4) AA", |
||||
"front_images": [ "fi/gun/fi20L4 _2.png", "fi/gun/fi20L4 _2 LIM.png" ], |
||||
"back_images": null |
||||
}, |
||||
"updated": { |
||||
"front_images": "fi/gun/fi20L4 _2.png" |
||||
} |
||||
}, |
||||
|
||||
"6803": { |
||||
"expected": { |
||||
"name": "20L VKT (12) AA", |
||||
"front_images": [ "fi/gun/fi20L12.png", "fi/gun/fi20L12L.png" ], |
||||
"back_images": null |
||||
}, |
||||
"updated": { |
||||
"front_images": "fi/gun/fi20L12.png" |
||||
} |
||||
}, |
||||
|
||||
"6804": { |
||||
"expected": { |
||||
"name": "40L Bofors AA (s)", |
||||
"front_images": [ "fi/gun/fi40L.png", "fi/gun/fi40LL.png" ], |
||||
"back_images": null |
||||
}, |
||||
"updated": { |
||||
"front_images": "fi/gun/fi40L.png" |
||||
} |
||||
}, |
||||
|
||||
"adf:1824": { |
||||
"expected": { |
||||
"name": "37L AT PTP obr. 30", |
||||
"front_images": "ru/gun/ruAT37L.gif", |
||||
"back_images": "ru/gun/ruAT37Lb.gif" |
||||
}, |
||||
"updated": { |
||||
"front_images": "ru/gun/ru37LPTPobr30.png" |
||||
} |
||||
}, |
||||
"adf:1822": { |
||||
"expected": { |
||||
"name": "37* INF PP obr. 15R", |
||||
"front_images": "ru/gun/ruINF37s.gif", |
||||
"back_images": "ru/gun/ruINF37sb.gif" |
||||
}, |
||||
"updated": { |
||||
"front_images": "ru/gun/ru37PPobr15R.png" |
||||
} |
||||
}, |
||||
"adf:1823": { |
||||
"expected": { |
||||
"name": "76* INF PP obr. 27", |
||||
"front_images": "ru/gun/ruINF76s.gif", |
||||
"back_images": "ru/gun/ruINF76sb.gif" |
||||
}, |
||||
"updated": { |
||||
"front_images": "ru/gun/ru76PPobr27.png" |
||||
} |
||||
}, |
||||
|
||||
"3b5:10093": { |
||||
"expected": { |
||||
"name": "SL truck", |
||||
"front_images": [ "sh/SL3b(KFW).png", "sh/SL4b(KFW).png", "sh/SL5b(KFW).png", "sh/SL6b(KFW).png", "sh/SL1b(KFW).png", "sh/SL2b(KFW).png" ], |
||||
"back_images": [ "sh/SL3(KFW).png", "sh/SL4(KFW).png", "sh/SL5(KFW).png", "sh/SL6(KFW).png", "sh/SL1(KFW).png", "sh/SL2(KFW).png" ] |
||||
}, |
||||
"updated": { |
||||
"front_images": "us/veh/usSearchlight(KFW).png", |
||||
"back_images": null |
||||
} |
||||
}, |
||||
|
||||
"08d:75": { |
||||
"expected": { |
||||
"name": "RCL 75*", |
||||
"front_images": "amrcl75-malf.png", |
||||
"back_images": "dm-75rcl.gif" |
||||
}, |
||||
"updated": { |
||||
"front_images": "amrcl75.png" |
||||
} |
||||
} |
||||
|
||||
} |
@ -0,0 +1,72 @@ |
||||
{ |
||||
|
||||
"1555": { |
||||
"name": "2pdr Portee", |
||||
"front_images": [ "br/vehicles/portee.gif", "br/vehicles/portee0.gif" ], |
||||
"back_images": null |
||||
}, |
||||
|
||||
"2212": { |
||||
"name": "76* INF FRC", |
||||
"front_images": [ "al/gun/alINF76.gif", "al/gun/alINF76u.gif" ], |
||||
"back_images": "al/gun/alINF76b.gif" |
||||
}, |
||||
|
||||
"2698": { |
||||
"name": "SPW 251/10", |
||||
"front_images": "ge/veh/spw25110.gif", |
||||
"back_images": [ "No_ATR.gif", "No_PSK.gif" ] |
||||
}, |
||||
|
||||
"6765": { |
||||
"name": "81* MTR Krh/32", |
||||
"front_images": "fi/gun/fi81mmMTR.png", |
||||
"back_images": [ "fi/gun/fi81mmMTR.png", "fi/gun/fi81mmMTRB.png" ] |
||||
}, |
||||
|
||||
"6782": { |
||||
"name": "81* MTR Savu M42", |
||||
"front_images": [ "fi/gun/fi81mmMTR SavuB.png", "fi/gun/fi81mmMTR Savu.png" ], |
||||
"back_images": "fi/gun/fi81mmMTR SavuB.png" |
||||
}, |
||||
|
||||
"6797": { |
||||
"name": "20L (4) AA (g)", |
||||
"front_images": [ "fi/gun/fi20L4.png", "fi/gun/fi20L4L.png" ] |
||||
}, |
||||
|
||||
"6801": { |
||||
"name": "20L (6) AA (g)", |
||||
"front_images": "fi/gun/fi20L6.png", |
||||
"back_images": [ "fi/gun/fi20L6.png", "fi/gun/fi20L6L.png" ] |
||||
}, |
||||
|
||||
"7409": { |
||||
"name": "76 ItK/28 B(s)", |
||||
"front_images": "fi/gun/fiAA76L.png", |
||||
"back_images": [ "fi/gun/fiAA76L.png", "fi/gun/fiAA76LB.png" ] |
||||
}, |
||||
|
||||
"adf:1828": { |
||||
"name": "105 ART wz.29", |
||||
"front_images": "po/gun/poARTwz29-BFP.png", |
||||
"back_images": [ "po/gun/poARTwz29-BFP.png", "po/gun/poARTwz29-BFPb.png" ] |
||||
}, |
||||
"adf:1829": { |
||||
"name": "120* ART wz09.31", |
||||
"front_images": "po/gun/poARTwz0931-BFP.png", |
||||
"back_images": [ "po/gun/poARTwz0931-BFP.png", "po/gun/poARTwz0931-BFPb.png" ] |
||||
}, |
||||
"adf:1830": { |
||||
"name": "155 ART wz.17", |
||||
"front_images": "po/gun/poARTwz17-BFP.png", |
||||
"back_images": [ "po/gun/poARTwz17-BFP.png", "po/gun/poARTwz17-BFPb.png" ] |
||||
}, |
||||
|
||||
"3b5:3676": { |
||||
"name": "M19A1 MGMC", |
||||
"front_images": [ "us/veh/usM19A1MGMC(trailer)KFW.png", "us/veh/usM19A1MGMC(KFW).png" ], |
||||
"back_images": null |
||||
} |
||||
|
||||
} |
@ -0,0 +1,2 @@ |
||||
{ |
||||
} |
@ -0,0 +1,71 @@ |
||||
{ |
||||
"6996": {"is_small": true}, |
||||
"485": {"is_small": true}, |
||||
"850": {"is_small": true}, |
||||
"849": {"is_small": true}, |
||||
"12689": {"is_small": true}, |
||||
"856": {"is_small": true}, |
||||
"857": {"is_small": true}, |
||||
"11336": {"is_small": true}, |
||||
"858": {"is_small": true}, |
||||
"11337": {"is_small": true}, |
||||
"1149": {"is_small": true}, |
||||
"1153": {"is_small": true}, |
||||
"12687": {"is_small": true}, |
||||
"3b5:7613": {"is_small": true}, |
||||
"11359": {"is_small": true}, |
||||
"3b5:11259": {"is_small": true}, |
||||
"1632": {"is_small": true}, |
||||
"1633": {"is_small": true}, |
||||
"1648": {"is_small": true}, |
||||
"12830": {"is_small": true}, |
||||
"1982": {"is_small": true}, |
||||
"1983": {"is_small": true}, |
||||
"1984": {"is_small": true}, |
||||
"1985": {"is_small": true}, |
||||
"1986": {"is_small": true}, |
||||
"1987": {"is_small": true}, |
||||
"1988": {"is_small": true}, |
||||
"2172": {"is_small": true}, |
||||
"2173": {"is_small": true}, |
||||
"2176": {"is_small": true}, |
||||
"2179": {"is_small": true}, |
||||
"11391": {"is_small": true}, |
||||
"11392": {"is_small": true}, |
||||
"11395": {"is_small": true}, |
||||
"11396": {"is_small": true}, |
||||
"11440": {"is_small": true}, |
||||
"3b5:8401": {"is_small": true}, |
||||
"3b5:8402": {"is_small": true}, |
||||
"2465": {"is_small": true}, |
||||
"2474": {"is_small": true}, |
||||
"3252": {"is_small": true}, |
||||
"3253": {"is_small": true}, |
||||
"3263": {"is_small": true}, |
||||
"3422": {"is_small": true}, |
||||
"3428": {"is_small": true}, |
||||
"6730": {"is_small": true}, |
||||
"3605": {"is_small": true}, |
||||
"3608": {"is_small": true}, |
||||
"6763": {"is_small": true}, |
||||
"3679": {"is_small": true}, |
||||
"3680": {"is_small": true}, |
||||
"3681": {"is_small": true}, |
||||
"3682": {"is_small": true}, |
||||
"3691": {"is_small": true}, |
||||
"3692": {"is_small": true}, |
||||
"3959": {"is_small": true}, |
||||
"11558": {"is_small": true}, |
||||
"11559": {"is_small": true}, |
||||
"3b5:10150": {"is_small": true}, |
||||
"3b5:10151": {"is_small": true}, |
||||
"11600": {"is_small": true}, |
||||
"11604": {"is_small": true}, |
||||
"3b5:7871": {"is_small": true}, |
||||
"adf:1948": {"is_small": true}, |
||||
"adf:75": {"is_small": true}, |
||||
"adf:77": {"is_small": true}, |
||||
"adf:76": {"is_small": true}, |
||||
"adf:1407": {"is_small": true}, |
||||
"08d:75": {"is_small": true} |
||||
} |
@ -0,0 +1,147 @@ |
||||
{ |
||||
|
||||
"2474": { |
||||
"expected": { |
||||
"name": "Goliath", |
||||
"front_images": [ "ge/gegol.gif", "ge/gegolb.gif" ], |
||||
"back_images": null |
||||
}, |
||||
"updated": { |
||||
"front_images": "ge/gegol.gif" |
||||
} |
||||
}, |
||||
|
||||
"1555": { |
||||
"expected": { |
||||
"name": "2pdr Portee", |
||||
"front_images": "br/vehicles/portee.gif", |
||||
"back_images": [ "br/vehicles/portee.gif", "br/vehicles/portee0.gif" ] |
||||
}, |
||||
"updated": { |
||||
"front_images": [ "br/vehicles/portee.gif", "br/vehicles/portee0.gif" ], |
||||
"back_images": null |
||||
} |
||||
}, |
||||
|
||||
"3463": { |
||||
"expected": { |
||||
"name": "75L AA 75/46", |
||||
"front_images": [ "it/gun/itAA7546.gif", "it/gun/itAA7546b.gif" ], |
||||
"back_images": [ "it/gun/itAA7546b.gif", "it/gun/itAA7546lb.gif" ] |
||||
}, |
||||
"updated": { |
||||
"front_images": "it/gun/itAA7546.gif", |
||||
"back_images": "it/gun/itAA7546b.gif" |
||||
} |
||||
}, |
||||
|
||||
"3776": { |
||||
"expected": { |
||||
"name": "37* INF Skoda IG", |
||||
"front_images": [ "ax/gun/buIN37s.gif", "ax/gun/buIN37s2.gif" ], |
||||
"back_images": "ax/gun/buIN37sb.gif" |
||||
}, |
||||
"updated": { |
||||
"front_images": "ax/gun/buIN37s.gif" |
||||
} |
||||
}, |
||||
|
||||
"3777": { |
||||
"expected": { |
||||
"name": "70* INF Skoda IG", |
||||
"front_images": [ "ax/gun/buIN37s.gif", "ax/gun/buIN37s2.gif" ], |
||||
"back_images": "ax/gun/buIN37sb.gif" |
||||
}, |
||||
"updated": { |
||||
"front_images": "ax/gun/buIN37s2.gif" |
||||
} |
||||
}, |
||||
|
||||
"6802": { |
||||
"expected": { |
||||
"name": "20L (4) AA", |
||||
"front_images": [ "fi/gun/fi20L4 _2.png", "fi/gun/fi20L4 _2 LIM.png" ], |
||||
"back_images": null |
||||
}, |
||||
"updated": { |
||||
"front_images": "fi/gun/fi20L4 _2.png" |
||||
} |
||||
}, |
||||
|
||||
"6803": { |
||||
"expected": { |
||||
"name": "20L VKT (12) AA", |
||||
"front_images": [ "fi/gun/fi20L12.png", "fi/gun/fi20L12L.png" ], |
||||
"back_images": null |
||||
}, |
||||
"updated": { |
||||
"front_images": "fi/gun/fi20L12.png" |
||||
} |
||||
}, |
||||
|
||||
"6804": { |
||||
"expected": { |
||||
"name": "40L Bofors AA (s)", |
||||
"front_images": [ "fi/gun/fi40L.png", "fi/gun/fi40LL.png" ], |
||||
"back_images": null |
||||
}, |
||||
"updated": { |
||||
"front_images": "fi/gun/fi40L.png" |
||||
} |
||||
}, |
||||
|
||||
"adf:1824": { |
||||
"expected": { |
||||
"name": "37L AT PTP obr. 30", |
||||
"front_images": "ru/gun/ruAT37L.gif", |
||||
"back_images": "ru/gun/ruAT37Lb.gif" |
||||
}, |
||||
"updated": { |
||||
"front_images": "ru/gun/ru37LPTPobr30.png" |
||||
} |
||||
}, |
||||
"adf:1822": { |
||||
"expected": { |
||||
"name": "37* INF PP obr. 15R", |
||||
"front_images": "ru/gun/ruINF37s.gif", |
||||
"back_images": "ru/gun/ruINF37sb.gif" |
||||
}, |
||||
"updated": { |
||||
"front_images": "ru/gun/ru37PPobr15R.png" |
||||
} |
||||
}, |
||||
"adf:1823": { |
||||
"expected": { |
||||
"name": "76* INF PP obr. 27", |
||||
"front_images": "ru/gun/ruINF76s.gif", |
||||
"back_images": "ru/gun/ruINF76sb.gif" |
||||
}, |
||||
"updated": { |
||||
"front_images": "ru/gun/ru76PPobr27.png" |
||||
} |
||||
}, |
||||
|
||||
"3b5:10093": { |
||||
"expected": { |
||||
"name": "SL truck", |
||||
"front_images": [ "sh/SL3b(KFW).png", "sh/SL4b(KFW).png", "sh/SL5b(KFW).png", "sh/SL6b(KFW).png", "sh/SL1b(KFW).png", "sh/SL2b(KFW).png" ], |
||||
"back_images": [ "sh/SL3(KFW).png", "sh/SL4(KFW).png", "sh/SL5(KFW).png", "sh/SL6(KFW).png", "sh/SL1(KFW).png", "sh/SL2(KFW).png" ] |
||||
}, |
||||
"updated": { |
||||
"front_images": "us/veh/usSearchlight(KFW).png", |
||||
"back_images": null |
||||
} |
||||
}, |
||||
|
||||
"08d:75": { |
||||
"expected": { |
||||
"name": "RCL 75*", |
||||
"front_images": "amrcl75-malf.png", |
||||
"back_images": "dm-75rcl.gif" |
||||
}, |
||||
"updated": { |
||||
"front_images": "amrcl75.png" |
||||
} |
||||
} |
||||
|
||||
} |
@ -0,0 +1,5 @@ |
||||
/* NOTE: This stylesheet will be dynamically injected into the UI when custom list bullets are enabled. */ |
||||
.trumbowyg-editor ul { list-style-image: url("../images/bullet.png") ; } |
||||
.trumbowyg-editor ul ul { list-style-image: url("../images/bullet2.png") ; } |
||||
.trumbowyg-editor ul ul ul { list-style-image: url("../images/bullet3.png") ; } |
||||
.trumbowyg-editor ol { list-style-image: none ; } |
@ -0,0 +1,11 @@ |
||||
/* NOTE: This file contains work-arounds for the desktop app. */ |
||||
|
||||
fieldset[name='scenario'] { max-height: 251px ; } |
||||
|
||||
/* these work around vertical alignment of text in input controls */ |
||||
#panel-scenario label { margin-bottom: -1px ; } |
||||
#panel-scenario label[for="TURN_TRACK_NTURNS"], #panel-scenario label[for="PLAYER_1"], #panel-scenario label[for="PLAYER_2"] { |
||||
line-height: 20px ; |
||||
} |
||||
#panel-scenario input[name="SCENARIO_DATE"] { padding-top: 2px ; } |
||||
|
@ -0,0 +1,4 @@ |
||||
#edit-html_textbox-dialog { overflow: hidden ; padding-bottom: 0.75em !important ; } |
||||
.ui-dialog.edit-html_textbox .ui-dialog-buttonpane { border: none ; margin-top: 0 !important ; padding-top: 0 !important ; } |
||||
|
||||
.ui-dialog.edit-html_textbox .container { height: 100% ; display: flex ; flex-direction: row ; } |
@ -1,6 +1,6 @@ |
||||
#edit-simple_note { overflow: hidden ; } |
||||
#edit-simple_note { overflow: hidden ; padding-bottom: 0.75em !important ; } |
||||
.ui-dialog.edit-simple_note .ui-dialog-buttonpane { border: none ; margin-top: 0 !important ; padding-top: 0 !important ; } |
||||
|
||||
.ui-dialog.edit-simple_note textarea { resize: none ; width: calc(100% - 4px) ; height: 100% ; } |
||||
.ui-dialog.edit-simple_note .container { height: 100% ; display: flex ; flex-direction: row ; } |
||||
.ui-dialog.edit-simple_note label[for="width"] { color: #444 ; } |
||||
.ui-dialog.edit-simple_note input[name="width"] { color: #444 ; } |
||||
|
@ -1,26 +1,33 @@ |
||||
.ui-dialog.edit-vo .ui-dialog-content { overflow: hidden ; display: flex ; flex-direction: column ; } |
||||
.ui-dialog.edit-vo .ui-dialog-content { overflow: hidden ; display: flex ; flex-direction: column ; padding-bottom: 0.5em !important ; } |
||||
.ui-dialog.edit-vo .ui-dialog-buttonpane { border: none ; margin-top: 0 !important ; padding-top: 0 !important ; } |
||||
|
||||
.ui-dialog.edit-vo .header { display: flex ; align-items: center ; margin-bottom: 0.5em ; } |
||||
.ui-dialog.edit-vo .header img.vasl-image { height: 3.5em ; margin-right: 0.5em ; } |
||||
.ui-dialog.edit-vo .header img.vasl-image.small-piece { height: 2.7em ; margin-left: 0.4em ; margin-right: 0.9em ; } |
||||
.ui-dialog.edit-vo .header img.vasl-image.small-piece { height: 2.7em ; margin-left: 0.4em ; margin-right: 0.4em ; } |
||||
.ui-dialog.edit-vo .header .content { display: flex ; flex-direction: column ; justify-content: center ; } |
||||
.ui-dialog.edit-vo .header .content .vo-name { font-size: 125% ; } |
||||
.ui-dialog.edit-vo .header .content .vo-name { margin-left: 0.5em ; font-size: 125% ; font-weight: bold ; color: #333 ; } |
||||
.ui-dialog.edit-vo .header .content input.select-vo-image { width: 15px ; position: relative ; top: 10px ; } |
||||
|
||||
.ui-dialog.edit-vo .capabilities { flex-grow: 1 ; } |
||||
.ui-dialog.edit-vo .comments { flex-grow: 1 ; } |
||||
/* FUDGE! Need this for Chromium (odd, because flex-grow works properly elsewhere :-/). */ |
||||
.ui-dialog.edit-vo .capabilities, .ui-dialog.edit-vo .comments { flex-basis: 0 ; } |
||||
.ui-dialog.edit-vo .split-container { flex-grow: 1 ; margin-bottom: 15px ; } |
||||
|
||||
.ui-dialog.edit-vo .fieldset { height: calc(100% - 40px) ; display: flex ; flex-direction: column ; align-items: stretch ; } |
||||
.ui-dialog.edit-vo .capabilities { margin-top: 0.25em ; display: flex ; flex-direction: column ; } |
||||
.ui-dialog.edit-vo .comments { margin-top: 0.5em ; display: flex ; flex-direction: column ; } |
||||
.ui-dialog.edit-vo .brewup { color: #a04010 ; } |
||||
.ui-dialog.edit-vo .split-mg-red { color: #a04010 ; } |
||||
|
||||
.ui-dialog.edit-vo #vo_capabilities-sortable { overflow-x: hidden ; } |
||||
.ui-dialog.edit-vo #vo_comments-sortable { overflow-x: hidden ; } |
||||
|
||||
.ui-dialog.edit-vo .fieldset { flex-grow: 1 ; display: flex ; flex-direction: column ; align-items: stretch ; } |
||||
.ui-dialog.edit-vo .fieldset { margin: 0 ; padding: 5px 8px 8px 8px ; border: 1px solid #aaa ; } |
||||
.ui-dialog.edit-vo .fieldset-legend { color: #666 ; } |
||||
.ui-dialog.edit-vo .fieldset-legend { color: #333 ; font-weight: bold ; } |
||||
.ui-dialog.edit-vo .fieldset ul { flex-grow: 1 ; margin: 0 0 5px 0 ; list-style-type: none ; overflow-y: auto ; } |
||||
.ui-dialog.edit-vo .fieldset li { margin: 2px ; padding: 2px 0px 2px 5px ; background: #eee ; } |
||||
.ui-dialog.edit-vo .fieldset li div { display: flex ; align-items: center ; } |
||||
.ui-dialog.edit-vo .fieldset li img.dragger { height: 1em ; margin-right: 5px ; } |
||||
.ui-dialog.edit-vo .fieldset li input[type='text'] { flex-grow: 1 ; margin-right: 1em ; } |
||||
.ui-dialog.edit-vo .fieldset li { margin: 2px ; padding: 2px 0px 2px 5px ; background: #eee ; max-width: 100% ; } |
||||
.ui-dialog.edit-vo .fieldset li { height: 22px ; border: none !important ; } |
||||
.ui-dialog.edit-vo .fieldset li:hover { cursor: auto ; } |
||||
.ui-dialog.edit-vo .fieldset li > div { display: flex ; align-items: center ; padding-right: 2px ; } |
||||
.ui-dialog.edit-vo .fieldset li img.dragger { height: 1em ; margin-right: 5px ; cursor: pointer ; } |
||||
.ui-dialog.edit-vo .fieldset li div.html-textbox { flex-grow: 1 ; } |
||||
|
||||
.ui-dialog.edit-vo .fieldset .footer { display: flex ; align-items: center ; } |
||||
.ui-dialog.edit-vo .fieldset .footer { margin-top: 0.25em ; display: flex ; align-items: center ; } |
||||
.ui-dialog.edit-vo .fieldset .footer img.trash { margin: 3px 5px ; height: 24px ; } |
||||
|
@ -0,0 +1,82 @@ |
||||
.trumbowyg-box { min-height: 2em ; border-color: #ccc ; } |
||||
|
||||
.trumbowyg-editor, .trumbowyg-textarea { |
||||
padding: 0.5em 0.75em ; |
||||
min-height: 2em ; |
||||
} |
||||
|
||||
.trumbowyg-button-group button::after { top: 25px !important ; } |
||||
|
||||
.trumbowyg-editor ul { margin: 0 0 0 0.9em ; } |
||||
.trumbowyg-editor ol { margin: 0 0 0 1.8em ; } |
||||
|
||||
/* make tables visible in the editor */ |
||||
.trumbowyg-editor table.table { width: auto ; } |
||||
.trumbowyg-editor table.table td { border: 1px dotted #888 ; } |
||||
|
||||
/* FUDGE! CSS for blockquote doesn't work in VASSAL :-/, so we try to match its indent in our UI. */ |
||||
.trumbowyg-editor blockquote { margin-left: 2.5em ; } |
||||
|
||||
/* modal box */ |
||||
.trumbowyg-modal-box { border: 1px solid #666 ; } |
||||
.trumbowyg-modal-box .trumbowyg-input-infos label { color: #444 ; font-weight: bold ; } |
||||
|
||||
/* configure button */ |
||||
.trumbowyg-foreColor-button, .trumbowyg-backColor-button { |
||||
width: 40px !important ; |
||||
background: no-repeat 12px 12px url("../images/trumbowyg/fore-color.png") !important ; |
||||
background-size: 12px 12px !important ; |
||||
filter: grayscale(100%) brightness(90%) ; |
||||
} |
||||
.trumbowyg-backColor-button { |
||||
width: 40px !important ; |
||||
background: no-repeat 12px 12px url("../images/trumbowyg/back-color.png") !important ; |
||||
background-size: 12px 12px !important ; |
||||
filter: grayscale(100%) brightness(90%) ; |
||||
} |
||||
.trumbowyg-emoji-button { |
||||
width: 40px !important ; |
||||
background: no-repeat 13px 13px url("../images/trumbowyg/smile.png") !important ; |
||||
background-size: 12px 12px !important ; |
||||
filter: grayscale(100%) brightness(40%) ; |
||||
} |
||||
.trumbowyg-removeformat-button { line-height: 33px !important ; border:1px dotted red; } |
||||
.trumbowyg-dropdown-specialChars { width: 330px ; max-width: 330px ; } |
||||
.trumbowyg-dropdown-align { max-height: 160px !important ; } |
||||
|
||||
/* configure an image for our custom "flags" button */ |
||||
.trumbowyg-flags-button { |
||||
width: 40px !important ; |
||||
background: no-repeat 12px 13px url("../images/nat-caps.png") !important ; |
||||
background-size: 12px 12px !important ; |
||||
filter: grayscale(100%) brightness(60%) ; |
||||
} |
||||
.trumbowyg-dropdown-flags button img { width: 13px ; } |
||||
|
||||
/* FUDGE! Fix-up the appearance of some of the buttons. */ |
||||
.trumbowyg-fontsize-button svg { width: 14px ; opacity: 0.9 ; } |
||||
.Xtrumbowyg-specialChars-button { color: #555 ; } |
||||
.trumbowyg-indent-button svg, .trumbowyg-outdent-button svg { width: 13px ; } |
||||
.trumbowyg-indent-button svg { transform: scaleX(-1) ; } |
||||
|
||||
/* -------------------------------------------------------------------- */ |
||||
|
||||
div.html-textbox { |
||||
flex-grow: 100 ; |
||||
height: 20px ; max-height: 20px ; |
||||
/* NOTE: We hide vertical overflow when the content goes multi-line, and the h-scrollbar if very long words |
||||
* (i.e. without spaces) are present. In the latter case, the layout breaks if the control is in a flexbox, |
||||
* since it just expands out, regardless of any max-width setting :-/, so we work-around this by dynamically |
||||
* setting a max-width on the parent row. |
||||
* */ |
||||
overflow: hidden ; |
||||
line-height: 1.4em ; /* FUDGE! This works around a vertical-alignment problem in the desktop app. */ |
||||
padding: 0 12px 0 5px ; |
||||
border: 1px solid #c5c5c5 ; background: white ; |
||||
/* NOTE: This makes the control scroll horizontally (like a real textbox), but it breaks padding (which is maybe |
||||
* acceptable), and max-width (which is not). Things don't work well when these things are in a flexbox, and while |
||||
* we can sorta get things working by disabling that, and dynamically setting the width along with max-width, |
||||
* weird things happen when we resize the enclosing panel :-/ |
||||
white-space: nowrap ; overflow-x: hidden ; |
||||
*/ |
||||
} |