- NEW "plugin API" for custom UI modules, closed #913 - NEW live "Killstream" for killboard module, closed #909 - NEW "custom layout" UI settings, closed #470
172 lines
7.8 KiB
HTML
172 lines
7.8 KiB
HTML
{{! Info section ================================================================================================== }}
|
|
<script id="tplInfoSection" type="text/template">
|
|
<span title="status" data-status="{{system.status.id}}" class="label center-block {{config.systemInfoStatusLabelClass}} {{systemStatusClass}}">
|
|
{{systemStatusLabel}}
|
|
</span>
|
|
|
|
<div class="pf-dynamic-area" data-resizebar>
|
|
<table class="table table-condensed pf-table-fixed {{config.infoTableClass}}">
|
|
<thead>
|
|
<tr>
|
|
<th class="pf-table-cell-50">Name</th>
|
|
<th class="text-right pf-table-cell-ellipses-auto pf-system-info-name-cell">
|
|
{{#system.drifter}}
|
|
<i class="fas fa-fw fa-wave-square {{systemSecurityClass}}" title="drifter"></i>
|
|
{{/system.drifter}}
|
|
{{#system.shattered}}
|
|
<i class="fas fa-fw fa-chart-pie {{systemShatteredClass}}" title="shattered"></i>
|
|
{{/system.shattered}}
|
|
<span class="pf-help-default {{config.systemInfoNameClass}} {{systemNameClass}}">{{system.name}}</span>
|
|
</th>
|
|
<th class="pf-table-cell-20 text-right {{systemSecurityClass}}">{{system.security}}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>Security</td>
|
|
<td></td>
|
|
<td class="text-right {{trueSecClass}}">{{trueSec}}</td>
|
|
</tr>
|
|
{{#systemEffectName}}
|
|
<tr>
|
|
<td>Effect</td>
|
|
<td class="text-right pf-font-capitalize">{{systemEffectName}}</td>
|
|
<td class="text-right {{config.systemInfoEffectClass}}"><i class="fas fa-fw fa-square pf-system-effect {{systemEffectClass}}"></i></td>
|
|
</tr>
|
|
{{/systemEffectName}}
|
|
{{#system.faction}}
|
|
<tr>
|
|
<td>Faction</td>
|
|
<td class="text-right pf-table-cell-ellipses-auto" colspan="2">{{system.faction.name}}</td>
|
|
</tr>
|
|
{{/system.faction}}
|
|
{{#systemPlanetCount}}
|
|
<tr>
|
|
<td>Planets</td>
|
|
<td></td>
|
|
<td class="text-right pf-help-default {{config.systemInfoPlanetsClass}}">{{systemPlanetCount}}</td>
|
|
</tr>
|
|
{{/systemPlanetCount}}
|
|
{{#systemStaticData}}
|
|
<tr>
|
|
<td>Static</td>
|
|
<td class="text-right">{{name}}</td>
|
|
<td class="text-right pf-help-default {{class}} {{popoverTriggerClass}}" data-name="{{name}}">{{security}}</td>
|
|
</tr>
|
|
{{/systemStaticData}}
|
|
</tbody>
|
|
</table>
|
|
<!--
|
|
<div class="pf-resizearea">
|
|
<table class="table table-condensed pf-table-fixed {{infoTableClass}}">
|
|
<colgroup>
|
|
<col/>
|
|
<col style="width: 40px;"/>
|
|
<col style="width: 40px;"/>
|
|
<col style="width: 40px;"/>
|
|
</colgroup>
|
|
<thead>
|
|
<tr>
|
|
<th>Links</th>
|
|
{{#thirdPartyLinks}}
|
|
{{#showInModuleHead}}
|
|
<th class="pf-table-cell-bg-image" rowspan="2"></th>
|
|
{{/showInModuleHead}}
|
|
{{^showInModuleHead}}
|
|
<th class="pf-table-cell-bg-image" rowspan="2">
|
|
{{#url}}
|
|
<a class="pf-table-cell-bg-image-wrapper smaller" style="--bg-image: url('/public/img/icons/logo_{{page}}.png');" title="{{ title }}" href="{{ url }}" target="_blank" rel="noopener"></a>
|
|
{{/url}}
|
|
{{^url}}
|
|
<span class="pf-table-cell-bg-image-wrapper smaller pf-link" style="--bg-image: url('/public/img/icons/logo_{{page}}.png');" title="{{ title }}" data-link="{{page}}"></span>
|
|
{{/url}}
|
|
</th>
|
|
{{/showInModuleHead}}
|
|
{{/thirdPartyLinks}}
|
|
</tr>
|
|
<tr>
|
|
<th> </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="pf-dynamic-area-statusbar">
|
|
<div class="pf-dynamic-area-resizebar">
|
|
<div class="pf-resizebar-bar"></div>
|
|
<div class="pf-resizebar-bar"></div>
|
|
<div class="pf-resizebar-bar"></div>
|
|
</div>
|
|
</div>
|
|
-->
|
|
</div>
|
|
</script>
|
|
|
|
{{! Sovereignty section =========================================================================================== }}
|
|
<script id="tplSovSection" type="text/template">
|
|
<table class="table table-condensed pf-table-fixed {{config.systemSovTableClass}}">
|
|
<colgroup>
|
|
<col style="width: 40px;"/>
|
|
<col/>
|
|
<col style="width: 45px;"/>
|
|
</colgroup>
|
|
<thead>
|
|
{{#sovereigntyPrimary}}
|
|
<tr>
|
|
<th>{{row1Label}}</th>
|
|
<th class="text-right">{{row1Val}}</th>
|
|
<th class="pf-table-cell-bg-image" rowspan="2">
|
|
<div class="pf-table-cell-bg-image-wrapper pf-help-default" style="--bg-image: url('{{{row1Img}}}');" title="{{row1ImgTitle}}"></div>
|
|
</th>
|
|
</tr>
|
|
<tr>
|
|
<th>{{#row2Label}}{{row2Label}}{{/row2Label}}</th>
|
|
<th class="text-right pf-table-cell-ellipses-auto">{{#row2Val}}{{row2Val}}{{/row2Val}}</th>
|
|
</tr>
|
|
{{/sovereigntyPrimary}}
|
|
</thead>
|
|
<tbody>
|
|
{{#sovereigntyPrimary.row3Val}}
|
|
<tr>
|
|
<td>{{sovereigntyPrimary.row3Label}}</td>
|
|
<td colspan="2" class="text-right pf-table-cell-ellipses-auto">{{sovereigntyPrimary.row3Val}}</td>
|
|
</tr>
|
|
{{/sovereigntyPrimary.row3Val}}
|
|
{{#sovereigntySecondary}}
|
|
<tr>
|
|
<td>{{row1Label}}</td>
|
|
<td colspan="2" class="text-right pf-table-cell-ellipses-auto">{{row1Val}}</td>
|
|
</tr>
|
|
{{/sovereigntySecondary}}
|
|
<tr class="{{config.systemSovFwContestedRowClass}}">
|
|
<td>
|
|
<svg class="pf-system-info-svg pf-help-default" width="12px" height="12px" title="Faction Warfare System">
|
|
<use xlink:href="#pf-svg-swords"/>
|
|
</svg>
|
|
<i class="fas fa-flag {{config.systemSovFwStatusIconClass}}"></i>
|
|
</td>
|
|
<td class="text-right pf-table-cell-ellipses-auto {{config.systemSovFwContestedClass}}"></td>
|
|
<td class="text-right {{config.systemSovFwPercentageClass}}"></td>
|
|
</tr>
|
|
<tr class="{{config.systemSovFwOccupationRowClass}}">
|
|
<td></td>
|
|
<td class="text-right pf-table-cell-ellipses-auto">occupied by</td>
|
|
<td class="pf-table-cell-bg-image" rowspan="2">
|
|
<div class="pf-table-cell-bg-image-wrapper pf-help-default {{config.systemSovFwOccupationImageClass}}"></div>
|
|
</td>
|
|
</tr>
|
|
<tr class="{{config.systemSovFwOccupationRowClass}}">
|
|
<td colspan="2" class="text-right pf-table-cell-ellipses-auto {{config.systemSovFwOccupationClass}}"></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</script>
|
|
|
|
{{! Description section =========================================================================================== }}
|
|
<script id="tplDescSection" type="text/template">
|
|
<div class="pf-dynamic-area {{config.descriptionAreaClass}}">
|
|
<div class="{{config.descriptionTextareaElementClass}} {{summernoteClass}}"></div>
|
|
<i class="fas fa-fw fa-lg fa-pen pull-right {{config.moduleHeadlineIconClass}} {{config.addDescriptionButtonClass}}" title="edit description"></i>
|
|
</div>
|
|
</script> |