* [MOD] New Material Design using Google MDL (work in progress).
* [ADD] New sysPass logo color.
@@ -54,7 +54,7 @@ $tpl->assign('userId', SP\Session::getUserId());
|
||||
$tpl->assign('userGroupId', SP\Session::getUserGroupId());
|
||||
$tpl->assign('userIsAdminApp', SP\Session::getUserIsAdminApp());
|
||||
$tpl->assign('userIsAdminAcc', SP\Session::getUserIsAdminAcc());
|
||||
$tpl->assign('themeUri', $themeUri);
|
||||
$tpl->assign('themeUri', \SP\Init::$THEMEURI);
|
||||
|
||||
// Control de ruta de acciones
|
||||
if ($actionId != \SP\Controller\ActionsInterface::ACTION_ACC_SEARCH) {
|
||||
|
||||
@@ -27,7 +27,7 @@ define('APP_ROOT', '..');
|
||||
|
||||
require_once APP_ROOT . DIRECTORY_SEPARATOR . 'inc' . DIRECTORY_SEPARATOR . 'Base.php';
|
||||
|
||||
$themeCssPath = VIEW_PATH . DIRECTORY_SEPARATOR . $theme . DIRECTORY_SEPARATOR . 'css' . DIRECTORY_SEPARATOR . 'css.php';
|
||||
$themeCssPath = VIEW_PATH . DIRECTORY_SEPARATOR . \SP\Init::$THEME . DIRECTORY_SEPARATOR . 'css' . DIRECTORY_SEPARATOR . 'css.php';
|
||||
|
||||
$cssFilesBase = array(
|
||||
array('href' => 'css/reset.css', 'min' => true),
|
||||
|
||||
@@ -36,8 +36,4 @@ $memInit = memory_get_usage();
|
||||
$timeStart = \SP\Init::microtime_float();
|
||||
|
||||
// Inicializar sysPass
|
||||
\SP\Init::start();
|
||||
|
||||
// Variables para el tema visual (utilizada en css y js)
|
||||
$theme = \SP\Session::getTheme();
|
||||
$themeUri = 'inc/themes/' . $theme;
|
||||
\SP\Init::start();
|
||||
@@ -66,7 +66,15 @@ class Init
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public static $_THEME = '';
|
||||
public static $THEMEURI = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public static $THEMEPATH = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public static $THEME = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
@@ -160,6 +168,9 @@ class Init
|
||||
// Cargar el lenguaje
|
||||
self::selectLang();
|
||||
|
||||
// Establecer el tema de sysPass
|
||||
self::selectTheme();
|
||||
|
||||
// Comprobar si es necesario inicialización
|
||||
if (self::checkInitSourceInclude()) {
|
||||
return;
|
||||
@@ -168,9 +179,6 @@ class Init
|
||||
// Comprobar la configuración
|
||||
self::checkConfig();
|
||||
|
||||
// Establecer el tema de sysPass
|
||||
self::selectTheme();
|
||||
|
||||
// Comprobar si está instalado
|
||||
self::checkInstalled();
|
||||
|
||||
@@ -366,6 +374,18 @@ class Init
|
||||
bind_textdomain_codeset("messages", 'UTF-8');
|
||||
}
|
||||
|
||||
/**
|
||||
* Establecer el tema visual de sysPass desde la configuración
|
||||
*/
|
||||
private static function selectTheme()
|
||||
{
|
||||
self::$THEME = Config::getValue('sitetheme', 'default');
|
||||
self::$THEMEURI = self::$WEBURI . '/inc/themes/' . self::$THEME;
|
||||
self::$THEMEPATH = DIRECTORY_SEPARATOR . 'inc' . DIRECTORY_SEPARATOR . 'themes' . DIRECTORY_SEPARATOR . self::$THEME;
|
||||
|
||||
Session::setTheme(self::$THEME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Comprobar el archivo que realiza el include necesita inicialización.
|
||||
*
|
||||
@@ -528,7 +548,7 @@ class Init
|
||||
Config::setValue('maintenance', true);
|
||||
}
|
||||
|
||||
self::initError(_('La aplicación necesita actualizarse'), sprintf(_('Si es un administrador pulse en el enlace: %s'),'<a href="index.php?upgrade=1&a=upgrade">' . _('Actualizar') . '</a>'));
|
||||
self::initError(_('La aplicación necesita actualizarse'), sprintf(_('Si es un administrador pulse en el enlace: %s'), '<a href="index.php?upgrade=1&a=upgrade">' . _('Actualizar') . '</a>'));
|
||||
}
|
||||
|
||||
$action = Request::analyze('a');
|
||||
@@ -670,13 +690,4 @@ class Init
|
||||
list($usec, $sec) = explode(" ", microtime());
|
||||
return ((float)$usec + (float)$sec);
|
||||
}
|
||||
|
||||
/**
|
||||
* Establecer el tema visual de sysPass desde la configuración
|
||||
*/
|
||||
private static function selectTheme()
|
||||
{
|
||||
self::$_THEME = Config::getValue('sitetheme', 'default');
|
||||
Session::setTheme(self::$_THEME);
|
||||
}
|
||||
}
|
||||
@@ -83,7 +83,7 @@ class Template
|
||||
*/
|
||||
private function checkTemplate($file)
|
||||
{
|
||||
$template = VIEW_PATH . DIRECTORY_SEPARATOR . Init::$_THEME . DIRECTORY_SEPARATOR . $file . '.inc';
|
||||
$template = VIEW_PATH . DIRECTORY_SEPARATOR . Init::$THEME . DIRECTORY_SEPARATOR . $file . '.inc';
|
||||
|
||||
if (!is_readable($template)) {
|
||||
throw new InvalidArgumentException('No es posible obtener la plantilla "' . $file . '"');
|
||||
|
||||
@@ -24,9 +24,10 @@
|
||||
*/
|
||||
|
||||
$cssFilesTheme = array(
|
||||
array('href' => $themeUri . '/css/styles.css', 'min' => true)
|
||||
array('href' => \SP\Init::$THEMEPATH . '/css/jquery-ui.theme.min.css', 'min' => true),
|
||||
array('href' => \SP\Init::$THEMEPATH . '/css/styles.css', 'min' => true)
|
||||
);
|
||||
|
||||
if (!SP\Util::resultsCardsIsEnabled()) {
|
||||
array_push($cssFilesTheme, array('href' => $themeUri . '/css/search-grid.css', 'min' => true));
|
||||
array_push($cssFilesTheme, array('href' => \SP\Init::$THEMEPATH . '/css/search-grid.css', 'min' => true));
|
||||
}
|
||||
@@ -24,5 +24,5 @@
|
||||
*/
|
||||
|
||||
$jsFilesTheme = array(
|
||||
array('href' => $themeUri . '/js/functions.js', 'min' => true)
|
||||
array('href' => \SP\Init::$THEMEPATH . '/js/functions.js', 'min' => true)
|
||||
);
|
||||
@@ -16,7 +16,7 @@
|
||||
<td class="valField">
|
||||
<?php if ($showform): ?>
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="name" name="name" type="text" required class="mdl-textfield__input blue100"
|
||||
<input id="name" name="name" type="text" required class="mdl-textfield__input fg-blue100"
|
||||
maxlength="50" value="<?php echo ($gotData) ? $accountData->account_name : ''; ?>">
|
||||
<label class="mdl-textfield__label" for="name"><?php echo _('Nombre de cuenta'); ?></label>
|
||||
</div>
|
||||
@@ -38,7 +38,7 @@
|
||||
</select>
|
||||
<br><br>
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="customer_new" name="customer_new" type="text" class="mdl-textfield__input blue100" maxlength="50">
|
||||
<input id="customer_new" name="customer_new" type="text" class="mdl-textfield__input fg-blue100" maxlength="50">
|
||||
<label class="mdl-textfield__label" for="name"><?php echo _('Seleccionar o escribir para crear uno nuevo'); ?></label>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
@@ -67,7 +67,7 @@
|
||||
<td class="valField">
|
||||
<?php if ($showform): ?>
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="url" name="url" type="text" class="mdl-textfield__input blue100"
|
||||
<input id="url" name="url" type="text" class="mdl-textfield__input fg-blue100"
|
||||
maxlength="255" value="<?php echo ($gotData) ? $accountData->account_url : ''; ?>">
|
||||
<label class="mdl-textfield__label" for="name"><?php echo _('URL o IP de acceso'); ?></label>
|
||||
</div>
|
||||
@@ -81,7 +81,7 @@
|
||||
<td class="valField">
|
||||
<?php if ($showform): ?>
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="login" name="login" type="text" required class="mdl-textfield__input blue100"
|
||||
<input id="login" name="login" type="text" required class="mdl-textfield__input fg-blue100"
|
||||
maxlength="50" value="<?php echo ($gotData) ? $accountData->account_login : ''; ?>">
|
||||
<label class="mdl-textfield__label" for="name"><?php echo _('Usuario de acceso'); ?></label>
|
||||
</div>
|
||||
@@ -108,7 +108,7 @@
|
||||
<td class="descField"><?php echo _('Clave (repetir)'); ?></td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="password2" name="password2" type="password" required class="mdl-textfield__input blue100" maxlength="255"
|
||||
<input id="password2" name="password2" type="password" required class="mdl-textfield__input fg-blue100" maxlength="255"
|
||||
OnKeyUp="checkPassLevel(this.value)" autocomplete="off">
|
||||
<label class="mdl-textfield__label" for="password2"><?php echo _('Clave (Repetir)'); ?></label>
|
||||
</div>
|
||||
@@ -122,7 +122,7 @@
|
||||
<td class="valField">
|
||||
<?php if ($showform): ?>
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<textarea class="mdl-textfield__input blue100" rows= "3" id="notes" name="notes" maxlength="1000"><?php echo ($gotData) ? $accountData->account_notes : ''; ?></textarea>
|
||||
<textarea class="mdl-textfield__input fg-blue100" rows= "3" id="notes" name="notes" maxlength="1000"><?php echo ($gotData) ? $accountData->account_notes : ''; ?></textarea>
|
||||
<label class="mdl-textfield__label" for="notes"><?php echo _('Notas sobre la cuenta'); ?></label>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
@@ -365,6 +365,12 @@
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="action">
|
||||
<?php if ($showDelete): ?>
|
||||
<button class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab mdl-button--colored bg-red80" OnClick="delAccount(<?php echo $accountId; ?>,<?php echo \SP\Controller\ActionsInterface::ACTION_ACC_DELETE; ?>,'<?php echo $sk; ?>');" title="<?php echo _('Eliminar Cuenta'); ?>">
|
||||
<i class="material-icons">delete</i>
|
||||
</button>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($showRestore): ?>
|
||||
<button class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab mdl-button--colored" OnClick="saveAccount('frmAccount');" title="<?php echo _('Restaurar cuenta desde este punto'); ?>">
|
||||
<i class="material-icons">restore</i>
|
||||
@@ -382,13 +388,13 @@
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($showEditPass): ?>
|
||||
<button class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab mdl-button--colored" OnClick="doAction(<?php echo \SP\Controller\ActionsInterface::ACTION_ACC_EDIT_PASS; ?>,<?php echo \SP\Controller\ActionsInterface::ACTION_ACC_SEARCH; ?>,<?php echo $accountId; ?>)" title="<?php echo _('Modificar Clave de Cuenta'); ?>">
|
||||
<button class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab mdl-button--colored bg-orange80" OnClick="doAction(<?php echo \SP\Controller\ActionsInterface::ACTION_ACC_EDIT_PASS; ?>,<?php echo \SP\Controller\ActionsInterface::ACTION_ACC_SEARCH; ?>,<?php echo $accountId; ?>)" title="<?php echo _('Modificar Clave de Cuenta'); ?>">
|
||||
<i class="material-icons">lock_outline</i>
|
||||
</button>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($showEdit): ?>
|
||||
<button class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab mdl-button--colored" OnClick="doAction(<?php echo \SP\Controller\ActionsInterface::ACTION_ACC_EDIT; ?>,<?php echo \SP\Controller\ActionsInterface::ACTION_ACC_SEARCH; ?>,<?php echo $accountId; ?>)" title="<?php echo _('Modificar Cuenta'); ?>">
|
||||
<button class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab mdl-button--colored bg-orange80" OnClick="doAction(<?php echo \SP\Controller\ActionsInterface::ACTION_ACC_EDIT; ?>,<?php echo \SP\Controller\ActionsInterface::ACTION_ACC_SEARCH; ?>,<?php echo $accountId; ?>)" title="<?php echo _('Modificar Cuenta'); ?>">
|
||||
<i class="material-icons">mode_edit</i>
|
||||
</button>
|
||||
<?php elseif (!$showEdit && $actionId == \SP\Controller\ActionsInterface::ACTION_ACC_VIEW && \SP\Util::mailrequestIsEnabled()): ?>
|
||||
@@ -397,18 +403,6 @@
|
||||
</button>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($showDelete): ?>
|
||||
<button class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab mdl-button--colored" OnClick="delAccount(<?php echo $accountId; ?>,<?php echo \SP\Controller\ActionsInterface::ACTION_ACC_DELETE; ?>,'<?php echo $sk; ?>');" title="<?php echo _('Eliminar Cuenta'); ?>">
|
||||
<i class="material-icons ">delete</i>
|
||||
</button>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($showSave): ?>
|
||||
<button class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab mdl-button--colored" OnClick="saveAccount('frmAccount');" title="<?php echo _('Guardar'); ?>">
|
||||
<i class="material-icons">save</i>
|
||||
</button>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($gotData && $accountIsHistory): ?>
|
||||
<button class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab mdl-button--colored" OnClick="doAction(<?php echo \SP\Controller\ActionsInterface::ACTION_ACC_VIEW; ?>,<?php echo \SP\Controller\ActionsInterface::ACTION_ACC_SEARCH; ?>,<?php echo $accountParentId; ?>)" title="<?php echo _('Ver Actual'); ?>">
|
||||
<i class="material-icons">arrow_back</i>
|
||||
@@ -418,6 +412,12 @@
|
||||
<i class="material-icons">arrow_back</i>
|
||||
</button>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($showSave): ?>
|
||||
<button class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab mdl-button--colored bg-green80" OnClick="saveAccount('frmAccount');" title="<?php echo _('Guardar'); ?>">
|
||||
<i class="material-icons">save</i>
|
||||
</button>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<?php if ($showform): ?>
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
</td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="exportPwd" name="exportPwd" type="password" class="mdl-textfield__input blue100"
|
||||
<input id="exportPwd" name="exportPwd" type="password" class="mdl-textfield__input fg-blue100"
|
||||
maxlength="255"/>
|
||||
<label class="mdl-textfield__label"
|
||||
for="exportPwd"><?php echo _('Clave de Exportación'); ?></label>
|
||||
@@ -110,7 +110,7 @@
|
||||
</td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="exportPwdR" name="exportPwdR" type="password" class="mdl-textfield__input blue100"
|
||||
<input id="exportPwdR" name="exportPwdR" type="password" class="mdl-textfield__input fg-blue100"
|
||||
maxlength="255"/>
|
||||
<label class="mdl-textfield__label"
|
||||
for="exportPwdR"><?php echo _('Clave de Exportación (repetir)'); ?></label>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<td class="descField"><?php echo _('Nombre'); ?></td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="name" name="name" type="text" required class="mdl-textfield__input blue100"
|
||||
<input id="name" name="name" type="text" required class="mdl-textfield__input fg-blue100"
|
||||
maxlength="50" value="<?php echo $category["category_name"]; ?>">
|
||||
<label class="mdl-textfield__label"
|
||||
for="name"><?php echo _('Nombre de la categoría'); ?></label>
|
||||
@@ -20,7 +20,7 @@
|
||||
<td class="descField"><?php echo _('Descripción'); ?></td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="description" name="description" type="text" class="mdl-textfield__input blue100"
|
||||
<input id="description" name="description" type="text" class="mdl-textfield__input fg-blue100"
|
||||
maxlength="50" value="<?php echo $category["category_description"]; ?>">
|
||||
<label class="mdl-textfield__label"
|
||||
for="description"><?php echo _('Descripción de la categoría'); ?></label>
|
||||
|
||||
@@ -37,20 +37,26 @@
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="session_timeout" name="session_timeout" type="number" step="300"
|
||||
pattern="[0-9]{2,4}" class="mdl-textfield__input blue100" maxlength="5"
|
||||
pattern="[0-9]{2,4}" class="mdl-textfield__input fg-blue100" maxlength="5"
|
||||
value="<?php echo $sessionTimeout; ?>" <?php echo $isDisabled; ?> required/>
|
||||
<label class="mdl-textfield__label" for="session_timeout"><?php echo _('Timeout de sesión (s)'); ?></label>
|
||||
<label class="mdl-textfield__label"
|
||||
for="session_timeout"><?php echo _('Timeout de sesión (s)'); ?></label>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Habilitar log de eventos'); ?>
|
||||
<?php echo SP\Common::printHelpButton("config", 20); ?>
|
||||
<div id="help-eventlog" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip mdl-tooltip--large" for="help-eventlog">
|
||||
<p>
|
||||
<?php echo _('Guarda las acciones realizadas en la aplicación.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="log_enabled">
|
||||
<input type="checkbox" id="log_enabled" class="mdl-switch__input blue100" name="log_enabled"
|
||||
<input type="checkbox" id="log_enabled" class="mdl-switch__input fg-blue100" name="log_enabled"
|
||||
<?php echo $chkLog, ' ', $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label"></span>
|
||||
</label>
|
||||
@@ -59,11 +65,16 @@
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Habilitar depuración'); ?>
|
||||
<?php echo SP\Common::printHelpButton("config", 19); ?>
|
||||
<div id="help-debug" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip mdl-tooltip--large" for="help-debug">
|
||||
<p>
|
||||
<?php echo _('Muestra información relativa a la configuración de la aplicación y rendimiento.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="debug">
|
||||
<input type="checkbox" id="debug" class="mdl-switch__input blue100" name="debug"
|
||||
<input type="checkbox" id="debug" class="mdl-switch__input fg-blue100" name="debug"
|
||||
<?php echo $chkDebug, ' ', $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label"></span>
|
||||
</label>
|
||||
@@ -72,11 +83,16 @@
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Modo mantenimiento'); ?>
|
||||
<?php echo SP\Common::printHelpButton("config", 18); ?>
|
||||
<div id="help-maintenance" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip mdl-tooltip--large" for="help-maintenance">
|
||||
<p>
|
||||
<?php echo _('En este modo no se puede acceder a la aplicación. Para deshabilitarlo es necesario modificar el archivo de configuración.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="maintenance">
|
||||
<input type="checkbox" id="maintenance" class="mdl-switch__input blue100" name="maintenance"
|
||||
<input type="checkbox" id="maintenance" class="mdl-switch__input fg-blue100" name="maintenance"
|
||||
<?php echo $chkMaintenance, ' ', $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label"></span>
|
||||
</label>
|
||||
@@ -85,11 +101,16 @@
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Comprobar actualizaciones'); ?>
|
||||
<?php echo SP\Common::printHelpButton("config", 21); ?>
|
||||
<div id="help-updates" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip mdl-tooltip--large" for="help-updates">
|
||||
<p>
|
||||
<?php echo _('Comprobar actualizaciones de la aplicación (sólo para los usuarios administradores).'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="updates">
|
||||
<input type="checkbox" id="updates" class="mdl-switch__input blue100" name="updates"
|
||||
<input type="checkbox" id="updates" class="mdl-switch__input fg-blue100" name="updates"
|
||||
<?php echo $chkUpdates, ' ', $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label"></span>
|
||||
</label>
|
||||
@@ -98,11 +119,17 @@
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Nombre de cuenta como enlace'); ?>
|
||||
<?php echo SP\Common::printHelpButton("config", 3); ?>
|
||||
<div id="help-account_link" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip mdl-tooltip--large" for="help-account_link">
|
||||
<p>
|
||||
<?php echo _('Habilita el nombre de la cuenta de la búsqueda, como enlace a los detalles de la cuenta.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="account_link">
|
||||
<input type="checkbox" id="account_link" class="mdl-switch__input blue100" name="account_link"
|
||||
<input type="checkbox" id="account_link" class="mdl-switch__input fg-blue100"
|
||||
name="account_link"
|
||||
<?php echo $chkAccountLink, ' ', $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label"></span>
|
||||
</label>
|
||||
@@ -111,11 +138,17 @@
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Gestión de archivos'); ?>
|
||||
<?php echo SP\Common::printHelpButton("config", 5); ?>
|
||||
<div id="help-files" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip mdl-tooltip--large" for="help-files">
|
||||
<p>
|
||||
<?php echo _('Habilita la subida/descarga de archivos para las cuentas.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="files_enabled">
|
||||
<input type="checkbox" id="files_enabled" class="mdl-switch__input blue100" name="files_enabled"
|
||||
<input type="checkbox" id="files_enabled" class="mdl-switch__input fg-blue100"
|
||||
name="files_enabled"
|
||||
<?php echo $chkFiles, ' ', $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label"></span>
|
||||
</label>
|
||||
@@ -124,11 +157,17 @@
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Búsquedas globales'); ?>
|
||||
<?php echo SP\Common::printHelpButton("config", 24); ?>
|
||||
<div id="help-globalsearch" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip mdl-tooltip--large" for="help-globalsearch">
|
||||
<p>
|
||||
<?php echo _('Permite que todos los usuarios puedan realizar búsquedas en todas las cuentas, pero no pueden ver el contenido de las que no tienen permisos.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="globalsearch">
|
||||
<input type="checkbox" id="globalsearch" class="mdl-switch__input blue100" name="globalsearch"
|
||||
<input type="checkbox" id="globalsearch" class="mdl-switch__input fg-blue100"
|
||||
name="globalsearch"
|
||||
<?php echo $chkGlobalSearch, ' ', $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label"></span>
|
||||
</label>
|
||||
@@ -137,7 +176,20 @@
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Extensiones de archivos permitidas'); ?>
|
||||
<?php echo SP\Common::printHelpButton("config", 22); ?>
|
||||
<div id="help-allowed_exts" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip mdl-tooltip--large" for="help-allowed_exts">
|
||||
<p>
|
||||
<?php echo _('Extensiones permitidas para la subida de archivos.'); ?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo _('Se permite un máximo de 4 caracteres.'); ?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo _('Escribir extensión y pulsar intro para añadir. Es necesario guardar la configuración.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<input type="text" name="files_allowed_exts" id="allowed_exts"
|
||||
@@ -147,28 +199,44 @@
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Tamaño máximo de archivo'); ?>
|
||||
<?php echo SP\Common::printHelpButton("config", 6); ?>
|
||||
<div id="help-files_allowed_size" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip mdl-tooltip--large" for="help-files_allowed_size">
|
||||
<p>
|
||||
<?php echo _('Establece el tamaño máximo para subir archivos.'); ?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo _('El máximo absuluto es de 16MB.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="files_allowed_size" name="files_allowed_size" type="number" step="512"
|
||||
pattern="[0-9]{1,5}" class="mdl-textfield__input blue100" maxlength="5"
|
||||
pattern="[0-9]{1,5}" class="mdl-textfield__input fg-blue100" maxlength="5"
|
||||
value="<?php echo $filesAllowedSize; ?>" <?php echo $isDisabled; ?>/>
|
||||
<label class="mdl-textfield__label" for="files_allowed_size"><?php echo _('Tamaño máximo de archivo'); ?></label>
|
||||
<label class="mdl-textfield__label"
|
||||
for="files_allowed_size"><?php echo _('Tamaño máximo de archivo'); ?></label>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Resultados por página'); ?>
|
||||
<?php echo SP\Common::printHelpButton("config", 4); ?>
|
||||
<div id="help-account_count" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip mdl-tooltip--large" for="help-account_count">
|
||||
<p>
|
||||
<?php echo _('Número de resultados por página a mostrar, al realizar una búsqueda.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="account_count" name="account_count" type="number" step="6"
|
||||
pattern="[0-9]{1,5}" class="mdl-textfield__input blue100" maxlength="5"
|
||||
pattern="[0-9]{1,5}" class="mdl-textfield__input fg-blue100" maxlength="5"
|
||||
value="<?php echo $accountCount; ?>" <?php echo $isDisabled; ?> required/>
|
||||
<label class="mdl-textfield__label" for="account_count"><?php echo _('Tamaño máximo de archivo'); ?></label>
|
||||
<label class="mdl-textfield__label"
|
||||
for="account_count"><?php echo _('Tamaño máximo de archivo'); ?></label>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -183,11 +251,17 @@
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Habilitar enlaces Wiki'); ?>
|
||||
<?php echo SP\Common::printHelpButton("config", 7); ?>
|
||||
<div id="help-wiki_enabled" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip mdl-tooltip--large" for="help-wiki_enabled">
|
||||
<p>
|
||||
<?php echo _('Habilita la opción de añadir un enlace a Wiki externa para los resultados de la búsqueda.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wiki_enabled">
|
||||
<input type="checkbox" id="wiki_enabled" class="mdl-switch__input blue100" name="wiki_enabled"
|
||||
<input type="checkbox" id="wiki_enabled" class="mdl-switch__input fg-blue100"
|
||||
name="wiki_enabled"
|
||||
<?php echo $chkWiki, ' ', $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label"></span>
|
||||
</label>
|
||||
@@ -196,33 +270,79 @@
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('URL de búsqueda Wiki'); ?>
|
||||
<?php echo SP\Common::printHelpButton("config", 8); ?>
|
||||
<div id="help-wiki_searchurl" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip mdl-tooltip--large" for="help-wiki_searchurl">
|
||||
<p>
|
||||
<?php echo _('URL que utiliza la wiki para realizar una búsqueda de una página.'); ?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo _('Como parámetro se utiliza el nombre del cliente.'); ?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php _('Ejemplo:'); ?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
https://wiki.example.org/search.php?phrase=
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="wiki_searchurl" name="wiki_searchurl" type="text" class="mdl-textfield__input blue100"
|
||||
<input id="wiki_searchurl" name="wiki_searchurl" type="text"
|
||||
class="mdl-textfield__input fg-blue100"
|
||||
maxlength="128" value="<?php echo $wikiSearchUrl; ?>">
|
||||
<label class="mdl-textfield__label" for="wiki_searchurl"><?php echo _('URL de búsqueda Wiki'); ?></label>
|
||||
<label class="mdl-textfield__label"
|
||||
for="wiki_searchurl"><?php echo _('URL de búsqueda Wiki'); ?></label>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('URL de página en Wiki'); ?>
|
||||
<?php echo SP\Common::printHelpButton("config", 9); ?>
|
||||
<div id="help-wiki_pageurl" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip mdl-tooltip--large" for="help-wiki_pageurl">
|
||||
<p>
|
||||
<?php echo _('URL que utiliza la wiki para acceder a los detalles de una página.'); ?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo _('El nombre de la cuenta se utiliza como parámetro de la variable de búsqueda de la Wiki.'); ?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo _('Ejemplo:'); ?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
https://wiki.example.org/show.php?name=
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="wiki_pageurl" name="wiki_pageurl" type="text" class="mdl-textfield__input blue100"
|
||||
<input id="wiki_pageurl" name="wiki_pageurl" type="text" class="mdl-textfield__input fg-blue100"
|
||||
maxlength="128" value="<?php echo $wikiPageUrl; ?>">
|
||||
<label class="mdl-textfield__label" for="wiki_pageurl"><?php echo _('URL de página en Wiki'); ?></label>
|
||||
<label class="mdl-textfield__label"
|
||||
for="wiki_pageurl"><?php echo _('URL de página en Wiki'); ?></label>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Prefijo para nombre de cuenta'); ?>
|
||||
<?php echo SP\Common::printHelpButton("config", 10); ?>
|
||||
<div id="help-wikifilter" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip mdl-tooltip--large" for="help-wikifilter">
|
||||
<p>
|
||||
<?php echo _('Prefijo para determinar qué cuentas tienen un enlace a una página de la Wiki.'); ?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo _('Ejemplos:') . ' serv- | srv- | vm-'; ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<input type="text" name="wiki_filter" id="wikifilter" value="<?php echo $wikiFilter; ?>"/>
|
||||
@@ -241,11 +361,21 @@
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Habilitar LDAP'); ?>
|
||||
<?php echo SP\Common::printHelpButton("config", 11); ?>
|
||||
<div id="help-ldap_enabled" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip mdl-tooltip--large" for="help-ldap_enabled">
|
||||
<p>
|
||||
<?php echo _('Habilita de autentificación mediante servidor LDAP.'); ?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo _('Este método utilizará MySQL en caso de fallo.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="ldap_enabled">
|
||||
<input type="checkbox" id="ldap_enabled" class="mdl-switch__input blue100" name="ldap_enabled"
|
||||
<input type="checkbox" id="ldap_enabled" class="mdl-switch__input fg-blue100"
|
||||
name="ldap_enabled"
|
||||
<?php echo $chkLdap, ' ', $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label"></span>
|
||||
</label>
|
||||
@@ -254,11 +384,27 @@
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Servidor'); ?>
|
||||
<?php echo SP\Common::printHelpButton("config", 15); ?>
|
||||
<div id="help-ldap_server" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip mdl-tooltip--large" for="help-ldap_server">
|
||||
<p>
|
||||
<?php echo _('Nombre o dirección IP del servidor de LDAP.'); ?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo _('Ejemplos:'); ?>
|
||||
</p>
|
||||
|
||||
<ul>
|
||||
<li>ldap.example.org</li>
|
||||
<li>ldap://ldap.example.org</li>
|
||||
<li>ldaps://ldap.example.org</li>
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="ldap_server" name="ldap_server" type="text" class="mdl-textfield__input blue100"
|
||||
<input id="ldap_server" name="ldap_server" type="text"
|
||||
class="mdl-textfield__input fg-blue100"
|
||||
maxlength="128" value="<?php echo $ldapServer; ?>" <?php echo $isDisabled; ?>/>
|
||||
<label class="mdl-textfield__label" for="ldap_server"><?php echo _('Servidor'); ?></label>
|
||||
</div>
|
||||
@@ -267,11 +413,26 @@
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Usuario de conexión'); ?>
|
||||
<?php echo SP\Common::printHelpButton("config", 12); ?>
|
||||
<div id="help-ldap_binduser" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip mdl-tooltip--large" for="help-ldap_binduser">
|
||||
<p>
|
||||
<?php echo _('Usuario para conectar con el servicio de LDAP.'); ?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo _('Ejemplos:'); ?>
|
||||
</p>
|
||||
|
||||
<ul>
|
||||
<li>cn=syspass,ou=Users,dc=syspass,o=org</li>
|
||||
<li>syspass</li>
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="ldap_binduser" name="ldap_binduser" type="text" class="mdl-textfield__input blue100"
|
||||
<input id="ldap_binduser" name="ldap_binduser" type="text"
|
||||
class="mdl-textfield__input fg-blue100"
|
||||
maxlength="128" value="<?php echo $ldapBindUser; ?>" <?php echo $isDisabled; ?>/>
|
||||
<label class="mdl-textfield__label" for="ldap_binduser"><?php echo _('Servidor'); ?></label>
|
||||
</div>
|
||||
@@ -280,11 +441,17 @@
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Clave de conexión'); ?>
|
||||
<?php echo SP\Common::printHelpButton("config", 17); ?>
|
||||
<div id="help-ldap_bindpass" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip mdl-tooltip--large" for="help-ldap_bindpass">
|
||||
<p>
|
||||
<?php echo _('Clave del usuario de conexión a LDAP.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="ldap_bindpass" name="ldap_bindpass" type="password" class="mdl-textfield__input blue100"
|
||||
<input id="ldap_bindpass" name="ldap_bindpass" type="password"
|
||||
class="mdl-textfield__input fg-blue100"
|
||||
maxlength="128" value="<?php echo $ldapBindPass; ?>" <?php echo $isDisabled; ?>/>
|
||||
<label class="mdl-textfield__label" for="ldap_bindpass"><?php echo _('Clave'); ?></label>
|
||||
</div>
|
||||
@@ -295,24 +462,57 @@
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Base de búsqueda'); ?>
|
||||
<?php echo SP\Common::printHelpButton("config", 13); ?>
|
||||
<div id="help-ldap_base" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip mdl-tooltip--large" for="help-ldap_base">
|
||||
<p>
|
||||
<?php echo _('Base en la que realizar la búsqueda de usuarios de LDAP.'); ?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo _('Ejemplos:'); ?>
|
||||
</p>
|
||||
|
||||
<ul>
|
||||
<li>cn=Users,dc=example,dc=org</li>
|
||||
<li>ou=AdminUsers,dc=example,o=org</li>
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="ldap_base" name="ldap_base" type="text" class="mdl-textfield__input blue100"
|
||||
<input id="ldap_base" name="ldap_base" type="text" class="mdl-textfield__input fg-blue100"
|
||||
maxlength="128" value="<?php echo $ldapBase; ?>" <?php echo $isDisabled; ?>/>
|
||||
<label class="mdl-textfield__label" for="ldap_base"><?php echo _('Base de búsqueda'); ?></label>
|
||||
<label class="mdl-textfield__label"
|
||||
for="ldap_base"><?php echo _('Base de búsqueda'); ?></label>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Grupo'); ?>
|
||||
<?php echo SP\Common::printHelpButton("config", 14); ?>
|
||||
<div id="help-ldap_group" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip mdl-tooltip--large" for="help-ldap_group">
|
||||
<p>
|
||||
<?php echo _('Grupo de LDAP al que debe de pertenecer el usuario para permitir el acceso.'); ?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo _('Este grupo debe de estar ubicado en la base de búsquedas de LDAP.'); ?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo _('Ejemplos:'); ?>
|
||||
</p>
|
||||
|
||||
<ul>
|
||||
<li>cn=GRP_SPUSERS,cn=Users,dc=example,dc=org</li>
|
||||
<li>GRP_SPUSERS</li>
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="ldap_group" name="ldap_group" type="text" class="mdl-textfield__input blue100"
|
||||
<input id="ldap_group" name="ldap_group" type="text" class="mdl-textfield__input fg-blue100"
|
||||
maxlength="128" value="<?php echo $ldapGroup; ?>" <?php echo $isDisabled; ?>/>
|
||||
<label class="mdl-textfield__label" for="ldap_group"><?php echo _('Grupo'); ?></label>
|
||||
</div>
|
||||
@@ -321,7 +521,12 @@
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Grupo por Defecto'); ?>
|
||||
<?php echo SP\Common::printHelpButton("config", 27); ?>
|
||||
<div id="help-ldap_defaultgroup" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip mdl-tooltip--large" for="help-ldap_defaultgroup">
|
||||
<p>
|
||||
<?php echo _('Define el grupo de usuarios por defecto para los nuevos usuarios de LDAP.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<select id="ldap_defaultgroup" name="ldap_defaultgroup"
|
||||
@@ -337,7 +542,12 @@
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Perfil por Defecto'); ?>
|
||||
<?php echo SP\Common::printHelpButton("config", 28); ?>
|
||||
<div id="help-ldap_defaultprofile" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip mdl-tooltip--large" for="help-ldap_defaultprofile">
|
||||
<p>
|
||||
<?php echo _('Define el perfil de usuarios por defecto para los nuevos usuarios de LDAP.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<select id="ldap_defaultprofile" name="ldap_defaultprofile"
|
||||
@@ -353,11 +563,16 @@
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Active Directory'); ?>
|
||||
<?php echo SP\Common::printHelpButton("config", 26); ?>
|
||||
<div id="help-ldap_ads" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip mdl-tooltip--large" for="help-ldap_ads">
|
||||
<p>
|
||||
<?php echo _('Habilita el modo de conexión con LDAP de Active Directory.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="ldap_ads">
|
||||
<input type="checkbox" id="ldap_ads" class="mdl-switch__input blue100" name="ldap_ads"
|
||||
<input type="checkbox" id="ldap_ads" class="mdl-switch__input fg-blue100" name="ldap_ads"
|
||||
<?php echo $chkLdapADS, ' ', $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label"></span>
|
||||
</label>
|
||||
@@ -393,7 +608,8 @@
|
||||
</td>
|
||||
<td class="valField">
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="mail_enabled">
|
||||
<input type="checkbox" id="mail_enabled" class="mdl-switch__input blue100" name="mail_enabled"
|
||||
<input type="checkbox" id="mail_enabled" class="mdl-switch__input fg-blue100"
|
||||
name="mail_enabled"
|
||||
<?php echo $chkMail, ' ', $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label"></span>
|
||||
</label>
|
||||
@@ -405,7 +621,7 @@
|
||||
</td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="mail_server" name="mail_server" type="text" class="mdl-textfield__input blue100"
|
||||
<input id="mail_server" name="mail_server" type="text" class="mdl-textfield__input fg-blue100"
|
||||
maxlength="128" value="<?php echo $mailServer; ?>" <?php echo $isDisabled; ?>/>
|
||||
<label class="mdl-textfield__label" for="mail_server"><?php echo _('Servidor'); ?></label>
|
||||
</div>
|
||||
@@ -418,7 +634,7 @@
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="mail_port" name="mail_port" type="number" pattern="[0-9]{1,5}"
|
||||
class="mdl-textfield__input blue100" maxlength="5"
|
||||
class="mdl-textfield__input fg-blue100" maxlength="5"
|
||||
value="<?php echo $mailPort; ?>" <?php echo $isDisabled; ?>/>
|
||||
<label class="mdl-textfield__label" for="mail_port"><?php echo _('Puerto'); ?></label>
|
||||
</div>
|
||||
@@ -430,7 +646,7 @@
|
||||
</td>
|
||||
<td class="valField">
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="mail_authenabled">
|
||||
<input type="checkbox" id="mail_authenabled" class="mdl-switch__input blue100"
|
||||
<input type="checkbox" id="mail_authenabled" class="mdl-switch__input fg-blue100"
|
||||
name="mail_authenabled" <?php echo $chkMailAuth, ' ', $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label"></span>
|
||||
</label>
|
||||
@@ -442,7 +658,7 @@
|
||||
</td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="mail_user" name="mail_user" type="email" class="mdl-textfield__input blue100"
|
||||
<input id="mail_user" name="mail_user" type="email" class="mdl-textfield__input fg-blue100"
|
||||
maxlength="50" value="<?php echo $mailUser; ?>" <?php echo $isDisabled; ?>/>
|
||||
<label class="mdl-textfield__label" for="mail_user"><?php echo _('Usuario'); ?></label>
|
||||
</div>
|
||||
@@ -454,12 +670,13 @@
|
||||
</td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="mail_pass" name="mail_pass" type="password" class="mdl-textfield__input blue100"
|
||||
<input id="mail_pass" name="mail_pass" type="password" class="mdl-textfield__input fg-blue100"
|
||||
maxlength="128" value="<?php echo $mailPass; ?>" <?php echo $isDisabled; ?>/>
|
||||
<label class="mdl-textfield__label" for="mail_pass"><?php echo _('Clave'); ?></label>
|
||||
</div>
|
||||
<i class="showpass material-icons" title="<?php echo _('Mostrar Clave'); ?>">remove_red_eye</i>
|
||||
<i id="passGen" class="material-icons" title="<?php echo _('Generar clave aleatoria'); ?>">settings</i>
|
||||
<i id="passGen" class="material-icons"
|
||||
title="<?php echo _('Generar clave aleatoria'); ?>">settings</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -482,19 +699,27 @@
|
||||
</td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="mail_from" name="mail_from" type="email" class="mdl-textfield__input blue100"
|
||||
<input id="mail_from" name="mail_from" type="email" class="mdl-textfield__input fg-blue100"
|
||||
maxlength="128" value="<?php echo $mailFrom; ?>" <?php echo $isDisabled; ?>/>
|
||||
<label class="mdl-textfield__label" for="mail_from"><?php echo _('Dirección de correo de envío'); ?></label>
|
||||
<label class="mdl-textfield__label"
|
||||
for="mail_from"><?php echo _('Dirección de correo de envío'); ?></label>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Habilitar peticiones por correo'); ?>
|
||||
|
||||
<div id="help-mail_requestsenabled" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip mdl-tooltip--large" for="help-mail_requestsenabled">
|
||||
<p>
|
||||
<?php echo _('Habilita que los usuarios puedan solicitar modificaciones o acceso a las cuentas sin permisos.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="mail_requestsenabled">
|
||||
<input type="checkbox" id="mail_requestsenabled" class="mdl-switch__input blue100"
|
||||
<input type="checkbox" id="mail_requestsenabled" class="mdl-switch__input fg-blue100"
|
||||
name="mail_requestsenabled" <?php echo $chkMailRequests, ' ', $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label"></span>
|
||||
</label>
|
||||
@@ -515,7 +740,8 @@
|
||||
</form>
|
||||
|
||||
<div class="action">
|
||||
<button class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab mdl-button--colored" OnClick="configMgmt('saveconfig');" title="<?php echo _('Guardar'); ?>">
|
||||
<button class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab mdl-button--colored"
|
||||
OnClick="configMgmt('saveconfig');" title="<?php echo _('Guardar'); ?>">
|
||||
<i class="material-icons">save</i>
|
||||
</button>
|
||||
</div>
|
||||
@@ -535,15 +761,15 @@
|
||||
var $tagsbox = $(this).next();
|
||||
$tagsbox.animate({scrollTop: $tagsbox.height()});
|
||||
|
||||
if ($tagsbox.find('img:last').attr('alt') != 'warning') {
|
||||
$tagsbox.find('div:last').prev().append('<img src="imgs/warning.png" alt="warning" class="iconMini" title="' + LANG[5] + '" />');
|
||||
if (!$tagsbox.find('div').hasClass('icon')) {
|
||||
$tagsbox.find('div:last').prev().append('<div class="icon material-icons fg-orange80" title="' + LANG[5] + '">warning</div>');
|
||||
}
|
||||
},
|
||||
'onRemoveTag': function () {
|
||||
var $tagsbox = $(this).next();
|
||||
|
||||
if ($tagsbox.find('img:last').attr('alt') != 'warning') {
|
||||
$tagsbox.find('div:last').prev().append('<img src="imgs/warning.png" alt="warning" class="iconMini" title="' + LANG[5] + '"/>');
|
||||
if (!$tagsbox.find('div').hasClass('icon')) {
|
||||
$tagsbox.find('div:last').prev().append('<div class="icon material-icons fg-orange80" title="' + LANG[5] + '">warning</div>');
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -558,15 +784,15 @@
|
||||
var $tagsbox = $(this).next();
|
||||
$tagsbox.animate({scrollTop: $tagsbox.height()});
|
||||
|
||||
if ($tagsbox.find('img:last').attr('alt') != 'warning') {
|
||||
$tagsbox.find('div:last').prev().append('<img src="imgs/warning.png" alt="warning" class="iconMini" title="' + LANG[5] + '"/>');
|
||||
if (!$tagsbox.find('div').hasClass('icon')) {
|
||||
$tagsbox.find('div:last').prev().append('<div class="icon material-icons fg-orange80" title="' + LANG[5] + '">warning</div>');
|
||||
}
|
||||
},
|
||||
onRemoveTag: function () {
|
||||
var $tagsbox = $(this).next();
|
||||
|
||||
if ($tagsbox.find('img:last').attr('alt') != 'warning') {
|
||||
$tagsbox.find('div:last').prev().append('<img src="imgs/warning.png" alt="warning" class="iconMini" title="' + LANG[5] + '"/>');
|
||||
if (!$tagsbox.find('div').hasClass('icon')) {
|
||||
$tagsbox.find('div:last').prev().append('<div class="icon material-icons fg-orange80" title="' + LANG[5] + '">warning</div>');
|
||||
}
|
||||
},
|
||||
onChange: function () {
|
||||
|
||||
83
inc/themes/material-blue/css/alertify.custom.css
Normal file
@@ -0,0 +1,83 @@
|
||||
/**
|
||||
* Default Look and Feel
|
||||
*/
|
||||
.alertify,
|
||||
.alertify-log {
|
||||
font-family: Roboto-Regular, Verdana, Tahoma, sans-serif;
|
||||
font-size: 1em;
|
||||
}
|
||||
.alertify {
|
||||
background: #FFF;
|
||||
border: 10px solid #333; /* browsers that don't support rgba */
|
||||
border: 10px solid rgba(0,0,0,.3);
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 3px 3px rgba(0,0,0,.3);
|
||||
-webkit-background-clip: padding; /* Safari 4? Chrome 6? */
|
||||
-moz-background-clip: padding; /* Firefox 3.6 */
|
||||
background-clip: padding-box; /* Firefox 4, Safari 5, Opera 10, IE 9 */
|
||||
}
|
||||
.alertify-text {
|
||||
border: 1px solid #CCC;
|
||||
padding: 10px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.alertify-button {
|
||||
border-radius: 4px;
|
||||
color: #FFF;
|
||||
font-weight: bold;
|
||||
padding: 6px 15px;
|
||||
text-decoration: none;
|
||||
text-shadow: none;
|
||||
box-shadow: inset 0 1px 0 0 rgba(255,255,255,.5);
|
||||
background-image: -webkit-linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
|
||||
background-image: -moz-linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
|
||||
background-image: -ms-linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
|
||||
background-image: -o-linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
|
||||
background-image: linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
|
||||
}
|
||||
.alertify-button:hover,
|
||||
.alertify-button:focus {
|
||||
outline: none;
|
||||
background-image: -webkit-linear-gradient(top, rgba(0,0,0,.1), rgba(0,0,0,0));
|
||||
background-image: -moz-linear-gradient(top, rgba(0,0,0,.1), rgba(0,0,0,0));
|
||||
background-image: -ms-linear-gradient(top, rgba(0,0,0,.1), rgba(0,0,0,0));
|
||||
background-image: -o-linear-gradient(top, rgba(0,0,0,.1), rgba(0,0,0,0));
|
||||
background-image: linear-gradient(top, rgba(0,0,0,.1), rgba(0,0,0,0));
|
||||
}
|
||||
.alertify-button:focus {
|
||||
box-shadow: 0 0 15px #2B72D5;
|
||||
}
|
||||
.alertify-button:active {
|
||||
position: relative;
|
||||
box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
|
||||
}
|
||||
.alertify-button-cancel,
|
||||
.alertify-button-cancel:hover,
|
||||
.alertify-button-cancel:focus {
|
||||
background-color: #FE1A00;
|
||||
border: 1px solid #D83526;
|
||||
}
|
||||
.alertify-button-ok,
|
||||
.alertify-button-ok:hover,
|
||||
.alertify-button-ok:focus {
|
||||
background-color: #5CB811;
|
||||
border: 1px solid #3B7808;
|
||||
}
|
||||
|
||||
.alertify-log {
|
||||
background: #1F1F1F;
|
||||
background: rgba(0,0,0,.9);
|
||||
padding: 15px;
|
||||
border-radius: 4px;
|
||||
color: #FFF;
|
||||
font-weight: bold;
|
||||
text-shadow: none;
|
||||
}
|
||||
.alertify-log-error {
|
||||
background: #F44336;
|
||||
background: rgba(244, 67, 54, .9);
|
||||
}
|
||||
.alertify-log-success {
|
||||
background: #009688;
|
||||
background: rgba(0, 150, 136, .9);
|
||||
}
|
||||
@@ -26,11 +26,12 @@
|
||||
$cssFilesTheme = array(
|
||||
// array('href' => 'https://fonts.googleapis.com/icon?family=Material+Icons', 'min' => false),
|
||||
array('href' => 'http://fonts.googleapis.com/css?family=Roboto:300,400,500,700', 'min' => false),
|
||||
array('href' => $themeUri . '/css/fonts.css', 'min' => true),
|
||||
array('href' => $themeUri . '/css/material.min.css', 'min' => false),
|
||||
array('href' => $themeUri . '/css/material-custom.css', 'min' => true),
|
||||
array('href' => $themeUri . '/css/styles.css', 'min' => true),
|
||||
array('href' => $themeUri . '/css/search-grid.css', 'min' => true),
|
||||
array('href' => $themeUri . '/css/chosen.css', 'min' => true)
|
||||
|
||||
array('href' => \SP\Init::$THEMEPATH . '/css/fonts.css', 'min' => true),
|
||||
array('href' => \SP\Init::$THEMEPATH . '/css/material.min.css', 'min' => false),
|
||||
array('href' => \SP\Init::$THEMEPATH . '/css/material-custom.css', 'min' => true),
|
||||
array('href' => \SP\Init::$THEMEPATH . '/css/jquery-ui.theme.min.css', 'min' => false),
|
||||
array('href' => \SP\Init::$THEMEPATH . '/css/styles.css', 'min' => true),
|
||||
array('href' => \SP\Init::$THEMEPATH . '/css/search-grid.css', 'min' => true),
|
||||
array('href' => \SP\Init::$THEMEPATH . '/css/chosen.css', 'min' => true),
|
||||
array('href' => \SP\Init::$THEMEPATH . '/css/alertify.custom.css', 'min' => true)
|
||||
);
|
||||
|
After Width: | Height: | Size: 212 B |
|
After Width: | Height: | Size: 208 B |
|
After Width: | Height: | Size: 335 B |
|
After Width: | Height: | Size: 332 B |
|
After Width: | Height: | Size: 297 B |
|
After Width: | Height: | Size: 203 B |
|
After Width: | Height: | Size: 314 B |
|
After Width: | Height: | Size: 324 B |
BIN
inc/themes/material-blue/css/images/ui-icons_222222_256x240.png
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
BIN
inc/themes/material-blue/css/images/ui-icons_2e83ff_256x240.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
inc/themes/material-blue/css/images/ui-icons_454545_256x240.png
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
BIN
inc/themes/material-blue/css/images/ui-icons_cd0a0a_256x240.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
inc/themes/material-blue/css/images/ui-icons_ffffff_256x240.png
Normal file
|
After Width: | Height: | Size: 6.2 KiB |
5
inc/themes/material-blue/css/jquery-ui.theme.min.css
vendored
Normal file
@@ -36,8 +36,53 @@
|
||||
|
||||
.mdl-button {margin: 0 .3em;}
|
||||
|
||||
.blue20 {color: rgba(68, 138, 255, .2)}
|
||||
.blue40 {color: rgba(68, 138, 255, .4)}
|
||||
.blue60 {color: rgba(68, 138, 255, .6)}
|
||||
.blue80 {color: rgba(68, 138, 255, .8)}
|
||||
.blue100 {color: rgb(68, 138, 255)}
|
||||
.fg-blue20 {color: rgba(68, 138, 255, .2)}
|
||||
.fg-blue40 {color: rgba(68, 138, 255, .4)}
|
||||
.fg-blue60 {color: rgba(68, 138, 255, .6)}
|
||||
.fg-blue80 {color: rgba(68, 138, 255, .8)}
|
||||
.fg-blue100 {color: rgb(68, 138, 255)}
|
||||
|
||||
.mdl-button--fab.mdl-button--colored.bg-blue20 {background-color: rgba(68, 138, 255, .2)}
|
||||
.mdl-button--fab.mdl-button--colored.bg-blue40 {background-color: rgba(68, 138, 255, .4)}
|
||||
.mdl-button--fab.mdl-button--colored.bg-blue60 {background-color: rgba(68, 138, 255, .6)}
|
||||
.mdl-button--fab.mdl-button--colored.bg-blue80 {background-color: rgba(68, 138, 255, .8)}
|
||||
.mdl-button--fab.mdl-button--colored.bg-blue100 {background-color: rgb(68, 138, 255)}
|
||||
|
||||
.fg-orange20 {color: rgba(255, 193, 7, .2)}
|
||||
.fg-orange40 {color: rgba(255, 193, 7, .4)}
|
||||
.fg-orange60 {color: rgba(255, 193, 7, .6)}
|
||||
.fg-orange80 {color: rgba(255, 193, 7, .8)}
|
||||
.fg-orange100 {color: rgba(255, 193, 7, 1)}
|
||||
|
||||
.mdl-button--fab.mdl-button--colored.bg-orange20 {background-color: rgba(255, 193, 7, .2)}
|
||||
.mdl-button--fab.mdl-button--colored.bg-orange40 {background-color: rgba(255, 193, 7, .4)}
|
||||
.mdl-button--fab.mdl-button--colored.bg-orange60 {background-color: rgba(255, 193, 7, .6)}
|
||||
.mdl-button--fab.mdl-button--colored.bg-orange80 {background-color: rgba(255, 193, 7, .8)}
|
||||
.mdl-button--fab.mdl-button--colored.bg-orange100 {background-color: rgba(255, 193, 7, 1)}
|
||||
|
||||
.fg-red20 {color: rgba(244, 67, 54, .2)}
|
||||
.fg-red40 {color: rgba(244, 67, 54, .4)}
|
||||
.fg-red60 {color: rgba(244, 67, 54, .6)}
|
||||
.fg-red80 {color: rgba(244, 67, 54, .8)}
|
||||
.fg-red100 {color: rgb(244, 67, 54)}
|
||||
|
||||
.mdl-button--fab.mdl-button--colored.bg-red20 {background-color: rgba(244, 67, 54, .2)}
|
||||
.mdl-button--fab.mdl-button--colored.bg-red40 {background-color: rgba(244, 67, 54, .4)}
|
||||
.mdl-button--fab.mdl-button--colored.bg-red60 {background-color: rgba(244, 67, 54, .6)}
|
||||
.mdl-button--fab.mdl-button--colored.bg-red80 {background-color: rgba(244, 67, 54, .8)}
|
||||
.mdl-button--fab.mdl-button--colored.bg-red100 {background-color: rgb(244, 67, 54)}
|
||||
|
||||
.fg-green20 {color: rgba(0, 150, 136, .2)}
|
||||
.fg-green40 {color: rgba(0, 150, 136, .4)}
|
||||
.fg-green60 {color: rgba(0, 150, 136, .6)}
|
||||
.fg-green80 {color: rgba(0, 150, 136, .8)}
|
||||
.fg-green00 {color: rgb(0, 150, 136)}
|
||||
|
||||
.mdl-button--fab.mdl-button--colored.bg-green20 {background-color: rgba(0, 150, 136, 0.2)}
|
||||
.mdl-button--fab.mdl-button--colored.bg-green40 {background-color: rgba(0, 150, 136, 0.4)}
|
||||
.mdl-button--fab.mdl-button--colored.bg-green60 {background-color: rgba(0, 150, 136, .6)}
|
||||
.mdl-button--fab.mdl-button--colored.bg-green80 {background-color: rgba(0, 150, 136, .8)}
|
||||
.mdl-button--fab.mdl-button--colored.bg-green100 {background-color: rgb(0, 150, 136)}
|
||||
|
||||
|
||||
.mdl-tooltip{text-align: justify; max-width: 400px;}
|
||||
|
||||
@@ -215,7 +215,7 @@ a:focus {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
min-height: 650px;
|
||||
background: url("../imgs/logo_full.png") no-repeat left top transparent;
|
||||
background: url("../inc/themes/material-blue/imgs/logo_full.png") no-repeat left top transparent;
|
||||
}
|
||||
|
||||
#container.error, #container.install, #container.passreset {
|
||||
@@ -361,48 +361,19 @@ a:focus {
|
||||
letter-spacing: 0.3em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#content #title.titleBlue {
|
||||
#content #title.titleBlue,
|
||||
#content #title.titleGreen,
|
||||
#content #title.titleOrange,
|
||||
#content #title.titleRed,
|
||||
#content #title.titleNormal
|
||||
{
|
||||
background-color: #448AFF;
|
||||
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #66a1ff), color-stop(90%, #448AFF));
|
||||
background-image: -webkit-linear-gradient(#66a1ff 20%, #448AFF 90%);
|
||||
background-image: -moz-linear-gradient(#66a1ff 20%, #448AFF 90%);
|
||||
background-image: -o-linear-gradient(#66a1ff 20%, #448AFF 90%);
|
||||
background-image: linear-gradient(#66a1ff 20%, #448AFF 90%);
|
||||
/*background: url("../imgs/bg_tab_new.png") repeat-x scroll left top #a9c1d7;*/
|
||||
}
|
||||
|
||||
#content #title.titleOrange {
|
||||
background-color: #448AFF;
|
||||
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #66a1ff), color-stop(90%, #448AFF));
|
||||
background-image: -webkit-linear-gradient(#66a1ff 20%, #448AFF 90%);
|
||||
background-image: -moz-linear-gradient(#66a1ff 20%, #448AFF 90%);
|
||||
background-image: -o-linear-gradient(#66a1ff 20%, #448AFF 90%);
|
||||
background-image: linear-gradient(#66a1ff 20%, #448AFF 90%);
|
||||
/*background: url("../imgs/bg_tab_edit.png") repeat-x scroll left top #a9c1d7;*/
|
||||
}
|
||||
|
||||
#content #title.titleRed {
|
||||
background-color: #448AFF;
|
||||
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #66a1ff), color-stop(90%, #448AFF));
|
||||
background-image: -webkit-linear-gradient(#66a1ff 20%, #448AFF 90%);
|
||||
background-image: -moz-linear-gradient(#66a1ff 20%, #448AFF 90%);
|
||||
background-image: -o-linear-gradient(#66a1ff 20%, #448AFF 90%);
|
||||
background-image: linear-gradient(#66a1ff 20%, #448AFF 90%);
|
||||
/*background: url("../imgs/bg_tab_edit.png") repeat-x scroll left top #a9c1d7;*/
|
||||
}
|
||||
|
||||
#content #title.titleNormal {
|
||||
color: #999;
|
||||
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
|
||||
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Q5ZDlkOSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNkOWQ5ZDkiIHN0b3Atb3BhY2l0eT0iMCIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
|
||||
background: -moz-linear-gradient(top, rgba(217, 217, 217, 1) 0%, rgba(217, 217, 217, 0) 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(217, 217, 217, 1)), color-stop(100%, rgba(217, 217, 217, 0))); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, rgba(217, 217, 217, 1) 0%, rgba(217, 217, 217, 0) 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, rgba(217, 217, 217, 1) 0%, rgba(217, 217, 217, 0) 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(top, rgba(217, 217, 217, 1) 0%, rgba(217, 217, 217, 0) 100%); /* IE10+ */
|
||||
background: linear-gradient(to bottom, rgba(217, 217, 217, 1) 0%, rgba(217, 217, 217, 0) 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d9d9d9', endColorstr='#00d9d9d9', GradientType=0); /* IE6-8 */
|
||||
background: #448aff url("../inc/themes/material-blue/css/images/ui-bg_highlight-hard_75_448AFF_1x100.png") repeat-x scroll 50% 50%
|
||||
}
|
||||
|
||||
#content .data {
|
||||
@@ -1051,13 +1022,17 @@ a:focus {
|
||||
|
||||
#fancyContainer h2 {
|
||||
width: 80%;
|
||||
height: 1.5em;
|
||||
font-size: 18px;
|
||||
color: white;
|
||||
background: url("../imgs/bg_h2.png") repeat-x scroll left top #a9c1d7;
|
||||
margin: 0;
|
||||
margin-bottom: 20px;
|
||||
padding-top: 0.3em;
|
||||
background-color: #448AFF;
|
||||
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #66a1ff), color-stop(90%, #448AFF));
|
||||
background-image: -webkit-linear-gradient(#66a1ff 20%, #448AFF 90%);
|
||||
background-image: -moz-linear-gradient(#66a1ff 20%, #448AFF 90%);
|
||||
background-image: -o-linear-gradient(#66a1ff 20%, #448AFF 90%);
|
||||
background-image: linear-gradient(#66a1ff 20%, #448AFF 90%);
|
||||
margin: 0 0 20px 0;
|
||||
padding: .5em 0;
|
||||
line-height: 1em;
|
||||
}
|
||||
|
||||
#fancyContainer select {
|
||||
@@ -1268,7 +1243,7 @@ footer img {
|
||||
}
|
||||
|
||||
.header-blue {
|
||||
background-color: #E6F2FF;
|
||||
background: #448aff url("../inc/themes/material-blue/css/images/ui-bg_highlight-hard_75_448AFF_1x100.png") repeat-x scroll 50% 50%
|
||||
}
|
||||
|
||||
.header-grey {
|
||||
@@ -1279,7 +1254,7 @@ footer img {
|
||||
background-image: -o-linear-gradient(#66a1ff 20%, #448AFF 90%);
|
||||
background-image: linear-gradient(#66a1ff 20%, #448AFF 90%);
|
||||
color: #fff;
|
||||
/*background: url("../imgs/bg_table_header.png") repeat-x scroll left top #f2f2f2;*/
|
||||
background: #448aff url("../inc/themes/material-blue/css/images/ui-bg_highlight-hard_75_448AFF_1x100.png") repeat-x scroll 50% 50%
|
||||
height: 30px;
|
||||
text-align: center;
|
||||
}
|
||||
@@ -1393,7 +1368,7 @@ footer img {
|
||||
}
|
||||
|
||||
/* Fix for fancybox z-index*/
|
||||
|
||||
/*
|
||||
.ui-buttonset .ui-state-active {
|
||||
background: url("images/ui-bg_glass_75_ON_1x400.png") repeat-x scroll 50% 50% #ecfde4;
|
||||
border: 1px solid #AAAAAA;
|
||||
@@ -1404,7 +1379,7 @@ footer img {
|
||||
.valField .ui-state-active, #tblTools .ui-state-active, #frmInstall .ui-state-active {
|
||||
background: url("images/ui-bg_glass_75_ON_1x400.png") repeat-x scroll 50% 50% #ecfde4;
|
||||
}
|
||||
|
||||
*/
|
||||
/*#passLevel { margin-left: 10px; padding: 3px 15px;}*/
|
||||
.passLevel {
|
||||
width: 20px;
|
||||
@@ -1468,7 +1443,7 @@ footer img {
|
||||
border: #dbfdcb 1px solid;
|
||||
}
|
||||
|
||||
.help-box{background-color: #ceeffa !important; color: #777;}
|
||||
.help-box{background-color: #f2f2f2 !important; color: #777;}
|
||||
.help-text{text-align: justify; line-height: 1.5em; margin-top: 1em;}
|
||||
|
||||
/*Login Page*/
|
||||
@@ -1704,4 +1679,8 @@ fieldset.warning a {
|
||||
background: url("../imgs/arrow-list.png") left center no-repeat;
|
||||
line-height: 32px;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.no-title .ui-dialog-titlebar {
|
||||
display: none;
|
||||
}
|
||||
@@ -8,7 +8,7 @@
|
||||
<td class="descField"><?php echo _('Nombre'); ?></td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="name" name="name" type="text" required class="mdl-textfield__input blue100"
|
||||
<input id="name" name="name" type="text" required class="mdl-textfield__input fg-blue100"
|
||||
maxlength="50" value="<?php echo $customer["customer_name"]; ?>">
|
||||
<label class="mdl-textfield__label"
|
||||
for="name"><?php echo _('Nombre del cliente'); ?></label>
|
||||
@@ -20,7 +20,7 @@
|
||||
<td class="descField"><?php echo _('Descripción'); ?></td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="description" name="description" type="text" class="mdl-textfield__input blue100"
|
||||
<input id="description" name="description" type="text" class="mdl-textfield__input fg-blue100"
|
||||
maxlength="50" value="<?php echo $customer["customer_description"]; ?>">
|
||||
<label class="mdl-textfield__label"
|
||||
for="description"><?php echo _('Descripción del cliente'); ?></label>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<td class="descField"><?php echo _('Clave'); ?></td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="password" name="password" type="password" required class="mdl-textfield__input blue100"
|
||||
<input id="password" name="password" type="password" required class="mdl-textfield__input fg-blue100"
|
||||
maxlength="255" OnKeyUp="checkPassLevel(this.value)" autocomplete="off">
|
||||
<label class="mdl-textfield__label" for="password"><?php echo _('Clave'); ?></label>
|
||||
</div>
|
||||
@@ -38,7 +38,7 @@
|
||||
<td class="descField"><?php echo _('Clave (repetir)'); ?></td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="password2" name="password2" type="password" required class="mdl-textfield__input blue100"
|
||||
<input id="password2" name="password2" type="password" required class="mdl-textfield__input fg-blue100"
|
||||
maxlength="255" OnKeyUp="checkPassLevel(this.value)" autocomplete="off">
|
||||
<label class="mdl-textfield__label" for="password2"><?php echo _('Clave'); ?></label>
|
||||
</div>
|
||||
|
||||
@@ -26,7 +26,7 @@ echo $encryption_tabIndex; ?>">
|
||||
</td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="curMasterPwd" name="curMasterPwd" type="password" class="mdl-textfield__input blue100"
|
||||
<input id="curMasterPwd" name="curMasterPwd" type="password" class="mdl-textfield__input fg-blue100"
|
||||
maxlength="255" required/>
|
||||
<label class="mdl-textfield__label" for="curMasterPwd"><?php echo _('Clave Maestra actual'); ?></label>
|
||||
</div>
|
||||
@@ -40,7 +40,7 @@ echo $encryption_tabIndex; ?>">
|
||||
</td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="newMasterPwd" name="newMasterPwd" type="password" class="mdl-textfield__input blue100"
|
||||
<input id="newMasterPwd" name="newMasterPwd" type="password" class="mdl-textfield__input fg-blue100"
|
||||
maxlength="255" OnKeyUp="checkPassLevel(this.value)" required/>
|
||||
<label class="mdl-textfield__label" for="newMasterPwd"><?php echo _('Nueva Clave Maestra'); ?></label>
|
||||
</div>
|
||||
@@ -57,7 +57,7 @@ echo $encryption_tabIndex; ?>">
|
||||
</td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="newMasterPwdR" name="newMasterPwdR" type="password" class="mdl-textfield__input blue100"
|
||||
<input id="newMasterPwdR" name="newMasterPwdR" type="password" class="mdl-textfield__input fg-blue100"
|
||||
maxlength="255" required/>
|
||||
<label class="mdl-textfield__label" for="newMasterPwdR"><?php echo _('Nueva Clave Maestra (repetir)'); ?></label>
|
||||
</div>
|
||||
@@ -66,11 +66,17 @@ echo $encryption_tabIndex; ?>">
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('No modificar cuentas'); ?>
|
||||
<?php echo Common::printHelpButton("config", 16); ?>
|
||||
|
||||
<div id="help-chkNoAccountChange" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip mdl-tooltip--large" for="help-chkNoAccountChange">
|
||||
<p>
|
||||
<?php echo _('Establece una nueva clave maestra sin re-encriptar las cuentas'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="chkNoAccountChange">
|
||||
<input type="checkbox" id="chkNoAccountChange" class="mdl-switch__input blue100" name="chkNoAccountChange"/>
|
||||
<input type="checkbox" id="chkNoAccountChange" class="mdl-switch__input fg-blue100" name="chkNoAccountChange"/>
|
||||
<span class="mdl-switch__label"></span>
|
||||
</label>
|
||||
</td>
|
||||
@@ -80,13 +86,13 @@ echo $encryption_tabIndex; ?>">
|
||||
<?php echo _('Confirmar cambio'); ?>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<img src="imgs/warning.png" ALT="<?php echo _('Atención'); ?>" class="iconMini"/>
|
||||
<div class="icon material-icons fg-orange80">warning</div>
|
||||
<?php echo _('Guarde la nueva clave en un lugar seguro.'); ?>
|
||||
<br>
|
||||
<img src="imgs/warning.png" ALT="<?php echo _('Atención'); ?>" class="iconMini"/>
|
||||
<div class="icon material-icons fg-orange80">warning</div>
|
||||
<?php echo _('Se volverán a encriptar las claves de todas las cuentas.'); ?>
|
||||
<br>
|
||||
<img src="imgs/warning.png" ALT="<?php echo _('Atención'); ?>" class="iconMini"/>
|
||||
<div class="icon material-icons fg-orange80">warning</div>
|
||||
<?php echo _('Los usuarios deberán de introducir la nueva clave maestra.'); ?>
|
||||
<br>
|
||||
<br>
|
||||
@@ -152,7 +158,7 @@ echo $encryption_tabIndex; ?>">
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="tmpass_maxtime" name="tmpass_maxtime" type="number" step="600"
|
||||
pattern="[0-9]{2,6}" class="mdl-textfield__input blue100" value="3600" required/>
|
||||
pattern="[0-9]{2,6}" class="mdl-textfield__input fg-blue100" value="3600" required/>
|
||||
<label class="mdl-textfield__label" for="tmpass_maxtime"><?php echo _('Validez (s)'); ?></label>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<td class="descField"><?php echo _('Nombre'); ?></td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="name" name="name" type="text" required class="mdl-textfield__input blue100"
|
||||
<input id="name" name="name" type="text" required class="mdl-textfield__input fg-blue100"
|
||||
maxlength="50" value="<?php echo $group["usergroup_name"]; ?>">
|
||||
<label class="mdl-textfield__label"
|
||||
for="name"><?php echo _('Nombre del grupo'); ?></label>
|
||||
@@ -20,7 +20,7 @@
|
||||
<td class="descField"><?php echo _('Descripción'); ?></td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="description" name="description" type="text" class="mdl-textfield__input blue100"
|
||||
<input id="description" name="description" type="text" class="mdl-textfield__input fg-blue100"
|
||||
maxlength="50" value="<?php echo $group["usergroup_description"]; ?>">
|
||||
<label class="mdl-textfield__label"
|
||||
for="description"><?php echo _('Descripción del grupo'); ?></label>
|
||||
|
||||
BIN
inc/themes/material-blue/imgs/logo.png
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
BIN
inc/themes/material-blue/imgs/logo_full.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
@@ -13,15 +13,21 @@ echo $import_tabIndex; ?>">
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Usuario por Defecto'); ?>
|
||||
<?php echo SP\Common::printHelpButton("config", 29); ?>
|
||||
<div id="help-import_defaultuser" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip mdl-tooltip--large" for="help-import_defaultuser">
|
||||
<p>
|
||||
<?php echo _('Define el usuario por defecto para las cuentas importadas.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<select id="import_defaultuser" name="import_defaultuser"
|
||||
class="select-box sel-chosen-user" <?php echo $isDisabled; ?> required>
|
||||
class="select-box sel-chosen-user" required>
|
||||
<option value="0"></option>
|
||||
<?php foreach ($users as $id => $name): ?>
|
||||
<option
|
||||
value="<?php echo $id; ?>" <?php echo ($id === \SP\Session::getUserId()) ? 'selected' : ''; ?>><?php echo $name; ?></option>
|
||||
<option value="<?php echo $id; ?>" <?php echo ($id === \SP\Session::getUserId()) ? 'selected' : ''; ?>>
|
||||
<?php echo $name; ?>
|
||||
</option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
</td>
|
||||
@@ -29,15 +35,21 @@ echo $import_tabIndex; ?>">
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Grupo por Defecto'); ?>
|
||||
<?php echo SP\Common::printHelpButton("config", 30); ?>
|
||||
<div id="help-import_defaultgroup" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip mdl-tooltip--large" for="help-import_defaultgroup">
|
||||
<p>
|
||||
<?php echo _('Define el grupo por defecto para las cuentas importadas.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<select id="import_defaultgroup" name="import_defaultgroup"
|
||||
class="select-box sel-chosen-usergroup" <?php echo $isDisabled; ?> required>
|
||||
class="select-box sel-chosen-usergroup" required>
|
||||
<option value="0"></option>
|
||||
<?php foreach ($groups as $id => $name): ?>
|
||||
<option
|
||||
value="<?php echo $id; ?>" <?php echo ($id === \SP\Session::getUserGroupId()) ? 'selected' : ''; ?>><?php echo $name; ?></option>
|
||||
<option value="<?php echo $id; ?>" <?php echo ($id === \SP\Session::getUserGroupId()) ? 'selected' : ''; ?>>
|
||||
<?php echo $name; ?>
|
||||
</option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
</td>
|
||||
@@ -48,7 +60,7 @@ echo $import_tabIndex; ?>">
|
||||
</td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="importPwd" name="importPwd" type="password" class="mdl-textfield__input blue100"
|
||||
<input id="importPwd" name="importPwd" type="password" class="mdl-textfield__input fg-blue100"
|
||||
maxlength="255"/>
|
||||
<label class="mdl-textfield__label" for="importPwd"><?php echo _('Clave de Importación'); ?></label>
|
||||
</div>
|
||||
@@ -61,7 +73,7 @@ echo $import_tabIndex; ?>">
|
||||
</td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="csvDelimiter" name="csvDelimiter" type="text" class="mdl-textfield__input blue100"
|
||||
<input id="csvDelimiter" name="csvDelimiter" type="text" class="mdl-textfield__input fg-blue100"
|
||||
maxlength="1" value=";"/>
|
||||
<label class="mdl-textfield__label" for="csvDelimiter"><?php echo _('Delimitador CSV'); ?></label>
|
||||
</div>
|
||||
@@ -116,11 +128,16 @@ echo $import_tabIndex; ?>">
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Usuario BBDD'); ?>
|
||||
<?php echo Common::printHelpButton("config", 0); ?>
|
||||
<div id="help-dbuser" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip mdl-tooltip--large" for="help-dbuser">
|
||||
<p>
|
||||
<?php echo _('Indicar el usuario de conexión a la base de datos de phpPMS.') ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="dbuser" name="dbuser" type="text" class="mdl-textfield__input blue100"
|
||||
<input id="dbuser" name="dbuser" type="text" class="mdl-textfield__input fg-blue100"
|
||||
maxlength="255" required/>
|
||||
<label class="mdl-textfield__label" for="dbuser"><?php echo _('Usuario BBDD'); ?></label>
|
||||
</div>
|
||||
@@ -132,7 +149,7 @@ echo $import_tabIndex; ?>">
|
||||
</td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="dbpass" name="dbpass" type="password" class="mdl-textfield__input blue100"
|
||||
<input id="dbpass" name="dbpass" type="password" class="mdl-textfield__input fg-blue100"
|
||||
maxlength="255" required/>
|
||||
<label class="mdl-textfield__label" for="dbpass"><?php echo _('Clave BBDD'); ?></label>
|
||||
</div>
|
||||
@@ -142,11 +159,16 @@ echo $import_tabIndex; ?>">
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Nombre BBDD'); ?>
|
||||
<?php echo Common::printHelpButton("config", 1); ?>
|
||||
<div id="help-dbname" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip mdl-tooltip--large" for="help-dbname">
|
||||
<p>
|
||||
<?php echo _('Indicar el nombre de la base de datos de phpPMS.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="dbname" name="dbname" type="text" class="mdl-textfield__input blue100"
|
||||
<input id="dbname" name="dbname" type="text" class="mdl-textfield__input fg-blue100"
|
||||
maxlength="255" required/>
|
||||
<label class="mdl-textfield__label" for="dbname"><?php echo _('Nombre BBDD'); ?></label>
|
||||
</div>
|
||||
@@ -155,11 +177,16 @@ echo $import_tabIndex; ?>">
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Servidor BBDD'); ?>
|
||||
<?php echo Common::printHelpButton("config", 2); ?>
|
||||
<div id="help-dbhost" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip mdl-tooltip--large" for="help-dbhost">
|
||||
<p>
|
||||
<?php echo _('Indicar el servidor de la base de datos de phpPMS.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="dbhost" name="dbhost" type="text" class="mdl-textfield__input blue100"
|
||||
<input id="dbhost" name="dbhost" type="text" class="mdl-textfield__input fg-blue100"
|
||||
maxlength="255" value="localhost" required/>
|
||||
<label class="mdl-textfield__label" for="dbhost"><?php echo _('Servidor BBDD'); ?></label>
|
||||
</div>
|
||||
@@ -170,12 +197,12 @@ echo $import_tabIndex; ?>">
|
||||
<?php echo _('Confirmar'); ?>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<img src="imgs/warning.png" ALT="<?php echo _('Atención'); ?>" class="iconMini"/>
|
||||
<div class="icon material-icons fg-orange80">warning</div>
|
||||
<?php echo _('Los datos actuales serán borrados (excepto el usuario actual)'); ?>
|
||||
<br><br>
|
||||
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="chkmigrate">
|
||||
<input type="checkbox" id="chkmigrate" class="mdl-switch__input blue100" name="chkmigrate"/>
|
||||
<input type="checkbox" id="chkmigrate" class="mdl-switch__input fg-blue100" name="chkmigrate"/>
|
||||
<span class="mdl-switch__label"></span>
|
||||
</label>
|
||||
</td>
|
||||
@@ -202,5 +229,15 @@ echo $import_tabIndex; ?>">
|
||||
$("#help_import_button").click(function () {
|
||||
$("#help_import").dialog("open");
|
||||
});
|
||||
$(".sel-chosen-usergroup").chosen({
|
||||
placeholder_text_single: "<?php echo _('Seleccionar Grupo'); ?>",
|
||||
disable_search_threshold: 10,
|
||||
no_results_text: "<?php echo _('Sin resultados'); ?>"
|
||||
});
|
||||
$(".sel-chosen-user").chosen({
|
||||
placeholder_text_single: "<?php echo _('Seleccionar Usuario'); ?>",
|
||||
disable_search_threshold: 10,
|
||||
no_results_text: "<?php echo _('Sin resultados'); ?>"
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@@ -25,19 +25,19 @@
|
||||
<legend><?php echo _('Crear cuenta de admin de sysPass'); ?></legend>
|
||||
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="adminlogin" name="adminlogin" type="text" required class="mdl-textfield__input blue100"
|
||||
<input id="adminlogin" name="adminlogin" type="text" required class="mdl-textfield__input fg-blue100"
|
||||
value="<?php echo $adminlogin; ?>" maxlength="80" autocomplete="off" autofocus>
|
||||
<label class="mdl-textfield__label"
|
||||
for="adminlogin"><?php echo _('Usuario administrador de sysPass'); ?></label>
|
||||
</div>
|
||||
|
||||
<div id="help-login" class="icon material-icons blue80">help_outline</div>
|
||||
<div id="help-login" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip" for="help-login">
|
||||
<?php echo _('Login del usuario administrador de sysPass'); ?>
|
||||
</div>
|
||||
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="adminpass" name="adminpass" type="password" required class="mdl-textfield__input blue100"
|
||||
<input id="adminpass" name="adminpass" type="password" required class="mdl-textfield__input fg-blue100"
|
||||
value="<?php echo $adminpass; ?>" maxlength="255" autocomplete="off"
|
||||
onKeyUp="checkPassLevel(this.value,'adminaccount')">
|
||||
<label class="mdl-textfield__label"
|
||||
@@ -54,7 +54,7 @@
|
||||
<legend><?php echo _('Clave Maestra'); ?></legend>
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="masterpassword" name="masterpassword" type="password" required
|
||||
class="mdl-textfield__input blue100"
|
||||
class="mdl-textfield__input fg-blue100"
|
||||
value="<?php echo $masterpassword; ?>" maxlength="255" autocomplete="off"
|
||||
onKeyUp="checkPassLevel(this.value,'masterpwd')">
|
||||
<label class="mdl-textfield__label"
|
||||
@@ -67,7 +67,7 @@
|
||||
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="masterpasswordr" name="masterpasswordr" type="password" required
|
||||
class="mdl-textfield__input blue100"
|
||||
class="mdl-textfield__input fg-blue100"
|
||||
value="<?php echo $masterpasswordr; ?>" maxlength="255" autocomplete="off">
|
||||
<label class="mdl-textfield__label"
|
||||
for="masterpassword"><?php echo _('Clave (repetir)'); ?></label>
|
||||
@@ -81,19 +81,19 @@
|
||||
<input type="hidden" id="dbtype" name="dbtype" value="mysql"/>
|
||||
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="dbuser" name="dbuser" type="text" required class="mdl-textfield__input blue100"
|
||||
<input id="dbuser" name="dbuser" type="text" required class="mdl-textfield__input fg-blue100"
|
||||
value="<?php echo $dbuser; ?>" autocomplete="off" autofocus>
|
||||
<label class="mdl-textfield__label"
|
||||
for="dbuser"><?php echo _('Usuario acceso BBDD'); ?></label>
|
||||
</div>
|
||||
|
||||
<div id="help-dblogin" class="icon material-icons blue80">help_outline</div>
|
||||
<div id="help-dblogin" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip" for="help-dblogin">
|
||||
<?php echo _('Usuario con permisos de administrador de MySQL'); ?>
|
||||
</div>
|
||||
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="dbpass" name="dbpass" type="password" required class="mdl-textfield__input blue100"
|
||||
<input id="dbpass" name="dbpass" type="password" required class="mdl-textfield__input fg-blue100"
|
||||
value="<?php echo $dbpass; ?>" autocomplete="off" autofocus>
|
||||
<label class="mdl-textfield__label"
|
||||
for="dbpass"><?php echo _('Clave acceso BBDD'); ?></label>
|
||||
@@ -101,35 +101,35 @@
|
||||
<i class="showpass material-icons" title="<?php echo _('Mostrar Clave'); ?>">remove_red_eye</i>
|
||||
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="dbname" name="dbname" type="text" required class="mdl-textfield__input blue100"
|
||||
<input id="dbname" name="dbname" type="text" required class="mdl-textfield__input fg-blue100"
|
||||
value="<?php echo $dbname; ?>" autocomplete="off" autofocus pattern="[0-9a-zA-Z$_-]+">
|
||||
<label class="mdl-textfield__label"
|
||||
for="dbuser"><?php echo _('Nombre BBDD para sysPass'); ?></label>
|
||||
</div>
|
||||
|
||||
<div id="help-dbname" class="icon material-icons blue80">help_outline</div>
|
||||
<div id="help-dbname" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip" for="help-dbname">
|
||||
<?php echo _('Nombre de la base de datos para sysPass'); ?>
|
||||
</div>
|
||||
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="dbhost" name="dbhost" type="text" required class="mdl-textfield__input blue100"
|
||||
<input id="dbhost" name="dbhost" type="text" required class="mdl-textfield__input fg-blue100"
|
||||
value="<?php echo $dbhost; ?>" autocomplete="off" autofocus pattern="[0-9a-zA-Z$_-]+">
|
||||
<label class="mdl-textfield__label"
|
||||
for="dbhost"><?php echo _('Servidor BBDD para sysPass'); ?></label>
|
||||
</div>
|
||||
|
||||
<div id="help-dbhost" class="icon material-icons blue80">help_outline</div>
|
||||
<div id="help-dbhost" class="icon material-icons fg-blue80">help_outline</div>
|
||||
<div class="mdl-tooltip" for="help-dbhost">
|
||||
<?php echo _('Nombre del servidor para instalar la base de datos de sysPass'); ?>
|
||||
</div>
|
||||
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="hostingmode">
|
||||
<input type="checkbox" id="hostingmode" class="mdl-switch__input blue100"
|
||||
<input type="checkbox" id="hostingmode" class="mdl-switch__input fg-blue100"
|
||||
name="hostingmode" <?php echo ($hostingmode) ? 'checked' : ''; ?>/>
|
||||
<span class="mdl-switch__label"><?php echo _('Modo Hosting'); ?>
|
||||
|
||||
<div id="help-hostingmode" class="icon material-icons blue80">help_outline</div>
|
||||
<div id="help-hostingmode" class="icon material-icons fg-blue80">help_outline</div>
|
||||
</span>
|
||||
</label>
|
||||
|
||||
|
||||
@@ -20,9 +20,9 @@
|
||||
$(".showpass").each(function (index, input) {
|
||||
// Cross-browser compatibility
|
||||
$(this).on("mouseover", function () {
|
||||
$(this).data('powertip', function(){
|
||||
return $(this).prev().val()
|
||||
});
|
||||
var pass = $(this).prev().find('[type="password"]').val();
|
||||
|
||||
$(this).attr('title', pass);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -58,30 +58,39 @@
|
||||
|
||||
// Stick the #nav to the top of the window
|
||||
var nav = $('#actionsBar');
|
||||
var navHomeY = nav.offset().top;
|
||||
var isFixed = false;
|
||||
var navCssProps = {
|
||||
position: 'fixed',
|
||||
top: 0,
|
||||
left: nav.offset().left,
|
||||
width: nav.width(),
|
||||
padding: "1em 0",
|
||||
backgroundColor: 'rgba(220, 220, 220, .5)',
|
||||
borderBottom: '1px solid #ccc'
|
||||
}
|
||||
|
||||
$(window).scroll(function() {
|
||||
var scrollTop = $(this).scrollTop();
|
||||
var shouldBeFixed = scrollTop > navHomeY;
|
||||
var shouldBeFixed = scrollTop > nav.height();
|
||||
if (shouldBeFixed && !isFixed) {
|
||||
nav.css({
|
||||
position: 'fixed',
|
||||
top: 0,
|
||||
left: nav.offset().left,
|
||||
width: nav.width(),
|
||||
padding: ".5em 0",
|
||||
backgroundColor: 'rgba(220, 220, 220, .5)'
|
||||
});
|
||||
nav.css(navCssProps);
|
||||
isFixed = true;
|
||||
}
|
||||
else if (!shouldBeFixed && isFixed)
|
||||
{
|
||||
nav.css({
|
||||
backgroundColor: 'transparent'
|
||||
nav.animate({
|
||||
backgroundColor: 'transparent',
|
||||
border: '0'
|
||||
});
|
||||
isFixed = false;
|
||||
}
|
||||
});
|
||||
|
||||
$(document).ready(function(){
|
||||
// Detectar si al cargar la barra de iconos no está en la posición 0
|
||||
if(nav.offset().top > 0){
|
||||
nav.css(navCssProps)
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
@@ -49,13 +49,13 @@ jQuery.extend(jQuery.fancybox.defaults, {
|
||||
$(document).ready(function () {
|
||||
"use strict";
|
||||
|
||||
$("[title]").powerTip(powertipOptions);
|
||||
//$("[title]").powerTip(powertipOptions);
|
||||
setContentSize();
|
||||
setWindowAdjustSize();
|
||||
}).ajaxComplete(function () {
|
||||
"use strict";
|
||||
|
||||
$("[title]").powerTip(powertipOptions);
|
||||
//$("[title]").powerTip(powertipOptions);
|
||||
|
||||
// Actualizar componentes de MDL cargados con AJAX
|
||||
componentHandler.upgradeDom();
|
||||
@@ -831,8 +831,6 @@ function usrUpdPass(object, actionId, sk) {
|
||||
|
||||
var data = {'userId': userId, 'actionId': actionId, 'sk': sk, 'isAjax': 1};
|
||||
|
||||
$.fancybox.showLoading();
|
||||
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
cache: false,
|
||||
@@ -1118,7 +1116,7 @@ function outputResult(dstId) {
|
||||
complexity.attr('title', LANG[10]).addClass("strongest");
|
||||
}
|
||||
|
||||
$('.passLevel').powerTip(powertipOptions);
|
||||
//$('.passLevel').powerTip(powertipOptions);
|
||||
}
|
||||
|
||||
// Función para mostrar mensaje con alertify
|
||||
@@ -1161,7 +1159,13 @@ function resMsg(type, txt, url, action) {
|
||||
return alertify.error(txt);
|
||||
}
|
||||
|
||||
$.fancybox(html, {
|
||||
jQuery('#dialog').load(html).dialog('open').afterClose(function () {
|
||||
if (typeof action !== "undefined") {
|
||||
eval(action);
|
||||
}
|
||||
});
|
||||
|
||||
/* $.fancybox(html, {
|
||||
afterLoad: function () {
|
||||
$('.fancybox-skin,.fancybox-outer,.fancybox-inner').css({
|
||||
'border-radius': '25px',
|
||||
@@ -1173,7 +1177,7 @@ function resMsg(type, txt, url, action) {
|
||||
eval(action);
|
||||
}
|
||||
}
|
||||
});
|
||||
});*/
|
||||
}
|
||||
|
||||
// Función para comprobar la conexión con LDAP
|
||||
|
||||
2
inc/themes/material-blue/js/jquery.color-2.1.2.min.js
vendored
Normal file
@@ -24,6 +24,6 @@
|
||||
*/
|
||||
|
||||
$jsFilesTheme = array(
|
||||
array('href' => $themeUri . '/js/functions.js', 'min' => true),
|
||||
array('href' => $themeUri . '/js/material.min.js', 'min' => false)
|
||||
array('href' => \SP\Init::$THEMEPATH . '/js/functions.js', 'min' => true),
|
||||
array('href' => \SP\Init::$THEMEPATH . '/js/material.min.js', 'min' => false)
|
||||
);
|
||||
@@ -1,18 +1,20 @@
|
||||
<div id="boxLogin" class="round shadow">
|
||||
<div id="boxLogo"><img id="imgLogo" src="imgs/logo.png"/></div>
|
||||
<div id="boxLogo">
|
||||
<img id="imgLogo" src="<?php echo $logoMedium; ?>"/>
|
||||
</div>
|
||||
<div id="boxData">
|
||||
<form method="post" name="frmLogin" id="frmLogin" action="" OnSubmit="return doLogin();">
|
||||
<?php use SP\Html;
|
||||
|
||||
if ($demoEnabled): ?>
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="user" name="user" type="text" class="mdl-textfield__input blue100" maxlength="80"
|
||||
<input id="user" name="user" type="text" class="mdl-textfield__input fg-blue100" maxlength="80"
|
||||
title="> demo <">
|
||||
<label class="mdl-textfield__label"
|
||||
for="user"><?php echo _('Usuario'); ?></label>
|
||||
</div>
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="pass" name="pass" type="password" class="mdl-textfield__input blue100" maxlength="80"
|
||||
<input id="pass" name="pass" type="password" class="mdl-textfield__input fg-blue100" maxlength="80"
|
||||
title="> syspass <">
|
||||
<label class="mdl-textfield__label"
|
||||
for="pass"><?php echo _('Clave'); ?></label>
|
||||
@@ -20,7 +22,7 @@
|
||||
|
||||
<span id="smpass" style="display: none">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="mpass" name="mpass" type="password" class="mdl-textfield__input blue100"
|
||||
<input id="mpass" name="mpass" type="password" class="mdl-textfield__input fg-blue100"
|
||||
maxlength="80" title="> 1234567890 <">
|
||||
<label class="mdl-textfield__label"
|
||||
for="mpass"><?php echo _('Clave Maestra'); ?></label>
|
||||
@@ -28,13 +30,13 @@
|
||||
</span>
|
||||
<?php else: ?>
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="user" name="user" type="text" class="mdl-textfield__input blue100" maxlength="80"
|
||||
<input id="user" name="user" type="text" class="mdl-textfield__input fg-blue100" maxlength="80"
|
||||
autocomplete="off">
|
||||
<label class="mdl-textfield__label"
|
||||
for="user"><?php echo _('Usuario'); ?></label>
|
||||
</div>
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="pass" name="pass" type="password" class="mdl-textfield__input blue100" maxlength="80"
|
||||
<input id="pass" name="pass" type="password" class="mdl-textfield__input fg-blue100" maxlength="80"
|
||||
autocomplete="off">
|
||||
<label class="mdl-textfield__label"
|
||||
for="pass"><?php echo _('Clave'); ?></label>
|
||||
@@ -42,7 +44,7 @@
|
||||
|
||||
<span id="smpass" style="display: none">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="mpass" name="mpass" type="password" class="mdl-textfield__input blue100"
|
||||
<input id="mpass" name="mpass" type="password" class="mdl-textfield__input fg-blue100"
|
||||
maxlength="80" autocomplete="off">
|
||||
<label class="mdl-textfield__label"
|
||||
for="mpass"><?php echo _('Clave Maestra'); ?></label>
|
||||
|
||||
@@ -42,8 +42,9 @@
|
||||
<li class="cell-nodata" style="width: <?php echo $tab['props']['cellWidth']; ?>%;">
|
||||
<?php foreach ($rowSrc as $rowName => $imgProp): ?>
|
||||
<?php if ($item->$rowName): ?>
|
||||
<img src="imgs/<?php echo $imgProp['img_file']; ?>"
|
||||
title="<?php echo $imgProp['img_title']; ?>"/>
|
||||
<i class="material-icons" title="<?php echo $imgProp['img_title']; ?>">
|
||||
<?php echo $imgProp['icon']; ?>
|
||||
</i>
|
||||
<?php $action_check[$rowName] = 1; ?>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
@@ -58,8 +59,21 @@
|
||||
<li class="cell-actions round" style="width: <?php echo($numActions * 5 + 2); ?>%;">
|
||||
<?php foreach ($tab['props']['actions'] as $actionName => $action): ?>
|
||||
<?php if (isset($action['skip']) || ($action['id'] == \SP\Controller\ActionsInterface::ACTION_USR_USERS_EDITPASS && isset($action_check['user_isLdap']))): continue; endif; ?>
|
||||
<?php $i++; ?>
|
||||
<i class="material-icons blue80" title="<?php echo $action['title']; ?>"
|
||||
<?php
|
||||
$i++;
|
||||
|
||||
switch($actionName){
|
||||
case 'edit':
|
||||
$actionClass = 'fg-orange80';
|
||||
break;
|
||||
case 'del':
|
||||
$actionClass = 'fg-red80';
|
||||
break;
|
||||
default:
|
||||
$actionClass = 'fg-blue80';
|
||||
}
|
||||
?>
|
||||
<i class="material-icons <?php echo $actionClass; ?>" title="<?php echo $action['title']; ?>"
|
||||
data-itemid="<?php echo $itemId; ?>" data-activetab="<?php echo $index; ?>"
|
||||
data-nextactionid="<?php echo $actionId; ?>"
|
||||
Onclick="<?php echo $action['onclick'];; ?>;"><?php echo $action['icon']; ?></i>
|
||||
|
||||
@@ -14,21 +14,21 @@
|
||||
<?php if (!$passReset): ?>
|
||||
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="login" name="login" type="text" required class="mdl-textfield__input blue100"
|
||||
<input id="login" name="login" type="text" required class="mdl-textfield__input fg-blue100"
|
||||
value="<?php echo Util::init_var('login'); ?>" maxlength="80" autocomplete="off" autofocus>
|
||||
<label class="mdl-textfield__label"
|
||||
for="login"><?php echo _('Usuario'); ?></label>
|
||||
</div>
|
||||
<br>
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="email" name="email" type="email" required class="mdl-textfield__input blue100"
|
||||
<input id="email" name="email" type="email" required class="mdl-textfield__input fg-blue100"
|
||||
value="<?php echo Util::init_var('email'); ?>" maxlength="80" autocomplete="off">
|
||||
<label class="mdl-textfield__label"
|
||||
for="email"><?php echo _('Email del Usuario'); ?></label>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="pass" name="pass" type="password" required class="mdl-textfield__input blue100"
|
||||
<input id="pass" name="pass" type="password" required class="mdl-textfield__input fg-blue100"
|
||||
value="<?php echo Util::init_var('pass'); ?>" maxlength="255" autocomplete="off"
|
||||
onKeyUp="checkPassLevel(this.value)">
|
||||
<label class="mdl-textfield__label"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<td class="descField"><?php echo _('Nombre'); ?></td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="profile_name" name="profile_name" type="text" required class="mdl-textfield__input blue100"
|
||||
<input id="profile_name" name="profile_name" type="text" required class="mdl-textfield__input fg-blue100"
|
||||
value="<?php echo $profile->getName(); ?>" maxlength="50" <?php echo $isDisabled; ?>>
|
||||
<label class="mdl-textfield__label"
|
||||
for="profile_name"><?php echo _('Nombre del perfil'); ?></label>
|
||||
@@ -20,42 +20,42 @@
|
||||
<td class="valField checkbox">
|
||||
<div id="btnProfilesAcc" class="btn-checks round5">
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="profile_accadd">
|
||||
<input type="checkbox" id="profile_accadd" class="mdl-switch__input blue100"
|
||||
<input type="checkbox" id="profile_accadd" class="mdl-switch__input fg-blue100"
|
||||
name="profile_accadd" <?php echo ($profile->isAccAdd()) ? 'CHECKED' : ''; ?> <?php echo $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label" title="<?php echo _('Crear nueva cuenta'); ?>"><?php echo _('Crear'); ?></span>
|
||||
</label>
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="profile_accview">
|
||||
<input type="checkbox" id="profile_accview" class="mdl-switch__input blue100"
|
||||
<input type="checkbox" id="profile_accview" class="mdl-switch__input fg-blue100"
|
||||
name="profile_accview" <?php echo ($profile->isAccView()) ? 'CHECKED' : ''; ?> <?php echo $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label" title="<?php echo _('Ver detalles de cuenta'); ?>"><?php echo _('Ver'); ?></span>
|
||||
</label>
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="profile_accviewpass">
|
||||
<input type="checkbox" id="profile_accviewpass" class="mdl-switch__input blue100"
|
||||
<input type="checkbox" id="profile_accviewpass" class="mdl-switch__input fg-blue100"
|
||||
name="profile_accviewpass" <?php echo ($profile->isAccViewPass()) ? 'CHECKED' : ''; ?> <?php echo $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label" title="<?php echo _('Ver clave de cuenta'); ?>"><?php echo _('Ver Clave'); ?></span>
|
||||
</label>
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="profile_accviewhistory">
|
||||
<input type="checkbox" id="profile_accviewhistory" class="mdl-switch__input blue100"
|
||||
<input type="checkbox" id="profile_accviewhistory" class="mdl-switch__input fg-blue100"
|
||||
name="profile_accviewhistory" <?php echo ($profile->isAccViewHistory()) ? 'CHECKED' : ''; ?> <?php echo $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label" title="<?php echo _('Ver historial de cuenta'); ?>"><?php echo _('Ver Historial'); ?></span>
|
||||
</label>
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="profile_accedit">
|
||||
<input type="checkbox" id="profile_accedit" class="mdl-switch__input blue100"
|
||||
<input type="checkbox" id="profile_accedit" class="mdl-switch__input fg-blue100"
|
||||
name="profile_accedit" <?php echo ($profile->isAccEdit()) ? 'CHECKED' : ''; ?> <?php echo $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label" title="<?php echo _('Editar cuenta'); ?>"><?php echo _('Editar'); ?></span>
|
||||
</label>
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="profile_acceditpass">
|
||||
<input type="checkbox" id="profile_acceditpass" class="mdl-switch__input blue100"
|
||||
<input type="checkbox" id="profile_acceditpass" class="mdl-switch__input fg-blue100"
|
||||
name="profile_acceditpass" <?php echo ($profile->isAccEditPass()) ? 'CHECKED' : ''; ?> <?php echo $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label" title="<?php echo _('Editar clave de cuenta'); ?>"><?php echo _('Editar Clave'); ?></span>
|
||||
</label>
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="profile_accdel">
|
||||
<input type="checkbox" id="profile_accdel" class="mdl-switch__input blue100"
|
||||
<input type="checkbox" id="profile_accdel" class="mdl-switch__input fg-blue100"
|
||||
name="profile_accdel" <?php echo ($profile->isAccDelete()) ? 'CHECKED' : ''; ?> <?php echo $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label" title="<?php echo _('Eliminar cuenta'); ?>"><?php echo _('Eliminar'); ?></span>
|
||||
</label>
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="profile_accfiles">
|
||||
<input type="checkbox" id="profile_accfiles" class="mdl-switch__input blue100"
|
||||
<input type="checkbox" id="profile_accfiles" class="mdl-switch__input fg-blue100"
|
||||
name="profile_accfiles" <?php echo ($profile->isAccFiles()) ? 'CHECKED' : ''; ?> <?php echo $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label" title="<?php echo _('Var archivos de cuenta'); ?>"><?php echo _('Archivos'); ?></span>
|
||||
</label>
|
||||
@@ -67,22 +67,22 @@
|
||||
<td class="valField checkbox">
|
||||
<div id="btnProfilesConfig" class="btn-checks round5">
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="profile_config">
|
||||
<input type="checkbox" id="profile_config" class="mdl-switch__input blue100"
|
||||
<input type="checkbox" id="profile_config" class="mdl-switch__input fg-blue100"
|
||||
name="profile_config" <?php echo ($profile->isConfigGeneral()) ? 'CHECKED' : ''; ?> <?php echo $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label" title="<?php echo _('Configuración general'); ?>"><?php echo _('General'); ?></span>
|
||||
</label>
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="profile_configmpw">
|
||||
<input type="checkbox" id="profile_configmpw" class="mdl-switch__input blue100"
|
||||
<input type="checkbox" id="profile_configmpw" class="mdl-switch__input fg-blue100"
|
||||
name="profile_configmpw" <?php echo ($profile->isConfigEncryption()) ? 'CHECKED' : ''; ?> <?php echo $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label" title="<?php echo _('Opciones de encriptación'); ?>"><?php echo _('Encriptación'); ?></span>
|
||||
</label>
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="profile_configback">
|
||||
<input type="checkbox" id="profile_configback" class="mdl-switch__input blue100"
|
||||
<input type="checkbox" id="profile_configback" class="mdl-switch__input fg-blue100"
|
||||
name="profile_configback" <?php echo ($profile->isConfigBackup()) ? 'CHECKED' : ''; ?> <?php echo $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label" title="<?php echo _('Realizar copia de seguridad y exportar'); ?>"><?php echo _('Backup'); ?></span>
|
||||
</label>
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="profile_configimport">
|
||||
<input type="checkbox" id="profile_configimport" class="mdl-switch__input blue100"
|
||||
<input type="checkbox" id="profile_configimport" class="mdl-switch__input fg-blue100"
|
||||
name="profile_configimport" <?php echo ($profile->isConfigImport()) ? 'CHECKED' : ''; ?> <?php echo $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label" title="<?php echo _('Realizar importación de cuentas'); ?>"><?php echo _('Importar'); ?></span>
|
||||
</label>
|
||||
@@ -94,27 +94,27 @@
|
||||
<td class="valField checkbox">
|
||||
<div id="btnProfilesUsers" class="btn-checks round5">
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="profile_users">
|
||||
<input type="checkbox" id="profile_users" class="mdl-switch__input blue100"
|
||||
<input type="checkbox" id="profile_users" class="mdl-switch__input fg-blue100"
|
||||
name="profile_users" <?php echo ($profile->isMgmUsers()) ? 'CHECKED' : ''; ?> <?php echo $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label" title="<?php echo _('Gestión de usuarios'); ?>"><?php echo _('Usuarios'); ?></span>
|
||||
</label>
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="profile_groups">
|
||||
<input type="checkbox" id="profile_groups" class="mdl-switch__input blue100"
|
||||
<input type="checkbox" id="profile_groups" class="mdl-switch__input fg-blue100"
|
||||
name="profile_groups" <?php echo ($profile->isMgmGroups()) ? 'CHECKED' : ''; ?> <?php echo $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label" title="<?php echo _('Gestión de grupos'); ?>"><?php echo _('Grupos'); ?></span>
|
||||
</label>
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="profile_profiles">
|
||||
<input type="checkbox" id="profile_profiles" class="mdl-switch__input blue100"
|
||||
<input type="checkbox" id="profile_profiles" class="mdl-switch__input fg-blue100"
|
||||
name="profile_profiles" <?php echo ($profile->isMgmProfiles()) ? 'CHECKED' : ''; ?> <?php echo $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label" title="<?php echo _('Gestión de perfiles'); ?>"><?php echo _('Perfiles'); ?></span>
|
||||
</label>
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="profile_categories">
|
||||
<input type="checkbox" id="profile_categories" class="mdl-switch__input blue100"
|
||||
<input type="checkbox" id="profile_categories" class="mdl-switch__input fg-blue100"
|
||||
name="profile_categories" <?php echo ($profile->isMgmCategories()) ? 'CHECKED' : ''; ?> <?php echo $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label" title="<?php echo _('Gestión de categorías'); ?>"><?php echo _('Categorías'); ?></span>
|
||||
</label>
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="profile_customers">
|
||||
<input type="checkbox" id="profile_customers" class="mdl-switch__input blue100"
|
||||
<input type="checkbox" id="profile_customers" class="mdl-switch__input fg-blue100"
|
||||
name="profile_customers" <?php echo ($profile->isMgmCustomers()) ? 'CHECKED' : ''; ?> <?php echo $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label" title="<?php echo _('Gestión de clientes'); ?>"><?php echo _('Clientes'); ?></span>
|
||||
</label>
|
||||
@@ -126,7 +126,7 @@
|
||||
<td class="valField checkbox">
|
||||
<div id="btnProfilesOthers" class="btn-checks round5">
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="profile_eventlog">
|
||||
<input type="checkbox" id="profile_eventlog" class="mdl-switch__input blue100"
|
||||
<input type="checkbox" id="profile_eventlog" class="mdl-switch__input fg-blue100"
|
||||
name="profile_eventlog" <?php echo ($profile->isEvl()) ? 'CHECKED' : ''; ?> <?php echo $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label" title="<?php echo _('Ver log de eventos'); ?>"><?php echo _('Log de Eventos'); ?></span>
|
||||
</label>
|
||||
|
||||
@@ -102,14 +102,14 @@
|
||||
<div class="account-actions round">
|
||||
|
||||
<?php if ($account['showView']): ?>
|
||||
<i class="material-icons blue80" title="<?php echo _('Detalles de Cuenta'); ?>"
|
||||
<i class="material-icons fg-blue80" title="<?php echo _('Detalles de Cuenta'); ?>"
|
||||
OnClick="doAction(<?php echo \SP\Controller\ActionsInterface::ACTION_ACC_VIEW; ?>,<?php echo \SP\Controller\ActionsInterface::ACTION_ACC_SEARCH; ?>,<?php echo $account['id']; ?>)">visibility</i>
|
||||
<?php endif ?>
|
||||
|
||||
<?php if ($account['showViewPass']): ?>
|
||||
<i id="viewpass" class="material-icons blue80" title="<?php echo _('Ver Clave'); ?>"
|
||||
<i id="viewpass" class="material-icons fg-blue80" title="<?php echo _('Ver Clave'); ?>"
|
||||
onClick="viewPass(<?php echo $account['id']; ?>, 1)">lock_open</i>
|
||||
<i id="clipboard" class="material-icons blue80 actions-optional clip-pass-button"
|
||||
<i id="clipboard" class="material-icons fg-blue80 actions-optional clip-pass-button"
|
||||
data-clipboard-target="clip-pass-text"
|
||||
title="<?php echo _('Copiar Clave en Portapapeles'); ?>"
|
||||
onmousedown="viewPass(<?php echo $account['id']; ?>, false)">content_paste</i>
|
||||
@@ -121,19 +121,19 @@
|
||||
<?php endif ?>
|
||||
|
||||
<?php if ($account['showEdit']): ?>
|
||||
<i class="material-icons blue80 actions-optional"
|
||||
<i class="material-icons fg-orange80 actions-optional"
|
||||
title="<?php echo _('Modificar Cuenta'); ?>"
|
||||
OnClick="doAction(<?php echo \SP\Controller\ActionsInterface::ACTION_ACC_EDIT; ?>,<?php echo \SP\Controller\ActionsInterface::ACTION_ACC_SEARCH; ?>,<?php echo $account['id']; ?>)">mode_edit</i>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($account['showCopy']): ?>
|
||||
<i class="material-icons blue80 actions-optional"
|
||||
<i class="material-icons fg-blue80 actions-optional"
|
||||
title="<?php echo _('Copiar Cuenta'); ?>"
|
||||
OnClick="doAction(<?php echo \SP\Controller\ActionsInterface::ACTION_ACC_COPY; ?>,<?php echo \SP\Controller\ActionsInterface::ACTION_ACC_SEARCH; ?>,<?php echo $account['id']; ?>)">content_copy</i>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($account['showDel']): ?>
|
||||
<i class="material-icons blue80 actions-optional"
|
||||
<i class="material-icons fg-red80 actions-optional"
|
||||
title="<?php echo _('Eliminar Cuenta'); ?>"
|
||||
OnClick="doAction(<?php echo \SP\Controller\ActionsInterface::ACTION_ACC_DELETE; ?>,<?php echo \SP\Controller\ActionsInterface::ACTION_ACC_SEARCH; ?>,<?php echo $account['id']; ?>)">delete</i>
|
||||
<?php endif; ?>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<td id="toolsLeft">
|
||||
<i id="btnClear" class="material-icons" title="<?php echo _('Limpiar'); ?>">clear_all</i>
|
||||
<div class="mdl-textfield mdl-js-textfield">
|
||||
<input class="mdl-textfield__input blue100" type="text" id="txtSearch"
|
||||
<input class="mdl-textfield__input fg-blue100" type="text" id="txtSearch"
|
||||
name="search" value="<?php echo $searchTxt; ?>"/>
|
||||
<label class="mdl-textfield__label" for="txtSearch"><?php echo _('Texto a buscar'); ?></label>
|
||||
</div>
|
||||
@@ -33,7 +33,7 @@
|
||||
</select>
|
||||
</td>
|
||||
<td id="toolsRight">
|
||||
<input type="text" name="rpp" id="rpp" placeholder="<?php echo _('CPP'); ?>" title="<?php echo _('Cuentas por página'); ?>" value="<?php echo $limitCount; ?>"/>
|
||||
<input type="number" name="rpp" id="rpp" min="3" step="6" pattern="" placeholder="<?php echo _('CPP'); ?>" title="<?php echo _('Cuentas por página'); ?>" value="<?php echo $limitCount; ?>"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -43,13 +43,10 @@
|
||||
mkChosen({id: 'selCategory', placeholder: '<?php echo _('Seleccionar Categoría'); ?>', noresults: '<?php echo _('Sin resultados'); ?>' });
|
||||
|
||||
$('#frmSearch select').on('change', function(e){clearSearch(1); accSearch(0)});
|
||||
|
||||
$("#rpp").spinner({step: 3, max: 50, min: 6, numberFormat: "n", stop: function(event, ui) {
|
||||
accSearch(0);
|
||||
}});
|
||||
$('#frmSearch input:text:visible:first').focus();
|
||||
$('#frmSearch #txtSearch').keyup(function(e){accSearch(1,e)});
|
||||
$('#frmSearch #btnClear').click(function(e){clearSearch(); accSearch(0);})
|
||||
$('#frmSearch input:text:visible:first').focus();
|
||||
$('#frmSearch #txtSearch').on('keyup', function(e){accSearch(1,e)});
|
||||
$('#frmSearch #rpp').on('change', function(){accSearch(0);})
|
||||
|
||||
<?php if ( $showGlobalSearch ): ?>
|
||||
$('#tblTools').find('.checkbox').button().click(
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<legend><?php echo _('Actualización de BBDD'); ?></legend>
|
||||
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="h" name="h" type="text" required class="mdl-textfield__input blue100"
|
||||
<input id="h" name="h" type="text" required class="mdl-textfield__input fg-blue100"
|
||||
autocomplete="off" autofocus>
|
||||
<label class="mdl-textfield__label"
|
||||
for="h"><?php echo _('Código de Seguridad'); ?></label>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<td class="valField">
|
||||
<?php if (!$isView): ?>
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="name" name="name" type="text" required class="mdl-textfield__input blue100"
|
||||
<input id="name" name="name" type="text" required class="mdl-textfield__input fg-blue100"
|
||||
value="<?php echo $user["user_name"]; ?>" maxlength="80">
|
||||
<label class="mdl-textfield__label"
|
||||
for="name"><?php echo _('Nombre de usuario completo'); ?></label>
|
||||
@@ -25,7 +25,7 @@
|
||||
<td class="valField">
|
||||
<?php if (!$isView): ?>
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="login" name="login" type="text" required class="mdl-textfield__input blue100"
|
||||
<input id="login" name="login" type="text" required class="mdl-textfield__input fg-blue100"
|
||||
value="<?php echo $user["user_login"]; ?>" maxlength="80" <?php echo $ro; ?>>
|
||||
<label class="mdl-textfield__label"
|
||||
for="login"><?php echo _('Login de inicio de sesión'); ?></label>
|
||||
@@ -70,7 +70,7 @@
|
||||
<td class="valField">
|
||||
<?php if (!$isView): ?>
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="email" name="email" type="email" required class="mdl-textfield__input blue100"
|
||||
<input id="email" name="email" type="email" required class="mdl-textfield__input fg-blue100"
|
||||
value="<?php echo $user["user_email"]; ?>" maxlength="50">
|
||||
<label class="mdl-textfield__label"
|
||||
for="email"><?php echo _('Dirección de correo'); ?></label>
|
||||
@@ -87,7 +87,7 @@
|
||||
<td class="descField"><?php echo _('Clave'); ?></td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="pass" name="pass" type="password" required class="mdl-textfield__input blue100"
|
||||
<input id="pass" name="pass" type="password" required class="mdl-textfield__input fg-blue100"
|
||||
maxlength="50" OnFocus="$('#passLevel').show();
|
||||
$('#resFancyAccion').hide();" OnKeyUp="checkPassLevel(this.value)">
|
||||
<label class="mdl-textfield__label"
|
||||
@@ -102,7 +102,7 @@
|
||||
<td class="descField"><?php echo _('Clave (repetir)'); ?></td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="passv" name="passv" type="password" required class="mdl-textfield__input blue100"
|
||||
<input id="passv" name="passv" type="password" required class="mdl-textfield__input fg-blue100"
|
||||
maxlength="50">
|
||||
<label class="mdl-textfield__label"
|
||||
for="passv"><?php echo _('Clave (repetir)'); ?></label>
|
||||
@@ -134,26 +134,26 @@
|
||||
<div id="btnUserOptions" class="btn-checks round5">
|
||||
<?php if (\SP\Session::getUserIsAdminApp() || $isDemo): ?>
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="adminapp" title="<?php echo _('Administrador de la aplicación'); ?>">
|
||||
<input type="checkbox" id="adminapp" class="mdl-switch__input blue100"
|
||||
<input type="checkbox" id="adminapp" class="mdl-switch__input fg-blue100"
|
||||
name="adminapp" <?php echo $user['checks']['user_isAdminApp'] . ' ' . $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label"><?php echo _('Admin. Aplicación'); ?></span>
|
||||
</label>
|
||||
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="adminacc" title="<?php echo _('Administrador de cuentas'); ?>">
|
||||
<input type="checkbox" id="adminacc" class="mdl-switch__input blue100"
|
||||
<input type="checkbox" id="adminacc" class="mdl-switch__input fg-blue100"
|
||||
name="adminacc" <?php echo $user['checks']['user_isAdminAcc'] . ' ' . $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label"><?php echo _('Admin. Cuentas'); ?></span>
|
||||
</label>
|
||||
<?php endif; ?>
|
||||
<br>
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="disabled" title="<?php echo _('Deshabilitado'); ?>">
|
||||
<input type="checkbox" id="disabled" class="mdl-switch__input blue100"
|
||||
<input type="checkbox" id="disabled" class="mdl-switch__input fg-blue100"
|
||||
name="disabled" <?php echo $user['checks']['user_isDisabled'] . ' ' . $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label"><?php echo _('Deshabilitado'); ?></span>
|
||||
</label>
|
||||
|
||||
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="changepass" title="<?php echo _('Forzar cambio de clave'); ?>">
|
||||
<input type="checkbox" id="changepass" class="mdl-switch__input blue100"
|
||||
<input type="checkbox" id="changepass" class="mdl-switch__input fg-blue100"
|
||||
name="changepass" <?php echo $user['checks']['user_isChangePass'] . ' ' . $isDisabled; ?>/>
|
||||
<span class="mdl-switch__label"><?php echo _('Cambio de Clave'); ?></span>
|
||||
</label>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<td class="descField"><?php echo _('Clave'); ?></td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="pass" name="pass" type="password" required class="mdl-textfield__input blue100"
|
||||
<input id="pass" name="pass" type="password" required class="mdl-textfield__input fg-blue100"
|
||||
maxlength="50" OnFocus="$('#passLevel').show();
|
||||
$('#resFancyAccion').hide();" OnKeyUp="checkPassLevel(this.value)">
|
||||
<label class="mdl-textfield__label"
|
||||
@@ -23,7 +23,7 @@
|
||||
<td class="descField"><?php echo _('Clave (repetir)'); ?></td>
|
||||
<td class="valField">
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
||||
<input id="passv" name="passv" type="password" required class="mdl-textfield__input blue100"
|
||||
<input id="passv" name="passv" type="password" required class="mdl-textfield__input fg-blue100"
|
||||
maxlength="50">
|
||||
<label class="mdl-textfield__label"
|
||||
for="passv"><?php echo _('Clave (repetir)'); ?></label>
|
||||
|
||||
16
js/jquery-ui.min.js
vendored
@@ -27,7 +27,7 @@ define('APP_ROOT', '..');
|
||||
|
||||
require_once APP_ROOT . DIRECTORY_SEPARATOR . 'inc' . DIRECTORY_SEPARATOR . 'Base.php';
|
||||
|
||||
$themeJsPath = VIEW_PATH . DIRECTORY_SEPARATOR . $theme . DIRECTORY_SEPARATOR . 'js' . DIRECTORY_SEPARATOR . 'js.php';
|
||||
$themeJsPath = VIEW_PATH . DIRECTORY_SEPARATOR . \SP\Init::$THEME . DIRECTORY_SEPARATOR . 'js' . DIRECTORY_SEPARATOR . 'js.php';
|
||||
|
||||
$jsFilesBase = array(
|
||||
array('href' => 'js/jquery-1.11.2.min.js', 'min' => false),
|
||||
|
||||
@@ -142,7 +142,7 @@ class AccountC extends Controller implements ActionsInterface
|
||||
$this->view->addTemplate('account');
|
||||
$this->view->assign('title',
|
||||
array(
|
||||
'class' => 'titleBlue',
|
||||
'class' => 'titleGreen',
|
||||
'name' => _('Nueva Cuenta'),
|
||||
'icon' => 'add'
|
||||
)
|
||||
@@ -253,7 +253,7 @@ class AccountC extends Controller implements ActionsInterface
|
||||
$this->view->addTemplate('account');
|
||||
$this->view->assign('title',
|
||||
array(
|
||||
'class' => 'titleBlue',
|
||||
'class' => 'titleGreen',
|
||||
'name' => _('Copiar Cuenta'),
|
||||
'icon' => 'content_copy'
|
||||
)
|
||||
@@ -317,7 +317,7 @@ class AccountC extends Controller implements ActionsInterface
|
||||
$this->view->addTemplate('account');
|
||||
$this->view->assign('title',
|
||||
array(
|
||||
'class' => 'titleBlue',
|
||||
'class' => 'titleOrange',
|
||||
'name' => _('Editar Cuenta'),
|
||||
'icon' => 'mode_edit'
|
||||
)
|
||||
@@ -346,7 +346,7 @@ class AccountC extends Controller implements ActionsInterface
|
||||
$this->view->addTemplate('account');
|
||||
$this->view->assign('title',
|
||||
array(
|
||||
'class' => 'titleBlue',
|
||||
'class' => 'titleRed',
|
||||
'name' => _('Eliminar Cuenta'),
|
||||
'icon' => 'delete'
|
||||
)
|
||||
@@ -374,7 +374,7 @@ class AccountC extends Controller implements ActionsInterface
|
||||
$this->view->addTemplate('account');
|
||||
$this->view->assign('title',
|
||||
array(
|
||||
'class' => 'titleBlue',
|
||||
'class' => 'titleNormal',
|
||||
'name' => _('Detalles de Cuenta'),
|
||||
'icon' => 'visibility'
|
||||
)
|
||||
@@ -405,7 +405,7 @@ class AccountC extends Controller implements ActionsInterface
|
||||
$this->view->addTemplate('account');
|
||||
$this->view->assign('title',
|
||||
array(
|
||||
'class' => 'titleBlue',
|
||||
'class' => 'titleNormal',
|
||||
'name' => _('Detalles de Cuenta'),
|
||||
'icon' => 'access_time'
|
||||
)
|
||||
@@ -462,7 +462,7 @@ class AccountC extends Controller implements ActionsInterface
|
||||
$this->view->addTemplate('editpass');
|
||||
$this->view->assign('title',
|
||||
array(
|
||||
'class' => 'titleBlue',
|
||||
'class' => 'titleOrange',
|
||||
'name' => _('Modificar Clave de Cuenta'),
|
||||
'icon' => 'mode_edit'
|
||||
)
|
||||
|
||||
@@ -59,6 +59,8 @@ class MainC extends Controller implements ActionsInterface
|
||||
$this->view->assign('startTime', microtime());
|
||||
$this->view->assign('page', $page);
|
||||
$this->view->assign('loggedIn', \SP\Init::isLoggedIn());
|
||||
$this->view->assign('logoMedium', Init::$THEMEURI . '/imgs/logo.png');
|
||||
$this->view->assign('logo', Init::$THEMEURI . '/imgs/logo_full.png');
|
||||
|
||||
$this->getHeader();
|
||||
$this->setHeaders();
|
||||
@@ -74,7 +76,6 @@ class MainC extends Controller implements ActionsInterface
|
||||
|
||||
$this->view->assign('cssLink', Init::$WEBROOT . '/css/css.php?v=' . $cssVersionHash);
|
||||
$this->view->assign('jsLink', Init::$WEBROOT . '/js/js.php?v=' . $jsVersionHash);
|
||||
$this->view->assign('logo', Init::$WEBROOT . '/imgs/logo.png');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -273,7 +274,6 @@ class MainC extends Controller implements ActionsInterface
|
||||
$this->view->addTemplate('footer');
|
||||
|
||||
$this->view->assign('showLogo', $showLogo);
|
||||
$this->view->assign('logo', Init::$WEBROOT . '/imgs/logo_full.png');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -287,12 +287,10 @@ class MainC extends Controller implements ActionsInterface
|
||||
$this->view->assign('action', Request::analyze('a'));
|
||||
$this->view->assign('hash', Request::analyze('h'));
|
||||
$this->view->assign('time', Request::analyze('t'));
|
||||
$this->view->assign('logo', Init::$WEBROOT . '/imgs/logo_full.png');
|
||||
|
||||
$this->view->assign('passReset', ($this->view->action === 'passreset' && $this->view->hash && $this->view->time));
|
||||
} else {
|
||||
$this->view->assign('showLogo', true);
|
||||
$this->view->assign('logo', Init::$WEBROOT . '/imgs/logo_full.png');
|
||||
|
||||
$this->showError(self::ERR_UNAVAILABLE, false);
|
||||
}
|
||||
@@ -311,6 +309,5 @@ class MainC extends Controller implements ActionsInterface
|
||||
$this->view->assign('action', Request::analyze('a'));
|
||||
$this->view->assign('time', Request::analyze('t'));
|
||||
$this->view->assign('upgrade', $this->view->action === 'upgrade');
|
||||
$this->view->assign('logo', Init::$WEBROOT . '/imgs/logo_full.png');
|
||||
}
|
||||
}
|
||||
@@ -84,16 +84,20 @@ class UsersMgmtC extends Controller implements ActionsInterface
|
||||
'images' => array(
|
||||
'user_isAdminApp' => array(
|
||||
'img_file' => 'check_blue.png',
|
||||
'img_title' => _('Admin Aplicación')),
|
||||
'img_title' => _('Admin Aplicación'),
|
||||
'icon' => 'star'),
|
||||
'user_isAdminAcc' => array(
|
||||
'img_file' => 'check_orange.png',
|
||||
'img_title' => _('Admin Cuentas')),
|
||||
'img_title' => _('Admin Cuentas'),
|
||||
'icon' => 'star_half'),
|
||||
'user_isLdap' => array(
|
||||
'img_file' => 'ldap.png',
|
||||
'img_title' => _('Usuario de LDAP')),
|
||||
'img_title' => _('Usuario de LDAP'),
|
||||
'icon' => 'business'),
|
||||
'user_isDisabled' => array(
|
||||
'img_file' => 'disabled.png',
|
||||
'img_title' => _('Deshabilitado'))
|
||||
'img_title' => _('Deshabilitado'),
|
||||
'icon' => 'error')
|
||||
)
|
||||
),
|
||||
'tblRowSrcId' => 'user_id',
|
||||
|
||||