var modal_guardar = {
    title: "Guardar",
    content: "¿Deseas guardar el archivo?",
    icon: "glyphicon glyphicon-question-sign",
    buttons: {
        ok: {
            text: "Guardar",
            btnClass: 'hovwhite radius15 noborder txtnextwhite pad-top-bot7 pad-lef-rig20 int-nextyellow nextyellow',
            keys: ['enter'],
            action: function () {
                EditorRobots.accionGuardar();
            }
        },
        cancel: {
            text: "Cancelar",
            action: function () {}
        }
    }
}

var modal_template = {
    title: "Crear nuevo robots.txt desde template",
    content: "¿Deseas reemplazar el contenido actual por la plantilla default?",
    icon: "glyphicon glyphicon-question-sign",
    buttons: {
        ok: {
            text: "Reemplazar",
            btnClass: 'hovwhite radius15 noborder txtnextwhite pad-top-bot7 pad-lef-rig20 int-nextyellow nextyellow',
            keys: ['enter'],
            action: function () {
                EditorRobots.accionCrearTemplate();
            }
        },
        cancel: {
            text: "Cancelar",
            action: function () {}
        }
    }
}

var modal_borrar = {
    title: "Borrar",
    content: "¿Deseas borrar el archivo?",
    icon: "glyphicon glyphicon-question-sign",
    buttons: {
        ok: {
            text: "Borrar",
            btnClass: 'hovwhite radius15 noborder txtnextwhite pad-top-bot7 pad-lef-rig20 int-nextred nextred',
            keys: ['enter'],
            action: function () {
                EditorRobots.accionBorrar();
            }
        },
        cancel: {
            text: "Cancelar",
            action: function () {}
        }
    }
}
