my-cloud-devops-consulting 1.1.202506152247__py3-none-any.whl → 1.1.202506152258__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 +11 -9
- {my_cloud_devops_consulting-1.1.202506152247.dist-info → my_cloud_devops_consulting-1.1.202506152258.dist-info}/METADATA +1 -1
- my_cloud_devops_consulting-1.1.202506152258.dist-info/RECORD +5 -0
- my_cloud_devops_consulting-1.1.202506152247.dist-info/RECORD +0 -5
- {my_cloud_devops_consulting-1.1.202506152247.dist-info → my_cloud_devops_consulting-1.1.202506152258.dist-info}/WHEEL +0 -0
- {my_cloud_devops_consulting-1.1.202506152247.dist-info → my_cloud_devops_consulting-1.1.202506152258.dist-info}/top_level.txt +0 -0
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
|
-
|
150
|
-
if
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
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
|
|
@@ -0,0 +1,5 @@
|
|
1
|
+
app.py,sha256=Lnd7ydFcmE1V0nzyTCNVSPcJy9Q0DB2DqTvMk7PiSnM,5967
|
2
|
+
my_cloud_devops_consulting-1.1.202506152258.dist-info/METADATA,sha256=BbCls2iO9czAJrqqhoj7MtfBSvEKMhF5dSiFCC2CSBU,3256
|
3
|
+
my_cloud_devops_consulting-1.1.202506152258.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
4
|
+
my_cloud_devops_consulting-1.1.202506152258.dist-info/top_level.txt,sha256=io9g7LCbfmTG1SFKgEOGXmCFB9uMP2H5lerm0HiHWQE,4
|
5
|
+
my_cloud_devops_consulting-1.1.202506152258.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,,
|
File without changes
|