added hideable filter option for whole modules
fixed synaxarium module
This commit is contained in:
parent
6233147229
commit
0c0c8fc389
19 changed files with 11775 additions and 10869 deletions
|
|
@ -256,7 +256,7 @@
|
||||||
If you are interested in contributing, please check out our <a href="https://github.com/sublunarspace/sublunar.almanac" target="_blank">GitHub Repo</a>
|
If you are interested in contributing, please check out our <a href="https://github.com/sublunarspace/sublunar.almanac" target="_blank">GitHub Repo</a>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<a href="https://opensource.org/licenses/MIT" target="_blank">MIT License</a> © 2018 T. F. Raaion / <a href="http://sublunar.space">sublunar space</a><br />
|
<a href="https://opensource.org/licenses/MIT" target="_blank">MIT License</a> © 2018-2022 NN Solex / <a href="http://sublunar.space">sublunar space</a><br />
|
||||||
contact: <a href=\'mailto:info@sublunar.space\'>info@sublunar.space</a>
|
contact: <a href=\'mailto:info@sublunar.space\'>info@sublunar.space</a>
|
||||||
</p>
|
</p>
|
||||||
</center>
|
</center>
|
||||||
|
|
@ -347,6 +347,7 @@
|
||||||
'siderealpsi',
|
'siderealpsi',
|
||||||
'synaxarium_coptic',
|
'synaxarium_coptic',
|
||||||
'synaxarium_catholic',
|
'synaxarium_catholic',
|
||||||
|
'synaxarium_coptic_hagiography',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
/*--
|
/*--
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/**
|
/**
|
||||||
* @preserve Copyright (c) 2018 T. F. Raaion, www.sublunar.space
|
* @preserve Copyright (c) 2018-2022 NN Solex, www.sublunar.space
|
||||||
* License MIT: http://www.opensource.org/licenses/MIT
|
* License MIT: http://www.opensource.org/licenses/MIT
|
||||||
*
|
*
|
||||||
* SUBLUNAR ALMANAC
|
* SUBLUNAR ALMANAC
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/**
|
/**
|
||||||
* @preserve Copyright (c) 2018 T. F. Raaion, www.sublunar.space
|
* @preserve Copyright (c) 2018-2022 NN Solex, www.sublunar.space
|
||||||
* License MIT: http://www.opensource.org/licenses/MIT
|
* License MIT: http://www.opensource.org/licenses/MIT
|
||||||
*
|
*
|
||||||
* SUBLUNAR ALMANAC
|
* SUBLUNAR ALMANAC
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/**
|
/**
|
||||||
* @preserve Copyright © 2018 T. F. Raaion, www.sublunar.space
|
* @preserve Copyright © 2018-2022 NN Solex, www.sublunar.space
|
||||||
* (MIT): http://www.opensource.org/licenses/MIT
|
* (MIT): http://www.opensource.org/licenses/MIT
|
||||||
*
|
*
|
||||||
* SUBLUNAR ALMANAC
|
* SUBLUNAR ALMANAC
|
||||||
|
|
@ -324,27 +324,29 @@ SL.Calendar = (function() {
|
||||||
Object.keys(extData).forEach(function(key) {
|
Object.keys(extData).forEach(function(key) {
|
||||||
//if (!extData[key].hasOwnProperty("hide") || (extData[key].hasOwnProperty("hide") && extData[key].hide != "info"))
|
//if (!extData[key].hasOwnProperty("hide") || (extData[key].hasOwnProperty("hide") && extData[key].hide != "info"))
|
||||||
// tags.push(extData[key].tags);
|
// tags.push(extData[key].tags);
|
||||||
var appender = '#houractions .'+key+'-actions';
|
if (!Module.modules[key].definitions.hasOwnProperty("hide") || (Module.modules[key].definitions.hasOwnProperty("hide") && Module.modules[key].definitions.hide != "info")) {
|
||||||
if ( Module.modules[key].definitions.hasOwnProperty("group") && Module.modules[key].definitions.group.hasOwnProperty("info") ) {
|
var appender = '#houractions .'+key+'-actions';
|
||||||
if ( !$('li.info-section-'+Module.modules[key].definitions.group.id).length ) {
|
if ( Module.modules[key].definitions.hasOwnProperty("group") && Module.modules[key].definitions.group.hasOwnProperty("info") ) {
|
||||||
|
if ( !$('li.info-section-'+Module.modules[key].definitions.group.id).length ) {
|
||||||
|
$('#houractions').append(
|
||||||
|
$('<ul/>').append(
|
||||||
|
'<li> </li>\n'+
|
||||||
|
'<li class="info-section-'+Module.modules[key].definitions.group.id+'"><b>'+Module.modules[key].definitions.group.text+'</b></li>\n'+
|
||||||
|
'<li><ul class="'+Module.modules[key].definitions.group.id+'-actions"></ul>\n</li>\n'
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
appender = '#houractions .'+Module.modules[key].definitions.group.id+'-actions';
|
||||||
|
}
|
||||||
|
else {
|
||||||
$('#houractions').append(
|
$('#houractions').append(
|
||||||
$('<ul/>').append(
|
$('<ul/>').append(
|
||||||
'<li> </li>\n'+
|
'<li> </li>\n'+
|
||||||
'<li class="info-section-'+Module.modules[key].definitions.group.id+'"><b>'+Module.modules[key].definitions.group.text+'</b></li>\n'+
|
'<li><b>'+Module.modules[key].definitions.name+'</b></li>\n'+
|
||||||
'<li><ul class="'+Module.modules[key].definitions.group.id+'-actions"></ul>\n</li>\n'
|
'<li><ul class="'+key+'-actions"></ul>\n</li>\n'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
appender = '#houractions .'+Module.modules[key].definitions.group.id+'-actions';
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
$('#houractions').append(
|
|
||||||
$('<ul/>').append(
|
|
||||||
'<li> </li>\n'+
|
|
||||||
'<li><b>'+Module.modules[key].definitions.name+'</b></li>\n'+
|
|
||||||
'<li><ul class="'+key+'-actions"></ul>\n</li>\n'
|
|
||||||
)
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (extData[key].data) extData[key].data.forEach(function(el) {
|
if (extData[key].data) extData[key].data.forEach(function(el) {
|
||||||
|
|
@ -423,12 +425,16 @@ SL.Calendar = (function() {
|
||||||
var dropdown = '<li id="group_'+pluginDefinitions.group.id+'" class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span class="glyphicon glyphicon-filter"></span> '+pluginDefinitions.group.text+'<span class="caret"></span></a><ul class="dropdown-menu"></ul></li>';
|
var dropdown = '<li id="group_'+pluginDefinitions.group.id+'" class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span class="glyphicon glyphicon-filter"></span> '+pluginDefinitions.group.text+'<span class="caret"></span></a><ul class="dropdown-menu"></ul></li>';
|
||||||
$(dropdown).appendTo("#filterList");
|
$(dropdown).appendTo("#filterList");
|
||||||
}
|
}
|
||||||
var navitem = '<li><a data-toggle="modal" data-target="#'+id+'" href="#">'+pluginDefinitions.name+'</a></li>\n';
|
if (!pluginDefinitions.hasOwnProperty("hide") || (pluginDefinitions.hasOwnProperty("hide") && pluginDefinitions.hide != "filter")) {
|
||||||
$('#group_'+pluginDefinitions.group.id+' ul').append(navitem);
|
var navitem = '<li><a data-toggle="modal" data-target="#'+id+'" href="#">'+pluginDefinitions.name+'</a></li>\n';
|
||||||
|
$('#group_'+pluginDefinitions.group.id+' ul').append(navitem);
|
||||||
|
}
|
||||||
// otherwise just throw it into the menu bar
|
// otherwise just throw it into the menu bar
|
||||||
} else {
|
} else {
|
||||||
var navitem = '<li><p class="navbar-btn"><a class="btn btn-default" data-toggle="modal" data-target="#'+id+'" href="#"><span class="glyphicon glyphicon-filter"></span> '+pluginDefinitions.name+'</a></p></li>\n';
|
if (!pluginDefinitions.hasOwnProperty("hide") || (pluginDefinitions.hasOwnProperty("hide") && pluginDefinitions.hide != "filter")) {
|
||||||
$(navitem).appendTo("#filterList");
|
var navitem = '<li><p class="navbar-btn"><a class="btn btn-default" data-toggle="modal" data-target="#'+id+'" href="#"><span class="glyphicon glyphicon-filter"></span> '+pluginDefinitions.name+'</a></p></li>\n';
|
||||||
|
$(navitem).appendTo("#filterList");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// prepare variables and juggle data to create Tags and Operations to be displayed in the filter modal
|
// prepare variables and juggle data to create Tags and Operations to be displayed in the filter modal
|
||||||
var title = $('#navigation a[data-target="#'+id+'"]').clone();
|
var title = $('#navigation a[data-target="#'+id+'"]').clone();
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/**
|
/**
|
||||||
* @preserve Copyright (c) 2018 T. F. Raaion, www.sublunar.space
|
* @preserve Copyright (c) 2018-2022 NN Solex, www.sublunar.space
|
||||||
* License MIT: http://www.opensource.org/licenses/MIT
|
* License MIT: http://www.opensource.org/licenses/MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/**
|
/**
|
||||||
* @preserve Copyright (c) 2018 T. F. Raaion, www.sublunar.space
|
* @preserve Copyright (c) 2018-2022 NN Solex, www.sublunar.space
|
||||||
* License MIT: http://www.opensource.org/licenses/MIT
|
* License MIT: http://www.opensource.org/licenses/MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/**
|
/**
|
||||||
* @preserve Copyright (c) 2018 T. F. Raaion, www.sublunar.space
|
* @preserve Copyright (c) 2018-2022 NN Solex, www.sublunar.space
|
||||||
* License MIT: http://www.opensource.org/licenses/MIT
|
* License MIT: http://www.opensource.org/licenses/MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/**
|
/**
|
||||||
* @preserve Copyright (c) 2018 T. F. Raaion, www.sublunar.space
|
* @preserve Copyright (c) 2018-2022 NN Solex, www.sublunar.space
|
||||||
* License MIT: http://www.opensource.org/licenses/MIT
|
* License MIT: http://www.opensource.org/licenses/MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/**
|
/**
|
||||||
* @preserve Copyright (c) 2018 T. F. Raaion, www.sublunar.space
|
* @preserve Copyright (c) 2018-2022 NN Solex, www.sublunar.space
|
||||||
* License MIT: http://www.opensource.org/licenses/MIT
|
* License MIT: http://www.opensource.org/licenses/MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/**
|
/**
|
||||||
* @preserve Copyright (c) 2018 T. F. Raaion, www.sublunar.space
|
* @preserve Copyright (c) 2018-2022 NN Solex, www.sublunar.space
|
||||||
* License MIT: http://www.opensource.org/licenses/MIT
|
* License MIT: http://www.opensource.org/licenses/MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/**
|
/**
|
||||||
* @preserve Copyright (c) 2018 T. F. Raaion, www.sublunar.space
|
* @preserve Copyright (c) 2018-2022 NN Solex, www.sublunar.space
|
||||||
* License MIT: http://www.opensource.org/licenses/MIT
|
* License MIT: http://www.opensource.org/licenses/MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/**
|
/**
|
||||||
* @preserve Copyright (c) 2018 T. F. Raaion, www.sublunar.space
|
* @preserve Copyright (c) 2018-2022 NN Solex, www.sublunar.space
|
||||||
* License MIT: http://www.opensource.org/licenses/MIT
|
* License MIT: http://www.opensource.org/licenses/MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/**
|
/**
|
||||||
* @preserve Copyright (c) 2018 T. F. Raaion, www.sublunar.space
|
* @preserve Copyright (c) 2018-2022 NN Solex, www.sublunar.space
|
||||||
* License MIT: http://www.opensource.org/licenses/MIT
|
* License MIT: http://www.opensource.org/licenses/MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/**
|
/**
|
||||||
* @preserve Copyright (c) 2018 T. F. Raaion, www.sublunar.space
|
* @preserve Copyright (c) 2018-2022 NN Solex, www.sublunar.space
|
||||||
* License MIT: http://www.opensource.org/licenses/MIT
|
* License MIT: http://www.opensource.org/licenses/MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/**
|
/**
|
||||||
* @preserve Copyright (c) 2021 T. F. Raaion, www.sublunar.space
|
* @preserve Copyright (c) 2021 NN Solex, www.sublunar.space
|
||||||
* License MIT: http://www.opensource.org/licenses/MIT
|
* License MIT: http://www.opensource.org/licenses/MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
||||||
22561
js/modules/synaxarium.js
22561
js/modules/synaxarium.js
File diff suppressed because one or more lines are too long
|
|
@ -1,5 +1,5 @@
|
||||||
/**
|
/**
|
||||||
* @preserve Copyright (c) 2018 T. F. Raaion, www.sublunar.space
|
* @preserve Copyright (c) 2018-2022 NN Solex, www.sublunar.space
|
||||||
* License MIT: http://www.opensource.org/licenses/MIT
|
* License MIT: http://www.opensource.org/licenses/MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
||||||
2
pmom.php
2
pmom.php
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @preserve Copyright (c) 2018 T. F. Raaion, www.sublunar.space
|
* @preserve Copyright (c) 2018-2022 NN Solex, www.sublunar.space
|
||||||
* License MIT: http://www.opensource.org/licenses/MIT
|
* License MIT: http://www.opensource.org/licenses/MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -153,6 +153,6 @@ li {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.mark {
|
li.mark {
|
||||||
background-color: none;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue