my-cloud-devops-consulting 1.1.202506152247__tar.gz → 1.1.202506162252__tar.gz
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.
- {my-cloud-devops-consulting-1.1.202506152247/my_cloud_devops_consulting.egg-info → my-cloud-devops-consulting-1.1.202506162252}/PKG-INFO +1 -1
- {my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/app.py +11 -9
- {my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252/my_cloud_devops_consulting.egg-info}/PKG-INFO +1 -1
- {my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/templates/about.html +18 -0
- {my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/templates/index.html +37 -0
- my-cloud-devops-consulting-1.1.202506162252/test/test.py +16 -0
- my-cloud-devops-consulting-1.1.202506152247/test/test.py +0 -3
- {my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/MANIFEST.in +0 -0
- {my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/README.md +0 -0
- {my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/my_cloud_devops_consulting.egg-info/SOURCES.txt +0 -0
- {my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/my_cloud_devops_consulting.egg-info/dependency_links.txt +0 -0
- {my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/my_cloud_devops_consulting.egg-info/requires.txt +0 -0
- {my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/my_cloud_devops_consulting.egg-info/top_level.txt +0 -0
- {my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/setup.cfg +0 -0
- {my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/setup.py +0 -0
- {my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/static/css/about.css +0 -0
- {my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/static/css/contact-form.css +0 -0
- {my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/static/css/index.css +0 -0
- {my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/static/css/login.css +0 -0
- {my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/static/css/main.css +0 -0
- {my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/static/css/register.css +0 -0
- {my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/static/css/services.css +0 -0
- {my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/static/images/image.jpg +0 -0
- {my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/static/images/whatspp.jpeg +0 -0
- {my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/static/js/index.js +0 -0
- {my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/static/js/login.js +0 -0
- {my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/static/js/main.js +0 -0
- {my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/static/js/register.js +0 -0
- {my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/static/js/services.js +0 -0
- {my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/templates/base.html +0 -0
- {my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/templates/contact-form.html +0 -0
- {my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/templates/login.html +0 -0
- {my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/templates/private-videos.html +0 -0
- {my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/templates/register.html +0 -0
- {my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/templates/services.html +0 -0
{my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/app.py
RENAMED
@@ -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
|
|
@@ -28,6 +28,24 @@
|
|
28
28
|
practices — all tailored to accelerate your digital transformation.
|
29
29
|
</p>
|
30
30
|
<p style="font-weight: bold; color: hotpink">{{ message }}</p>
|
31
|
+
|
32
|
+
<!-- templates/about.html -->
|
33
|
+
<form action="/about" method="post">
|
34
|
+
<label for="mood">What's your mood?</label>
|
35
|
+
<input
|
36
|
+
type="text"
|
37
|
+
name="mood"
|
38
|
+
placeholder="excited / curious / other"
|
39
|
+
required
|
40
|
+
/>
|
41
|
+
<button type="submit">Submit</button>
|
42
|
+
</form>
|
43
|
+
|
44
|
+
<hr />
|
45
|
+
|
46
|
+
{% if message %}
|
47
|
+
<p><strong>Message:</strong> {{ message }}</p>
|
48
|
+
{% endif %}
|
31
49
|
</div>
|
32
50
|
</section>
|
33
51
|
</body>
|
@@ -22,6 +22,43 @@
|
|
22
22
|
/>
|
23
23
|
</section>
|
24
24
|
|
25
|
+
<!-- adding about pag-->
|
26
|
+
|
27
|
+
<section class="about-hero">
|
28
|
+
<div class="about-container">
|
29
|
+
<h1>🚀 About CDC Firm</h1>
|
30
|
+
<p>
|
31
|
+
At CDC Firm, we are a passionate team of cloud and DevOps engineers
|
32
|
+
committed to helping businesses embrace modern, scalable, and secure
|
33
|
+
solutions.
|
34
|
+
</p>
|
35
|
+
<p>
|
36
|
+
Our expertise spans across cloud architecture, CI/CD automation,
|
37
|
+
Kubernetes deployments, infrastructure-as-code, and DevSecOps practices
|
38
|
+
— all tailored to accelerate your digital transformation.
|
39
|
+
</p>
|
40
|
+
<p style="font-weight: bold; color: hotpink">{{ message }}</p>
|
41
|
+
|
42
|
+
<!-- templates/about.html -->
|
43
|
+
<form action="/about" method="post">
|
44
|
+
<label for="mood">What's your mood?</label>
|
45
|
+
<input
|
46
|
+
type="text"
|
47
|
+
name="mood"
|
48
|
+
placeholder="excited / curious / other"
|
49
|
+
required
|
50
|
+
/>
|
51
|
+
<button type="submit">Submit</button>
|
52
|
+
</form>
|
53
|
+
|
54
|
+
<hr />
|
55
|
+
|
56
|
+
{% if message %}
|
57
|
+
<p><strong>Message:</strong> {{ message }}</p>
|
58
|
+
{% endif %}
|
59
|
+
</div>
|
60
|
+
</section>
|
61
|
+
|
25
62
|
<!-- Services Highlights -->
|
26
63
|
<section class="services-highlight">
|
27
64
|
<h3>Our Key Services</h3>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# grocery_list =["milk", "bread", "eggs", "cheese", "apples"]
|
2
|
+
# print(grocery_list)
|
3
|
+
# grocery_list.append("chocolate")
|
4
|
+
# print(grocery_list)
|
5
|
+
# del(grocery_list[1])
|
6
|
+
# print(grocery_list)
|
7
|
+
# print(len(grocery_list))
|
8
|
+
# grocery_list.sort()
|
9
|
+
# print(grocery_list)
|
10
|
+
# print(grocery_list[0])
|
11
|
+
# print(grocery_list[4])
|
12
|
+
# print(grocery_list[-1]) # last item
|
13
|
+
list_numbers =[10,2,45,1,2,4,5,7,9,2,4,790]
|
14
|
+
list_numbers.sort()
|
15
|
+
list_numbers.reverse()
|
16
|
+
print(list_numbers)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{my-cloud-devops-consulting-1.1.202506152247 → my-cloud-devops-consulting-1.1.202506162252}/setup.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|