Skip to content

Commit

Permalink
BR
Browse files Browse the repository at this point in the history
  • Loading branch information
bsrunnels committed Aug 29, 2024
1 parent 0e827cd commit acc06e8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions simba/simba_web.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import getpass
from functools import wraps
from flask import Flask, request, render_template, send_file, redirect, Response, url_for
from flaskext.markdown import Markdown
#from flask.ext.markdown import Markdown
from flask_frozen import Freezer
import datetime
import webbrowser
Expand Down Expand Up @@ -101,7 +101,7 @@ def format_datetime(value, format='medium'):
script_directory = os.path.realpath(__file__)

app = Flask(__name__)
Markdown(app)
#Markdown(app)

app.jinja_env.filters['datetime'] = format_datetime

Expand Down
2 changes: 1 addition & 1 deletion simba/templates/detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ <h3 class="pull-left">Simulation Information </h3>
<td> {{ columns[i] }}</td>
<td>
<div width="100%">
{{data[columns[i]] | string | markdown}}
{{data[columns[i]] | string}}
<button type="button" class="btn btn-primary pull-right btn-xs" data-toggle="collapse" data-target="#form-description">Edit Description</button>
</div>
<br/>
Expand Down
2 changes: 1 addition & 1 deletion simba/templates/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
</div>
<div class="col-md-8">
<div width="100%">
{{ table_description | markdown }}
{{ table_description }}
<button type="button" class="btn btn-primary pull-right btn-xs" data-toggle="collapse" data-target="#form-description">Edit Description</button>
</div>
<br/>
Expand Down

0 comments on commit acc06e8

Please sign in to comment.