Galileo
view release on metacpan or search on metacpan
lib/Galileo/files/public/assets/bootstrap/css/bootstrap.min.css view on Meta::CPAN
/*!
* Bootstrap v2.1.1
*
* Copyright 2012 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
*/article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-si...
lib/Galileo/files/public/assets/jquery-1.9.1.min.js view on Meta::CPAN
/*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license
//@ sourceMappingURL=jquery.min.map
*/(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return new b.fn.init(e,t,r)},x=/[+-]?(?:\d*\.|)\d+(?...
return(!i||i!==r&&!b.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),b.support.submitBubbles||(b.event.special.submit={setup:function(){return b.nodeName(this,"form")?!1:(b.event.add(this,"click._submit keypress._...
}b.merge(d,s.childNodes),s.textContent="";while(s.firstChild)s.removeChild(s.firstChild);s=f.lastChild}else d.push(t.createTextNode(o));s&&f.removeChild(s),b.support.appendChecked||b.grep(Ot(d,"input"),Bt),h=0;while(o=d[h++])if((!r||-1===b.inArray(o,...
lib/Galileo/files/templates/admin/user.html.ep view on Meta::CPAN
pass1: $('input#pass1').val() || 0,
pass2: $('input#pass2').val() || 0,
is_author: $('input#is_author').is(':checked'),
is_admin: $('input#is_admin').is(':checked')
};
sendViaWS("<%= url_for('storeuser')->to_abs %>", data);
}
% end
<form class="form-horizontal">
<legend>Names</legend>
<fieldset>
<div class="control-group">
<label class="control-label" for="name">User Name</label>
<div class="controls">
<input class="input-xlarge disabled" id="name"
type="text" placeholder="<%= $name %>" disabled>
</div>
</div>
</fieldset>
<fieldset>
<div class="control-group">
<label class="control-label" for="full">Full Name</label>
<div class="controls">
<input type="text" class="input-xlarge" id="full" value="<%= $full %>">
</div>
</div>
</fieldset>
<legend>Set a New Password</legend>
<fieldset>
<div class="control-group">
<label class="control-label" for="pass1">New Password</label>
<div class="controls">
<input type="password" class="input-xlarge" id="pass1">
</div>
</div>
</fieldset>
<fieldset>
<div class="control-group">
<label class="control-label" for="pass2">Repeat Password</label>
<div class="controls">
<input type="password" class="input-xlarge" id="pass2">
<p>Only fill these boxes to set a new password (required for new account).</p>
</div>
</div>
</fieldset>
<legend>Permissions</legend>
<fieldset>
<div class="control-group">
<label class="control-label" for="is_author">Author</label>
<div class="controls">
<label class="checkbox">
<input type="checkbox" class="input-xlarge" id="is_author" <%= $is_author %>>
Authors are allowed to create and edit pages, as well as edit menus
</label>
</div>
</div>
lib/Galileo/files/templates/setup/configure.html.ep view on Meta::CPAN
% use Mojo::JSON 'j';
% title 'Galileo Setup - Configure';
% layout 'basic';
%= form_for 'store_config' => method => 'POST', class => 'form-horizontal' => begin
% my $config = app->config;
<legend>Database Connection</legend>
%= control_group for => 'db_dsn', label => 'Connection String (DSN)' => begin
%= text_field 'db_dsn', value => $config->{db_dsn}, class => 'input-block-level'
% end
%= control_group for => 'db_username', label => 'Username' => begin
%= text_field 'db_username', value => $config->{db_username}, class => 'input-block-level'
% end
%= control_group for => 'db_password', label => 'Password' => begin
%= input_tag 'db_password', value => $config->{db_password}, type => 'password', class => 'input-block-level'
% end
%= control_group for => 'db_options', label => 'Options (JSON hash)' => begin
%= text_field 'db_options', value => j($config->{db_options}), class => 'input-block-level'
% end
%= control_group for => 'db_schema', label => 'Schema Class' => begin
%= text_field 'db_schema', value => $config->{db_schema}, class => 'input-block-level'
% end
<legend>Additional Files</legend>
%= control_group for => 'files', label => 'Extra Static Paths (JSON array)' => begin
%= text_field 'extra_static_paths', value => j($config->{extra_static_paths}), class => 'input-block-level'
% end
%= control_group for => 'extra_js', label => 'Extra Javascript Files (JSON array)' => begin
%= text_field 'extra_js', value => j($config->{extra_js}), class => 'input-block-level'
% end
%= control_group for => 'extra_css', label => 'Extra Stylesheet files (JSON array)' => begin
%= text_field 'extra_css', value => j($config->{extra_css}), class => 'input-block-level'
% end
%= control_group for => 'upload_path', label => 'Upload Path' => begin
%= text_field 'upload_path', value => $config->{upload_path}, class => 'input-block-level'
% end
<legend>Other Options</legend>
%= control_group for => 'sanitize', label => 'Use Sanitizing Editor' => begin
% if($config->{sanitize}){
%= check_box 'sanitize', value => 1, checked => 'checked'
% } else {
%= check_box 'sanitize', value => 1
% }
%= hidden_field 'sanitize' => 0
% end
%= control_group for => 'files', label => 'Pagedown Extra Options (JSON hash)' => begin
( run in 1.239 second using v1.01-cache-2.11-cpan-49f99fa48dc )