Commit 828efe88 authored by JULIO JARAMILLO's avatar JULIO JARAMILLO

subida

parent ce69d95b
table.detail-view .null
{
color: pink;
}
table.detail-view
{
background: white;
border-collapse: collapse;
width: 100%;
margin: 0;
}
table.detail-view th, table.detail-view td
{
font-size: 0.9em;
border: 1px white solid;
padding: 0.3em 0.6em;
vertical-align: top;
}
table.detail-view th
{
text-align: right;
width: 160px;
}
table.detail-view tr.odd
{
background:#E5F1F4;
}
table.detail-view tr.even
{
background:#F8F8F8;
}
table.detail-view tr.odd th
{
}
table.detail-view tr.even th
{
}
This diff is collapsed.
.grid-view-loading
{
background:url(loading.gif) no-repeat;
}
.grid-view
{
padding: 15px 0;
}
.grid-view table.items
{
background: white;
border-collapse: collapse;
width: 100%;
border: 1px #D0E3EF solid;
}
.grid-view table.items th, .grid-view table.items td
{
font-size: 0.9em;
border: 1px white solid;
padding: 0.3em;
}
.grid-view table.items th
{
color: white;
background: url("bg.gif") repeat-x scroll left top white;
text-align: center;
}
.grid-view table.items th a
{
color: #EEE;
font-weight: bold;
text-decoration: none;
}
.grid-view table.items th a:hover
{
color: #FFF;
}
.grid-view table.items th a.asc
{
background:url(up.gif) right center no-repeat;
padding-right: 10px;
}
.grid-view table.items th a.desc
{
background:url(down.gif) right center no-repeat;
padding-right: 10px;
}
.grid-view table.items tr.even
{
background: #F8F8F8;
}
.grid-view table.items tr.odd
{
background: #E5F1F4;
}
.grid-view table.items tr.selected
{
background: #BCE774;
}
.grid-view table.items tr:hover.selected
{
background: #CCFF66;
}
.grid-view table.items tbody tr:hover
{
background: #ECFBD4;
}
.grid-view .link-column img
{
border: 0;
}
.grid-view .button-column
{
text-align: center;
width: 60px;
}
.grid-view .button-column img
{
border: 0;
}
.grid-view .checkbox-column
{
width: 15px;
}
.grid-view .summary
{
margin: 0 0 5px 0;
text-align: right;
}
.grid-view .pager
{
margin: 5px 0 0 0;
text-align: right;
}
.grid-view .empty
{
font-style: italic;
}
.grid-view .filters input,
.grid-view .filters select
{
width: 100%;
border: 1px solid #ccc;
}
\ No newline at end of file
/**
* jQuery Yii ListView plugin file.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @link http://www.yiiframework.com/
* @copyright 2008-2010 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
;(function($) {
var yiiXHR = {};
/**
* yiiListView set function.
* @param options map settings for the list view. Availablel options are as follows:
* - ajaxUpdate: array, IDs of the containers whose content may be updated by ajax response
* - ajaxVar: string, the name of the request variable indicating the ID of the element triggering the AJAX request
* - ajaxType: string, the type (GET or POST) of the AJAX request
* - pagerClass: string, the CSS class for the pager container
* - sorterClass: string, the CSS class for the sorter container
* - updateSelector: string, the selector for choosing which elements can trigger ajax requests
* - beforeAjaxUpdate: function, the function to be called before ajax request is sent
* - afterAjaxUpdate: function, the function to be called after ajax response is received
*/
$.fn.yiiListView = function(options) {
return this.each(function(){
var settings = $.extend({}, $.fn.yiiListView.defaults, options || {}),
$this = $(this),
id = $this.attr('id');
if(settings.updateSelector == undefined) {
settings.updateSelector = '#'+id+' .'+settings.pagerClass.replace(/\s+/g,'.')+' a, #'+id+' .'+settings.sorterClass.replace(/\s+/g,'.')+' a';
}
$.fn.yiiListView.settings[id] = settings;
if(settings.ajaxUpdate.length > 0) {
$(document).on('click.yiiListView', settings.updateSelector,function(){
if(settings.enableHistory && window.History.enabled) {
var href = $(this).attr('href');
if(href){
var url = href.split('?'),
params = $.deparam.querystring('?'+ (url[1] || ''));
delete params[settings.ajaxVar];
var updateUrl = $.param.querystring(url[0], params);
window.History.pushState({url: updateUrl}, document.title, updateUrl);
}
} else {
$.fn.yiiListView.update(id, {url: $(this).attr('href')});
}
return false;
});
if(settings.enableHistory && window.History.enabled) {
$(window).bind('statechange', function() { // Note: We are using statechange instead of popstate
var State = window.History.getState(); // Note: We are using History.getState() instead of event.state
if (State.data.url === undefined) {
State.data.url = State.url;
}
$.fn.yiiListView.update(id, State.data);
});
}
}
});
};
$.fn.yiiListView.defaults = {
ajaxUpdate: [],
ajaxVar: 'ajax',
ajaxType: 'GET',
pagerClass: 'pager',
loadingClass: 'loading',
sorterClass: 'sorter'
// updateSelector: '#id .pager a, '#id .sort a',
// beforeAjaxUpdate: function(id) {},
// afterAjaxUpdate: function(id, data) {},
// url: 'ajax request URL'
};
$.fn.yiiListView.settings = {};
/**
* Returns the key value for the specified row
* @param id string the ID of the list view container
* @param index integer the zero-based index of the data item
* @return string the key value
*/
$.fn.yiiListView.getKey = function(id, index) {
return $('#'+id+' > div.keys > span:eq('+index+')').text();
};
/**
* Returns the URL that generates the list view content.
* @param id string the ID of the list view container
* @return string the URL that generates the list view content.
*/
$.fn.yiiListView.getUrl = function(id) {
var settings = $.fn.yiiListView.settings[id];
return settings.url || $('#'+id+' > div.keys').attr('title');
};
/**
* Performs an AJAX-based update of the list view contents.
* @param id string the ID of the list view container
* @param options map the AJAX request options (see jQuery.ajax API manual). By default,
* the URL to be requested is the one that generates the current content of the list view.
*/
$.fn.yiiListView.update = function(id, options) {
var customError,
settings = $.fn.yiiListView.settings[id];
if (options && options.error !== undefined) {
customError = options.error;
delete options.error;
}
options = $.extend({
type: settings.ajaxType,
url: $.fn.yiiListView.getUrl(id),
success: function(data,status) {
$.each(settings.ajaxUpdate, function(i,v) {
var id='#'+v;
$(id).replaceWith($(id,'<div>'+data+'</div>'));
});
if(settings.afterAjaxUpdate != undefined)
settings.afterAjaxUpdate(id, data);
},
complete: function() {
$('#'+id).removeClass(settings.loadingClass);
yiiXHR[id] = null;
},
error: function(XHR, textStatus, errorThrown) {
var ret, err;
if (XHR.readyState === 0 || XHR.status === 0) {
return;
}
if (customError !== undefined) {
ret = customError(XHR);
if (ret !== undefined && !ret) {
return;
}
}
switch (textStatus) {
case 'timeout':
err = 'The request timed out!';
break;
case 'parsererror':
err = 'Parser error!';
break;
case 'error':
if (XHR.status && !/^\s*$/.test(XHR.status)) {
err = 'Error ' + XHR.status;
} else {
err = 'Error';
}
if (XHR.responseText && !/^\s*$/.test(XHR.responseText)) {
err = err + ': ' + XHR.responseText;
}
break;
}
if (settings.ajaxUpdateError !== undefined) {
settings.ajaxUpdateError(XHR, textStatus, errorThrown, err, id);
} else if (err) {
alert(err);
}
}
}, options || {});
if(options.data!=undefined && options.type=='GET') {
options.url = $.param.querystring(options.url, options.data);
options.data = {};
}
if(settings.ajaxVar)
options.url = $.param.querystring(options.url, settings.ajaxVar+'='+id);
if(yiiXHR[id] != null) {
yiiXHR[id].abort();
}
$('#'+id).addClass(settings.loadingClass);
if(settings.beforeAjaxUpdate != undefined)
settings.beforeAjaxUpdate(id, options);
yiiXHR[id] = $.ajax(options);
};
})(jQuery);
.list-view-loading
{
background:url(loading.gif) no-repeat;
}
.list-view .summary
{
margin: 0 0 5px 0;
text-align: right;
}
.list-view .sorter
{
margin: 0 0 5px 0;
text-align: right;
}
.list-view .pager
{
margin: 5px 0 0 0;
text-align: right;
}
.list-view .sorter
{
font-size: 0.9em;
}
.list-view .sorter ul
{
display: inline;
list-style-image:none;
list-style-position:outside;
list-style-type:none;
margin:0;
padding:0;
}
.list-view .sorter li
{
display: inline;
margin: 0 0 0 5px;
padding: 0;
}
.list-view .sorter a.asc
{
background:url(up.gif) right center no-repeat;
padding-right: 10px;
}
.list-view .sorter a.desc
{
background:url(down.gif) right center no-repeat;
padding-right: 10px;
}
/**
* CSS styles for CLinkPager.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @link http://www.yiiframework.com/
* @copyright 2008-2010 Yii Software LLC
* @license http://www.yiiframework.com/license/
* @since 1.0
*/
ul.yiiPager
{
font-size:11px;
border:0;
margin:0;
padding:0;
line-height:100%;
display:inline;
}
ul.yiiPager li
{
display:inline;
}
ul.yiiPager a:link,
ul.yiiPager a:visited
{
border:solid 1px #9aafe5;
font-weight:bold;
color:#0e509e;
padding:1px 6px;
text-decoration:none;
}
ul.yiiPager .page a
{
font-weight:normal;
}
ul.yiiPager a:hover
{
border:solid 1px #0e509e;
}
ul.yiiPager .selected a
{
background:#2e6ab1;
color:#FFFFFF;
font-weight:bold;
}
ul.yiiPager .hidden a
{
border:solid 1px #DEDEDE;
color:#888888;
}
/**
* Hide first and last buttons by default.
*/
ul.yiiPager .first,
ul.yiiPager .last
{
display:none;
}
\ No newline at end of file
.qq-uploader { position:relative; width: 100%;}
.qq-upload-button {
display:block; /* or inline-block */
width: 105px; padding: 7px 0; text-align:center;
background:#880000; border-bottom:1px solid #ddd;color:#fff;
}
.qq-upload-button-hover {background:#cc0000;}
.qq-upload-button-focus {outline:1px dotted black;}
.qq-upload-drop-area {
position:absolute; top:0; left:0; width:100%; height:100%; min-height: 70px; z-index:2;
background:#FF9797; text-align:center;
}
.qq-upload-drop-area span {
display:block; position:absolute; top: 50%; width:100%; margin-top:-8px; font-size:16px;
}
.qq-upload-drop-area-active {background:#FF7171;}
.qq-upload-list {margin:15px 35px; padding:0; list-style:disc;}
.qq-upload-list li { margin:0; padding:0; line-height:15px; font-size:12px;}
.qq-upload-file, .qq-upload-spinner, .qq-upload-size, .qq-upload-cancel, .qq-upload-failed-text {
margin-right: 7px;
}
.qq-upload-file {}
.qq-upload-spinner {display:inline-block; background: url("loading.gif"); width:15px; height:15px; vertical-align:text-bottom;}
.qq-upload-size,.qq-upload-cancel {font-size:11px;}
.qq-upload-failed-text {display:none;}
.qq-upload-fail .qq-upload-failed-text {display:inline;}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<?php
/* @var $this SiteController */
$this->pageTitle=Yii::app()->name;
?>
<h1 align="center">
Sistema informático para el registro de las publicaciones científicas, eventos académicos, culturales y de investigación.
</h1>
\ No newline at end of file
<center>
<img src="../images/fonespe.jpg">
</center>
\ No newline at end of file
......@@ -28,7 +28,7 @@
<div id="mainmenu">
<?php $this->widget('application.extensions.mbmenu.MbMenu',array(
'items'=>array(
array('label'=>'Home', 'url'=>array('/site/index')),
array('label'=>'Inicio', 'url'=>array('/site/index')),
array('label'=>'Registrar',
'visible'=>Yii::app()->user->checkAccess("menu_registrar"),
'items'=>array(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment