File tree Expand file tree Collapse file tree
flask-getting-started-rsc/templates
flask-getting-started-sqlalchemy/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ rsconnect/
3939.DS_Store
4040__pycache__
4141.ipynb_checkpoints
42- * .html
42+
4343rmarkdown-notebook /flights.csv
4444
4545.venv
Original file line number Diff line number Diff line change 1+ < html >
2+ < head >
3+ < link
4+ rel ="stylesheet "
5+ type ="text/css "
6+ href ="{{ url_for('static', filename='style.css') }} "
7+ />
8+ </ head >
9+ < body class ="sans-serif center w-60 ">
10+ < div class ="mt5 ba pa br2 b--black-30 tc ">
11+ < h2 > 🎉 Hello, World! This is Flask on RStudio Connect!</ h2 >
12+ </ div >
13+ < div class ="mt5 ba pa br2 b--black-30 tc ">
14+ < h2 > 🚀Access the API endpoint</ h2 >
15+ < h3 > < a href ="{{ url_for('hello') }} "> {{ url_for('hello') }}</ a > </ h3 >
16+
17+ < img
18+ class ="w-100 "
19+ src ="{{ url_for('static', filename='api-snippet.png') }} "
20+ />
21+ </ div >
22+ </ body >
23+ </ html >
Original file line number Diff line number Diff line change 1+ < html >
2+ < head >
3+ < link
4+ rel ="stylesheet "
5+ type ="text/css "
6+ href ="{{ url_for('static', filename='style.css') }} "
7+ />
8+ </ head >
9+ < body class ="pa ">
10+ < div class ="ba ">
11+ {% for user in users %}
12+ Hello, {{ user.username }} from RStudio Connect! < br />
13+ {% endfor %}
14+ </ div >
15+ </ body >
16+ </ html >
You can’t perform that action at this time.
0 commit comments