Correções na contribuição de MEDEIROS
Esse commit está contido em:
@@ -13,7 +13,7 @@ $(document).ready(function(){
|
||||
function checkStatus(){
|
||||
$('ul.all-participants li').each(function(index,element){
|
||||
if( $(this).hasClass('participant-name') )
|
||||
$.get('/amadeuslms/user.do?method=userStatus&accessInfoId='+ element.id, function(data){
|
||||
$.get('user.do?method=userStatus&accessInfoId='+ element.id, function(data){
|
||||
if(data == 1){
|
||||
$(element).removeClass('offlineUser').addClass('onlineUser');
|
||||
} else {
|
||||
@@ -243,7 +243,7 @@ $(document).ready(function(){
|
||||
|
||||
//Funcao que exibe o dialog de resposta
|
||||
function showReplyDialog(title,href){
|
||||
$('#form-reply-to').load('/amadeuslms/jsp/messenger/form-reply.jsp', function(){
|
||||
$('#form-reply-to').load('jsp/messenger/form-reply.jsp', function(){
|
||||
if($('#reply-assunto').length){
|
||||
$('#reply-assunto').val(title);
|
||||
$('#reply-content').focus();
|
||||
|
||||
@@ -62,9 +62,9 @@ $(document).ready(function(){
|
||||
$('#hash-alert').html('');
|
||||
});
|
||||
|
||||
|
||||
var ctx = "${pageContext.request.contextPath}";
|
||||
// Controle do monitoramento do twitter
|
||||
var urlToCheck = 'http://localhost:8080/amadeuslms/social.do?method=showViewSocialNetworkMonitoring&courseId=18';
|
||||
var urlToCheck = ctx + 'social.do?method=showViewSocialNetworkMonitoring&courseId=18';
|
||||
if(window.location == urlToCheck){
|
||||
$(window).bind('beforeunload', function(){
|
||||
if($('#monitoring-start').attr('disabled') == 'disabled'){
|
||||
|
||||
@@ -39,7 +39,7 @@ Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título
|
||||
</div>
|
||||
<jsp:include page="/jsp/conf/logo.jsp" />
|
||||
<div id="pTitle" class="pTitle">
|
||||
<h2><bean:message key="viewCourse.heading"/></h2>
|
||||
<h2>Mensagens</h2>
|
||||
</div>
|
||||
<div id="pBreadCrumbs" class="pBreadCrumbs">
|
||||
<ul id="breadcrumb">
|
||||
|
||||
@@ -28,7 +28,7 @@ Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título
|
||||
<div id="user-twitter">
|
||||
<c:if test="${ empty user.person.twitterLogin }">
|
||||
<p class="no-user-twitter">
|
||||
Adicione seu Twitter ao seu perfil <a href="/amadeuslms/user.do?method=showViewIntegrationSocialNetworks"><b>aqui</b></a>.
|
||||
Adicione seu Twitter ao seu perfil <a href="user.do?method=showViewIntegrationSocialNetworks"><b>aqui</b></a>.
|
||||
</p>
|
||||
</c:if>
|
||||
<c:if test="${ ! empty user.person.twitterLogin }">
|
||||
|
||||
@@ -39,7 +39,7 @@ Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título
|
||||
</div>
|
||||
<jsp:include page="/jsp/conf/logo.jsp" />
|
||||
<div id="pTitle" class="pTitle">
|
||||
<h2><bean:message key="viewCourse.heading"/></h2>
|
||||
<h2>Monitorar Redes Sociais</h2>
|
||||
</div>
|
||||
<div id="pBreadCrumbs" class="pBreadCrumbs">
|
||||
<ul id="breadcrumb">
|
||||
@@ -60,7 +60,7 @@ Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título
|
||||
<div id="social-network-monitoring">
|
||||
<h2>Social Network Monitoring</h2>
|
||||
<div id="social-network-monitoring-content">
|
||||
<img src="themes/default/img/twitter_icon.jpg" /><br />
|
||||
<div class="social-icon"><img src="themes/default/imgs/twitter.png" /></div>
|
||||
<label for="ipt-hashtag" id="lbl-hashtag" class="lbl-hashtag">Hashtag: </label><small id="hash-alert"></small><br />
|
||||
<input type="text" id="ipt-hashtag" name="ipt-hashtag" class="ipt-hashtag" /><br />
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título
|
||||
</div>
|
||||
<jsp:include page="/jsp/conf/logo.jsp" />
|
||||
<div id="pTitle" class="pTitle">
|
||||
<h2><bean:message key="editPassword.heading"/></h2>
|
||||
<h2>Integração com Redes Sociais</h2>
|
||||
</div>
|
||||
<div id="pBreadCrumbs" class="pBreadCrumbs">
|
||||
<ul id="breadcrumb">
|
||||
@@ -76,7 +76,7 @@ Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título
|
||||
<html:form action="/integrationSocialNetworks" focus="twitterLogin">
|
||||
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%;">
|
||||
<tr>
|
||||
<td class="formAttribute"><img src="themes/default/imgs/twitter.png" style="padding-right: 20px;" border="0" height="32px" width="32px" title="Social Accounts"/><bean:message key="integrationSocialNetworks.twitterLogin"/>:</td>
|
||||
<td class="formAttribute"><img src="themes/default/imgs/twitter.png" style="padding-right: 25px;" border="0" height="32px" width="32px" title="Social Accounts"/><bean:message key="integrationSocialNetworks.twitterLogin"/>:</td>
|
||||
<td>
|
||||
<html:text name="socialProfiles" property="twitterLogin" style="width: 100%;" />
|
||||
</td>
|
||||
|
||||
@@ -34,6 +34,10 @@ div#seemessages{
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
div#seemessages h2{
|
||||
margin: 9px 0;
|
||||
font-size: 12px;
|
||||
@@ -126,7 +130,7 @@ p.the-message-content a.message-delete-link{
|
||||
p.the-message-content a.message-reply-link,
|
||||
p.the-message-content a.message-delete-link,
|
||||
p.the-message-content a.reply-to-all-link{
|
||||
color: #00f;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
p.the-message-content a.reply-to-all-link{
|
||||
@@ -149,9 +153,9 @@ div.the-message .message-date, div.the-message .from-user{
|
||||
div#all-messages-unread,
|
||||
p.the-message-content
|
||||
{
|
||||
-webkit-border-radius: 5px;
|
||||
/*-webkit-border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
border-radius: 5px;*/
|
||||
}
|
||||
|
||||
p.the-message-content{
|
||||
@@ -171,7 +175,7 @@ h3.the-message-title{
|
||||
}
|
||||
|
||||
h3.the-message-title a{
|
||||
color: #00f;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
h3.the-message-title a.lida, h3.the-message-title a.lida-true{
|
||||
@@ -184,7 +188,7 @@ h3.the-message-title:HOVER {
|
||||
|
||||
.reply-assunto{
|
||||
width: 232px;
|
||||
margin-left: 11px;
|
||||
margin-left: 16px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
@@ -201,10 +205,14 @@ h3.the-message-title:HOVER {
|
||||
}
|
||||
|
||||
a.link-see-all-messages{
|
||||
color: #00f;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
div#div-link-see-all-messages{
|
||||
text-align: center;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
border: none;
|
||||
}
|
||||
@@ -73,12 +73,12 @@
|
||||
*/
|
||||
|
||||
div#social-network-monitoring{
|
||||
border: 1px solid black;
|
||||
border: none;
|
||||
background: #edf5ea;
|
||||
}
|
||||
|
||||
div#social-network-monitoring h2{
|
||||
border-bottom: 1px solid black;
|
||||
border-bottom: none;
|
||||
padding: 7px 0 7px 15px;
|
||||
background: #b6d7a8;
|
||||
font-size: 12px;
|
||||
@@ -105,8 +105,18 @@ div#social-network-monitoring-content .monitoring-start-disabled{
|
||||
border: 0;
|
||||
}
|
||||
|
||||
div##waiting {
|
||||
align:center;
|
||||
div.social-icon {
|
||||
height: 80px;
|
||||
float: left;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
div.social-icon img {
|
||||
width: 30px;
|
||||
}
|
||||
|
||||
div#waiting {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
p.no-user-twitter{
|
||||
@@ -116,5 +126,5 @@ p.no-user-twitter{
|
||||
}
|
||||
|
||||
p.no-user-twitter a{
|
||||
color: #00f;
|
||||
color: #000;
|
||||
}
|
||||
Arquivo binário não exibido.
|
Antes Largura: | Altura: | Tamanho: 13 KiB |
Arquivo binário não exibido.
|
Antes Largura: | Altura: | Tamanho: 19 KiB Depois Largura: | Altura: | Tamanho: 1.6 KiB |
Arquivo binário não exibido.
|
Antes Largura: | Altura: | Tamanho: 4.3 KiB Depois Largura: | Altura: | Tamanho: 3.5 KiB |
Referência em uma Nova Issue
Bloquear um usuário