from flask import Blueprint
from flask import render_template
from Opcenter import CloudName


main = Blueprint('main',__name__)


@main.route('/')
def home():
    return render_template('home/index.html')
    # return "Hello World"




@main.route('/deleteMachines')
def deleteMachines():
    
    print("The below is the connecting string to the cloud Name")
    CloudDetails = CloudName.find()
    print(CloudDetails)

    for i in CloudDetails:
        print(i)

        
    return "This is the Delete Machines Route"
    # return "Hello World"