my-cloud-devops-consulting 1.1.202507010103__tar.gz → 1.1.202507022257__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.202507010103/my_cloud_devops_consulting.egg-info → my-cloud-devops-consulting-1.1.202507022257}/PKG-INFO +1 -1
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/app.py +12 -1
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257/my_cloud_devops_consulting.egg-info}/PKG-INFO +1 -1
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/templates/base.html +26 -1
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/templates/index.html +48 -0
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/MANIFEST.in +0 -0
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/README.md +0 -0
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/my_cloud_devops_consulting.egg-info/SOURCES.txt +0 -0
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/my_cloud_devops_consulting.egg-info/dependency_links.txt +0 -0
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/my_cloud_devops_consulting.egg-info/requires.txt +0 -0
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/my_cloud_devops_consulting.egg-info/top_level.txt +0 -0
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/setup.cfg +0 -0
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/setup.py +0 -0
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/static/css/about.css +0 -0
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/static/css/assessment.css +0 -0
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/static/css/contact-form.css +0 -0
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/static/css/index.css +0 -0
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/static/css/login.css +0 -0
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/static/css/main.css +0 -0
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/static/css/register.css +0 -0
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/static/css/services.css +0 -0
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/static/images/image.jpg +0 -0
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/static/images/whatspp.jpeg +0 -0
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/static/js/index.js +0 -0
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/static/js/login.js +0 -0
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/static/js/main.js +0 -0
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/static/js/register.js +0 -0
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/static/js/services.js +0 -0
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/templates/about.html +0 -0
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/templates/assessment.html +0 -0
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/templates/contact-form.html +0 -0
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/templates/login.html +0 -0
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/templates/private-videos.html +0 -0
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/templates/register.html +0 -0
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/templates/services.html +0 -0
- {my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/test/test.py +0 -0
{my-cloud-devops-consulting-1.1.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/app.py
RENAMED
@@ -171,7 +171,18 @@ def assessment():
|
|
171
171
|
result = f"{name} needs more preparation ❌"
|
172
172
|
return render_template('assessment.html', result=result)
|
173
173
|
|
174
|
-
|
174
|
+
# 👇 Add this before the final block
|
175
|
+
@app.route('/subscribe', methods=['POST'])
|
176
|
+
def subscribe():
|
177
|
+
email = request.form.get('email')
|
178
|
+
if email:
|
179
|
+
db.subscribers.insert_one({'email': email})
|
180
|
+
print(f"New subscriber: {email}")
|
181
|
+
flash('Thank you for subscribing!')
|
182
|
+
else:
|
183
|
+
flash('Please enter a valid email address.')
|
184
|
+
return redirect(url_for('home'))
|
185
|
+
# 👇 Add this before the final block
|
175
186
|
if __name__ == '__main__':
|
176
187
|
app.run(debug=True, host='0.0.0.0', port=50)
|
177
188
|
|
@@ -82,7 +82,7 @@
|
|
82
82
|
<div class="header-container">
|
83
83
|
<a href="{{ url_for('home') }}" style="text-decoration: none">
|
84
84
|
<div class="logo">
|
85
|
-
CDC Firm <small>Cloud DevOps Consulting Company
|
85
|
+
CDC Firm <small>Cloud DevOps Consulting Company </small>
|
86
86
|
</div>
|
87
87
|
</a>
|
88
88
|
|
@@ -162,6 +162,30 @@
|
|
162
162
|
</div>
|
163
163
|
</header>
|
164
164
|
|
165
|
+
<!-- ✅ Flash Messages -->
|
166
|
+
{% with messages = get_flashed_messages() %} {% if messages %}
|
167
|
+
<div class="flashes" style="text-align: center; margin-top: 20px">
|
168
|
+
{% for message in messages %}
|
169
|
+
<div
|
170
|
+
style="
|
171
|
+
background-color: #d4edda;
|
172
|
+
color: #155724;
|
173
|
+
padding: 15px;
|
174
|
+
margin: 10px auto;
|
175
|
+
width: 80%;
|
176
|
+
border-radius: 5px;
|
177
|
+
border: 1px solid #c3e6cb;
|
178
|
+
font-size: 16px;
|
179
|
+
font-weight: 500;
|
180
|
+
"
|
181
|
+
>
|
182
|
+
{{ message }}
|
183
|
+
</div>
|
184
|
+
{% endfor %}
|
185
|
+
</div>
|
186
|
+
{% endif %} {% endwith %}
|
187
|
+
<!-- ✅ Flash Messages -->
|
188
|
+
|
165
189
|
{% block main %}{% endblock main %}
|
166
190
|
|
167
191
|
<footer>
|
@@ -196,3 +220,4 @@
|
|
196
220
|
></script>
|
197
221
|
</body>
|
198
222
|
</html>
|
223
|
+
<!-- ✅ Tidio Live Chat Widget -->
|
@@ -128,6 +128,54 @@
|
|
128
128
|
<li><a href="{{ url_for('contact_form') }}">Contact Form</a></li>
|
129
129
|
</ul>
|
130
130
|
</section>
|
131
|
+
|
132
|
+
<!-- Subscription Section -->
|
133
|
+
<section
|
134
|
+
style="
|
135
|
+
background-color: rgb(23, 119, 194);
|
136
|
+
color: white;
|
137
|
+
padding: 40px 20px;
|
138
|
+
text-align: center;
|
139
|
+
"
|
140
|
+
>
|
141
|
+
<h2 style="margin-bottom: 20px">
|
142
|
+
Subscribe to get info's concerning our services & trainings
|
143
|
+
</h2>
|
144
|
+
<form
|
145
|
+
style="display: flex; justify-content: center; flex-wrap: wrap; gap: 10px"
|
146
|
+
action="/subscribe"
|
147
|
+
method="post"
|
148
|
+
>
|
149
|
+
<input
|
150
|
+
type="email"
|
151
|
+
name="email"
|
152
|
+
required
|
153
|
+
placeholder="e.g., email@example.com"
|
154
|
+
style="
|
155
|
+
padding: 12px 20px;
|
156
|
+
width: 300px;
|
157
|
+
border: 2px solidrgb(13, 161, 70);
|
158
|
+
border-radius: 5px;
|
159
|
+
font-size: 16px;
|
160
|
+
"
|
161
|
+
/>
|
162
|
+
<button
|
163
|
+
type="submit"
|
164
|
+
style="
|
165
|
+
padding: 12px 25px;
|
166
|
+
background-color: rgb(13, 161, 65);
|
167
|
+
color: white;
|
168
|
+
border: none;
|
169
|
+
border-radius: 5px;
|
170
|
+
font-size: 16px;
|
171
|
+
cursor: pointer;
|
172
|
+
"
|
173
|
+
>
|
174
|
+
Subscribe
|
175
|
+
</button>
|
176
|
+
</form>
|
177
|
+
</section>
|
178
|
+
<!-- Subscription Section -->
|
131
179
|
</main>
|
132
180
|
|
133
181
|
{% endblock main %}
|
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.202507010103 → my-cloud-devops-consulting-1.1.202507022257}/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
|
File without changes
|
File without changes
|
File without changes
|