This commit is contained in:
baoliang 2018-12-28 16:09:15 +08:00
parent 4ea9f70f3a
commit 29ce3d8c5d
2 changed files with 19 additions and 19 deletions

View File

@ -75,24 +75,24 @@
</ul> </ul>
</li> </li>
{# <li {% if url_name|startswith:'disaster' %}class="active"{% endif %}>#} <li {% if url_name|startswith:'disaster' %}class="active"{% endif %}>
{# <a href="#">#} <a href="#">
{# <i class="fa fa-th-large"></i>#} <i class="fa fa-th-large"></i>
{# <span class="nav-label">灾害预测</span>#} <span class="nav-label">灾害预测</span>
{# <span class="fa arrow"></span>#} <span class="fa arrow"></span>
{# </a>#} </a>
{# <ul class="nav nav-second-level collapse">#} <ul class="nav nav-second-level collapse">
{# <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>
{# </ul>#} </ul>
{# </li>#} </li>
<li {% if url_name|startswith:'policy' %}class="active"{% endif %}> <li {% if url_name|startswith:'policy' %}class="active"{% endif %}>
<a href="#"> <a href="#">

View File

@ -27,5 +27,5 @@ urlpatterns = [
path('admin/', admin.site.urls), path('admin/', admin.site.urls),
path('predict/', include('predict.urls')), path('predict/', include('predict.urls')),
path('users/',include('users.urls')), path('users/',include('users.urls')),
# path('disaster/', include('disaster.urls')) path('disaster/', include('disaster.urls'))
] ]