Ado
view release on metacpan or search on metacpan
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
public/css/ado.css view on Meta::CPAN
}
section.login_form {
padding-top: 2em;
margin: auto;
min-width: 300px;
width: 80%;
max-width: 600px;
}
/* articles */
.right.attached.launch.fixed.button {
position: fixed !important;
z-index: 1900;
top:2.5em;
left:-1px;
}
/* end articles */
public/js/help_toc.js view on Meta::CPAN
$('#toc li ul').parent().prepend('<i class="folder icon"></i>');
//all the rest are documents
$('#toc li').each(function (i) {
if($(this).children('i.icon').length) return;
$(this).prepend('<i class="file icon"></i>');
//console.log( i + ": " + $( this ).text() );
});
//Initialize the left menu
$('#toc').sidebar();
$('.attached.button').on('click',function (){
$('#toc').sidebar('toggle','slow');
});
//Set onclick behavior for all #toc and prev,next links
$(toc_links_selector+',.right.menu a').on('click',function(){
var _link = this;
$.get(_link.href)
.done(function( data ) {
$('article.main').remove();
$('main').append(data);
public/js/help_toc.js view on Meta::CPAN
});
if($( window ).width()<=640)
$('#toc').sidebar('hide','slow');
set_right_menu_arrows($(this))
return false;
});
//Get and append the main.container with the cover page
if(!$('article').length){
//show the sidebar
$('.attached.button').click();
//load the first page: cover.md
$(toc_links_selector+':first').click();
set_right_menu_arrows($(toc_links_selector+':first'))
}
else {
set_right_menu_arrows(
$(toc_links_selector+':contains("'+$('article.main.container h1').text()+'")')
);
}
});//end $(document).ready
public/vendor/pagedown/Markdown.Editor.js view on Meta::CPAN
else if (elem.currentStyle) {
// IE
return elem.currentStyle["display"] !== "none";
}
};
// Adds a listener callback to a DOM element which is fired on a specified
// event.
util.addEvent = function (elem, event, listener) {
if (elem.attachEvent) {
// IE only. The "on" is mandatory.
elem.attachEvent("on" + event, listener);
}
else {
// Other browsers.
elem.addEventListener(event, listener, false);
}
};
// Removes a listener callback from a DOM element which is fired on a specified
// event.
public/vendor/pagedown/Markdown.Editor.js view on Meta::CPAN
};
this.processingTime = function () {
return elapsedTime;
};
var isFirstTimeFilled = true;
// IE doesn't let you use innerHTML if the element is contained somewhere in a table
// (which is the case for inline editing) -- in that case, detach the element, set the
// value, and reattach. Yes, that *is* ridiculous.
var ieSafePreviewSet = function (text) {
var preview = panels.preview;
var parent = preview.parentNode;
var sibling = preview.nextSibling;
parent.removeChild(preview);
preview.innerHTML = text;
if (!sibling)
parent.appendChild(preview);
else
parent.insertBefore(preview, sibling);
templates/articles/show.html.ep view on Meta::CPAN
%#site_templates/articles/index.html.ep
%layout 'articles';
% head_css([$sui_path.'/menu.min.css', $sui_path.'/sidebar.min.css']);
% head_javascript($sui_path.'/sidebar.min.js');
<%= include 'articles/menu' %>
<article class="ui main container pusher">
<%= include 'partials/adobar' %>
<div class="ui black right attached launch fixed button"><i class="sidebar icon"></i></div>
%if(stash->{html}){
% title(eval{Mojo::DOM->new(stash->{html})->find('h1,h2,h3')->[0]->text}||'No title');
%== stash->{html}
%}else {
<div class="ui error message">
<h1 class="header">Not Found</h1>
<p>The file "<%= $html_file %>" could not be found!</p>
</div>
%}
</article>
%=javascript begin
$('.ui.sidebar.menu')
.sidebar({
context: '.ui.pushable'
})
.sidebar('attach events', '.ui.right.attached.fixed.launch.button')
;
%= end
templates/doc/show.html.ep view on Meta::CPAN
% layout('doc');
<main class="ui">
<div id="menu" class="ui borderless inverted fixed menu">
<div class="ui small blue launch right attached button">
<i class="icon list layout"></i>
</div>
<%= include 'partials/logo' %>
<div class="right menu">
<a class="icon item">
<i class="icon left arrow"></i>
</a>
<a class="icon blue item">
<i class="icon right arrow"></i>
</a>
( run in 2.903 seconds using v1.01-cache-2.11-cpan-e1769b4cff6 )