This commit is contained in:
xieshen 2018-12-18 10:52:12 +08:00
parent be09282f38
commit d6448eebbb
4 changed files with 6 additions and 3 deletions

View File

@ -77,9 +77,9 @@
<li {% if url_name == 'disaster-index' %}class="active"{% endif %}> <li {% if url_name == 'disaster-index' %}class="active"{% endif %}>
<a href="{% url 'disaster-index' %}">干旱预测</a> <a href="{% url 'disaster-index' %}">干旱预测</a>
</li> </li>
{# <li {% if url_name == '' %}class="active"{% endif %}>#} <li {% if url_name == '' %}class="active"{% endif %}>
{# <a href="#">暴雨风险预测</a>#} <a href="#">暴雨风险预测</a>
{# </li>#} </li>
<li {% if url_name == 'disaster-hail' %}class="active"{% endif %}> <li {% if url_name == 'disaster-hail' %}class="active"{% endif %}>
<a href="{% url 'disaster-hail' %}">冰雹风险预测</a> <a href="{% url 'disaster-hail' %}">冰雹风险预测</a>
</li> </li>

View File

@ -43,6 +43,7 @@
<div class="ibox-content" style="padding: 0; position: relative;"> <div class="ibox-content" style="padding: 0; position: relative;">
<div id="map" style="width: 100%;height: 800px;"> <div id="map" style="width: 100%;height: 800px;">
<div class="legend"> <div class="legend">
<div style="background: white;text-align: center;color: black">GDP/亿</div>
<img src="http://210.77.68.250:8080/geoserver/wms?REQUEST=GetLegendGraphic&VERSION=1.0.0&FORMAT=image/png&WIDTH=20&HEIGHT=20&LAYER=baoji:bj_eco&STYLE=baoji:gdp"> <img src="http://210.77.68.250:8080/geoserver/wms?REQUEST=GetLegendGraphic&VERSION=1.0.0&FORMAT=image/png&WIDTH=20&HEIGHT=20&LAYER=baoji:bj_eco&STYLE=baoji:gdp">
</div> </div>
</div> </div>

View File

@ -43,6 +43,7 @@
<div class="ibox-content" style="padding: 0; position: relative;"> <div class="ibox-content" style="padding: 0; position: relative;">
<div id="map" style="width: 100%;height: 800px;"> <div id="map" style="width: 100%;height: 800px;">
<div class="legend"> <div class="legend">
<div style="background: white;text-align: center;color: black">土地利用(万亩)</div>
<img src="http://210.77.68.250:8080/geoserver/wms?REQUEST=GetLegendGraphic&VERSION=1.0.0&FORMAT=image/png&WIDTH=20&HEIGHT=20&LAYER=baoji:bj_eco&STYLE=baoji:area_cult"> <img src="http://210.77.68.250:8080/geoserver/wms?REQUEST=GetLegendGraphic&VERSION=1.0.0&FORMAT=image/png&WIDTH=20&HEIGHT=20&LAYER=baoji:bj_eco&STYLE=baoji:area_cult">
</div> </div>
</div> </div>

View File

@ -43,6 +43,7 @@
<div class="ibox-content" style="padding: 0; position: relative;"> <div class="ibox-content" style="padding: 0; position: relative;">
<div id="map" style="width: 100%;height: 800px;"> <div id="map" style="width: 100%;height: 800px;">
<div class="legend"> <div class="legend">
<div style="background: white;text-align: center;color: black">人口(万人)</div>
<img src="http://210.77.68.250:8080/geoserver/wms?REQUEST=GetLegendGraphic&VERSION=1.0.0&FORMAT=image/png&WIDTH=20&HEIGHT=20&LAYER=baoji:bj_eco&STYLE=baoji:pop"> <img src="http://210.77.68.250:8080/geoserver/wms?REQUEST=GetLegendGraphic&VERSION=1.0.0&FORMAT=image/png&WIDTH=20&HEIGHT=20&LAYER=baoji:bj_eco&STYLE=baoji:pop">
</div> </div>
</div> </div>