Skip to content

Commit

Permalink
content updates
Browse files Browse the repository at this point in the history
  • Loading branch information
kreynoldsf5 committed May 1, 2024
1 parent 057b5e6 commit 8ef0dd2
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 5 deletions.
22 changes: 22 additions & 0 deletions labapp/app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,28 @@ def port():
ns=ns
)

@app.route('/vnet')
def vnet():
"""reference page"""
ns = eph_ns()
html = render_md("markdown/reference.md")
return render_template('coming-soon.html',
title="MCN Practical: Reference",
content=html,
ns=ns
)

@app.route('/netpolicy')
def netp():
"""reference page"""
ns = eph_ns()
html = render_md("markdown/reference.md")
return render_template('coming-soon.html',
title="MCN Practical: Reference",
content=html,
ns=ns
)

@app.route('/ref')
def ref():
"""reference page"""
Expand Down
6 changes: 3 additions & 3 deletions labapp/app/markdown/lb.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ Build an origin pool and load balancer based on the exercise requirements.
The cloud app is only reachable from the <strong>student-awsnet</strong> site.
</li>
<li class="list-group-item">
<img src="/static/tls-icon.png" width="auto" height="50px"> &nbsp; &nbsp;
<img src="/static/origin-icon.png" width="auto" height="50px"> &nbsp; &nbsp;
The cloud app is TLS only.
</li>
<li class="list-group-item">
<img src="/static/tls-icon.png" width="auto" height="50px"> &nbsp; &nbsp;
<img src="/static/lb-icon.png" width="auto" height="50px"> &nbsp; &nbsp;
Use the wildcard cert provided in the shared NS, <strong>mcn-lab-wildcard</strong>, to enable TLS on the LB.
</li>
</ul>
Expand Down Expand Up @@ -115,7 +115,7 @@ Create a new origin pool for the Azure cloud app. Reuse your load balancer.
The cloud app is only reachable from the <strong>student-azurenet</strong> site.
</li>
<li class="list-group-item">
<img src="/static/tls-icon.png" width="auto" height="50px"> &nbsp; &nbsp;
<img src="/static/origin-icon.png" width="auto" height="50px"> &nbsp; &nbsp;
The cloud app is TLS only.
</li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion labapp/app/markdown/route.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,4 @@ document.getElementById('requestBtn2').addEventListener('click', () => {

<div style="height:25px" class="d-flex align-items-center pb-3 mb-3 link-dark text-decoration-none border-bottom"></div>

Once you've completed the exercises, move on to the <a href="/header" class="alert-link">header manipulation</a> exercise.
Once you've completed the exercises, move on to the <strong><a href="/manipulation" class="alert-link">manipulation</a></strong> exercise.
2 changes: 1 addition & 1 deletion labapp/app/templates/coming-soon.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{% block content %}
<div class="err">
<a href="/" class="d-flex align-items-center pb-3 mb-3 link-dark text-decoration-none">
<img src="/static/coming-soon.png" alt="Descriptive Text">
<img src="/static/coming-soon.png" class="border" alt="Coming Soon">
</a>
</div>
{% endblock %}

0 comments on commit 8ef0dd2

Please sign in to comment.