-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed Map Model, forms, crud handlers;
Also removed obsolete routes
- Loading branch information
Showing
7 changed files
with
152 additions
and
195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{% extends base_layout %} | ||
|
||
{% block title %} | ||
{% trans %}Maps View{% endtrans %} - {{app_name}} | ||
{% endblock %} | ||
{% block header_title_lead %} | ||
{% endblock %} | ||
{% block content %} | ||
<p class="lead"> | ||
{{ name }} | ||
</p> | ||
<p> | ||
{%trans%}Navigate using the bar below{%endtrans%} | ||
</p> | ||
<div class="navbar"> | ||
<div class="navbar-inner"> | ||
<a class="brand" href="{{ uri_for("map-view",map_id=mid) }}">{%trans%}Simulation Details{%endtrans%}</a> | ||
<ul class="nav"> | ||
<li {% if path == uri_for("map-data",map_id=mid) %}class="active" {% endif %}><a href="{{ uri_for("map-data",map_id=mid) }}">{%trans%}Series{%endtrans%}</a></li> | ||
|
||
</ul> | ||
</div> | ||
</div> | ||
<div class="well-large"> | ||
<ul class="nav nav-tabs"> | ||
<li><a href="#Record" data-toggle="tab">{% trans %}Record{% endtrans %}</a></li> | ||
<li><a href="#EPG" data-toggle="tab">{% trans %}EPG file{% endtrans %}</a></li> | ||
<li><a href="#Model" data-toggle="tab">{% trans %}Model{% endtrans %}</a></li> | ||
<li><a href="#Statistics" data-toggle="tab">{% trans %}Statistics{% endtrans %}</a></li> | ||
</ul> | ||
<div class="tab-content"> | ||
<div class="tab-pane active" id="Record"> | ||
<form method="POST" action="{{ url|safe }}" enctype="multipart/form-data" class="well form-horizontal"> | ||
<fieldset> | ||
<input type="hidden" name="_csrf_token" value="{{ csrf_token() }}"> | ||
<div>{{ form.name.label }}: {{ form.name(class="input-xlarge focused required") }}</div> | ||
{% if form.name.errors %} | ||
<ul class="errors">{% for error in form.name.errors %}<li>{{ error }}</li>{% endfor %}</ul> | ||
{% endif %} | ||
|
||
<div>{{ form.description.label }}: {{ form.description(class="input-xlarge focused required") }}</div> | ||
{% if form.description.errors %} | ||
<ul class="errors">{% for error in form.description.errors %}<li>{{ error }}</li>{% endfor %}</ul> | ||
{% endif %} | ||
<div>{{ form.search_term.label }}: {{ form.search_term(class="input-xlarge focused") }}</div> | ||
{% if form.search_term.errors %} | ||
<ul class="errors">{% for error in form.search_term.errors %}<li>{{ error }}</li>{% endfor %}</ul> | ||
{% endif %} | ||
|
||
<div class="form-actions"> | ||
<button type="submit" class="btn btn-primary">{% trans %}Update!{% endtrans %}</button> | ||
</div> | ||
</fieldset> | ||
</form> | ||
</div> | ||
<div class="tab-pane" id="EPG"> | ||
<code> | ||
{% for l in epg %} | ||
<p>{{ l }}</p> | ||
{% endfor %} | ||
</code> | ||
</div> | ||
<div class="tab-pane" id="Model"> | ||
{{ model }} | ||
</div> | ||
<div class="tab-pane" id="Statistics"> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.