my-cloud-devops-consulting 1.1.202506152247__py3-none-any.whl → 1.1.202506162252__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
app.py CHANGED
@@ -144,17 +144,19 @@ def logout():
144
144
  return redirect(url_for("login"))
145
145
 
146
146
  # My added route
147
- @app.route('/about')
147
+ @app.route('/about', methods=['GET', 'POST'])
148
148
  def about():
149
- mood = "curious"
150
- if mood == "excited":
151
- message = "We don’t just build infrastructure — we empower innovation. 💡💕"
152
- elif mood == "curious":
153
- message = "Explore what makes our infrastructure so powerful! 🔍"
154
- else:
155
- message = "We’re building something meaningful every day. 🌱"
156
- return render_template('about.html', message=message)
149
+ message = None
150
+ if request.method == 'POST':
151
+ mood = request.form['mood'].lower()
152
+ if mood == "excited":
153
+ message = "We don’t just build infrastructure we empower innovation. 💡💕"
154
+ elif mood == "curious":
155
+ message = "Explore what makes our infrastructure so powerful! 🔍"
156
+ else:
157
+ message = "We’re building something meaningful every day. 🌱"
157
158
 
159
+ return render_template('about.html', message=message)
158
160
 
159
161
 
160
162
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: my-cloud-devops-consulting
3
- Version: 1.1.202506152247
3
+ Version: 1.1.202506162252
4
4
  Summary: This is my consulting website for Cloud & DevOps services.
5
5
  Home-page: https://github.com/Betrand1999/project-root
6
6
  Author: Betrand Mutagha
@@ -0,0 +1,5 @@
1
+ app.py,sha256=Lnd7ydFcmE1V0nzyTCNVSPcJy9Q0DB2DqTvMk7PiSnM,5967
2
+ my_cloud_devops_consulting-1.1.202506162252.dist-info/METADATA,sha256=7hIR6c1XPnkbxVBHPieAHVHIzkx7y8glvgklVdi1HQA,3256
3
+ my_cloud_devops_consulting-1.1.202506162252.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
4
+ my_cloud_devops_consulting-1.1.202506162252.dist-info/top_level.txt,sha256=io9g7LCbfmTG1SFKgEOGXmCFB9uMP2H5lerm0HiHWQE,4
5
+ my_cloud_devops_consulting-1.1.202506162252.dist-info/RECORD,,
@@ -1,5 +0,0 @@
1
- app.py,sha256=MCIFINsXCcDpRNOQ2qYN-kK8TdVD_l7qLVB_z5ICK9k,5845
2
- my_cloud_devops_consulting-1.1.202506152247.dist-info/METADATA,sha256=Y9k8VfK6jPZKgnyJE6eZcawEUx2wdIxj76tAFLQkh6I,3256
3
- my_cloud_devops_consulting-1.1.202506152247.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
4
- my_cloud_devops_consulting-1.1.202506152247.dist-info/top_level.txt,sha256=io9g7LCbfmTG1SFKgEOGXmCFB9uMP2H5lerm0HiHWQE,4
5
- my_cloud_devops_consulting-1.1.202506152247.dist-info/RECORD,,