Merge remote-tracking branch 'upstream/dev' into wiki

This commit is contained in:
Andrew Manning
2016-06-30 21:51:33 -04:00
319 changed files with 10689 additions and 8258 deletions

View File

@@ -1,7 +1,3 @@
.fc-scroller {
overflow: hidden !important;
}
/* fix borders */
.fc th:first-child,

View File

@@ -1,7 +1,3 @@
.fc-scroller {
overflow: hidden !important;
}
/* fix borders */
.fc th:first-child,

View File

@@ -11,6 +11,7 @@
width: 100%;
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
border-right: 0px;
}
.tags {

View File

@@ -941,6 +941,11 @@ function dropItem(url, object) {
$('body').css('cursor', 'auto');
});
});
return true;
}
else {
return false;
}
}

View File

@@ -1136,18 +1136,31 @@ margin-right: 50px;
list-style-type: none;
}
.generic-icons {
font-size: 1.2em;
color: $toolicon_colour;
margin-right: 7px;
}
.generic-icons:hover {
color: $toolicon_colour;
}
.admin-icons {
font-size: 1.2em;
color: $toolicon_colour;
margin-right: 10px;
margin-right: 7px;
}
.drop-icons,
a .drop-icons {
color: $toolicon_colour;
font-size: 1.2em;
text-decoration: none;
cursor: pointer;
}
.drop-icons:hover,
a .drop-icons:hover {
color: #FF0000;
}

21
view/tpl/dreport.tpl Normal file
View File

@@ -0,0 +1,21 @@
<div class="generic-content-wrapper">
<div class="section-title-wrapper">
{{if $table == 'item'}}
<a href="dreport/push/{{$mid}}"><button class="btn btn-default btn-xs pull-right">{{$push}}</button></a>
{{/if}}
<h2>{{$title}}</h2>
</div>
<div>
<table>
{{if $entries}}
{{foreach $entries as $e}}
<tr>
<td width="40%">{{$e.name}}</td>
<td width="20%">{{$e.result}}</td>
<td width="20%">{{$e.time}}</td>
</tr>
{{/foreach}}
{{/if}}
</table>
</div>

View File

@@ -34,7 +34,13 @@
$('#events-calendar').fullCalendar('option', 'height', 'auto');
}
else {
$('#events-calendar').fullCalendar('option', 'height', '');
if($('main').hasClass('fullscreen')) {
$('#calendar').fullCalendar('option', 'height', $(window).height() - $('.section-title-wrapper').outerHeight(true) - 2); // -2 is for border width (.generic-content-wrapper top and bottom) of .generic-content-wrapper
}
else {
$('#calendar').fullCalendar('option', 'height', '');
}
}
$('#title').text(view.title);
}

View File

@@ -7,6 +7,7 @@ var pretext = '{{$pretext}}';
function initEditor(cb){
if (editor==false){
$("#profile-jot-text-loading").spin('small').show();
{{$geotag}}
if(plaintext == 'none') {
$("#profile-jot-text-loading").spin(false).hide();
$("#profile-jot-text").css({ 'height': 200, 'color': '#000', 'line-height': 'inherit' });
@@ -362,7 +363,6 @@ function enableOnUser(){
$('#profile-nolocation-wrapper').attr('disabled', true);
}
{{$geotag}}
var initializeEmbedPhotoDialog = function () {
$('.embed-photo-selected-photo').each(function (index) {

View File

@@ -54,5 +54,8 @@
<button class="btn btn-primary" type="submit" name="submit" id="newchannel-submit-button" value="{{$submit}}">{{$submit}}</button>
<div id="register-submit-end" class="register-field-end"></div>
</form>
<br />
<div class="descriptive-text">{{$verify_note}}</div>
</div>
</div>