# HG changeset patch # User sergey # Date 1400016141 -14400 # Node ID fa7a99c2d079bc2d86b05c96927a79513c1c1772 # Parent 2d1a0a75fc49f0ec2342141102b110454238a355 dox library templates and schemas diff -r 2d1a0a75fc49 -r fa7a99c2d079 config/Benzin.Web.Application.xml --- a/config/Benzin.Web.Application.xml Mon May 12 18:05:30 2014 +0400 +++ b/config/Benzin.Web.Application.xml Wed May 14 01:22:21 2014 +0400 @@ -8,7 +8,7 @@ - DBI:mysql:database=test;host=localhost;mysql_socket=/tmp/mysql-benzin.sock;mysql_enable_utf8=1 + DBI:mysql:database=test;host=localhost;mysql_socket=/tmp/mysql-implab.sock;mysql_enable_utf8=1 root diff -r 2d1a0a75fc49 -r fa7a99c2d079 config/bootstrap.pm --- a/config/bootstrap.pm Mon May 12 18:05:30 2014 +0400 +++ b/config/bootstrap.pm Wed May 14 01:22:21 2014 +0400 @@ -3,3 +3,4 @@ use lib File::Spec->catdir($IMPL::Config::AppBase, '../Impl/Lib'); use lib File::Spec->catdir($IMPL::Config::AppBase, '../benzin/lib'); +1; \ No newline at end of file diff -r 2d1a0a75fc49 -r fa7a99c2d079 deploy.pl --- a/deploy.pl Mon May 12 18:05:30 2014 +0400 +++ b/deploy.pl Wed May 14 01:22:21 2014 +0400 @@ -1,11 +1,17 @@ #!/usr/bin/perl -w use strict; +use lib '.'; +use config; +use config::bootstrap; +use IMPL::require { + DoxModel => 'Benzin::Doxygen::Model' +}; -my @dirs = qw( - doxygen-data - mysql-data -); +mkdir 'doxygen-data' unless -e 'doxygen-data'; -mkdir $_ foreach grep not(-e $_), @dirs; +unless (-e 'mysql-data') { + mkdir 'mysql-data'; + `mysql_install_db --datadir=./mysql-data`; +} -`mysql_install_db --datadir=./mysql-data`; \ No newline at end of file +DoxModel->Deploy($config::doxConnection); \ No newline at end of file diff -r 2d1a0a75fc49 -r fa7a99c2d079 dox_task.pl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dox_task.pl Wed May 14 01:22:21 2014 +0400 @@ -0,0 +1,20 @@ +#!/usr/bin/perl -w +use lib '.'; +use config; +use config::bootstrap; +use strict; +use IMPL::Config; + +use IMPL::require { + DoxygenTask => 'Benzin::Doxygen::MakedocTask', + DoxModel => 'Benzin::Doxygen::Model', + InlineFactory => 'IMPL::Object::InlineFactory' +}; + +my $task = DoxygenTask->new( + %config::doxSource +); + +$task->DoWork(); + +print "completed\n"; \ No newline at end of file diff -r 2d1a0a75fc49 -r fa7a99c2d079 schemas/doxygen/compound.xsd --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/schemas/doxygen/compound.xsd Wed May 14 01:22:21 2014 +0400 @@ -0,0 +1,936 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 2d1a0a75fc49 -r fa7a99c2d079 schemas/doxygen/csharp/base.xsl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/schemas/doxygen/csharp/base.xsl Wed May 14 01:22:21 2014 +0400 @@ -0,0 +1,2349 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +© +&trademark; +&registered; +‘ +’ +“ +” +– +— + + + + + + + + + + + + + + + + + + + + + + + + +ß +  +æ +Æ +Γ +Δ +Θ +Λ +Ξ +Π +Σ +Υ +Φ +Ψ +Ω +α +β +γ +δ +ε +ζ +η +θ +ι +κ +λ +μ +ν +ξ +π +ρ +σ +τ +υ +φ +χ +ψ +ω +ς +§ +° +′ +″ +∞ +∅ +± +× +− +⋅ +∂ +∇ +√ +⊥ +∑ +∫ +∏ +∼ +≈ +≠ +≡ +∝ +≤ +≥ +← +→ +∈ +∉ +⌈ +⌉ +⌊ +⌋ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +© +&trademark; +&registered; +‘ +’ +“ +” +– +— + + + + + + + + + + + + + + + + + + + + + + + + +ß +  +æ +Æ +Γ +Δ +Θ +Λ +Ξ +Π +Σ +Υ +Φ +Ψ +Ω +α +β +γ +δ +ε +ζ +η +θ +ι +κ +λ +μ +ν +ξ +π +ρ +σ +τ +υ +φ +χ +ψ +ω +ς +§ +° +′ +″ +∞ +∅ +± +× +− +⋅ +∂ +∇ +√ +⊥ +∑ +∫ +∏ +∼ +≈ +≠ +≡ +∝ +≤ +≥ +← +→ +∈ +∉ +⌈ +⌉ +⌊ +⌋ +&linebreak; +&hruler; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +© +&trademark; +&registered; +‘ +’ +“ +” +– +— + + + + + + + + + + + + + + + + + + + + + + + + +ß +  +æ +Æ +Γ +Δ +Θ +Λ +Ξ +Π +Σ +Υ +Φ +Ψ +Ω +α +β +γ +δ +ε +ζ +η +θ +ι +κ +λ +μ +ν +ξ +π +ρ +σ +τ +υ +φ +χ +ψ +ω +ς +§ +° +′ +″ +∞ +∅ +± +× +− +⋅ +∂ +∇ +√ +⊥ +∑ +∫ +∏ +∼ +≈ +≠ +≡ +∝ +≤ +≥ +← +→ +∈ +∉ +⌈ +⌉ +⌊ +⌋ +&linebreak; +&hruler; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +© +&trademark; +&registered; +‘ +’ +“ +” +– +— + + + + + + + + + + + + + + + + + + + + + + + + +ß +  +æ +Æ +Γ +Δ +Θ +Λ +Ξ +Π +Σ +Υ +Φ +Ψ +Ω +α +β +γ +δ +ε +ζ +η +θ +ι +κ +λ +μ +ν +ξ +π +ρ +σ +τ +υ +φ +χ +ψ +ω +ς +§ +° +′ +″ +∞ +∅ +± +× +− +⋅ +∂ +∇ +√ +⊥ +∑ +∫ +∏ +∼ +≈ +≠ +≡ +∝ +≤ +≥ +← +→ +∈ +∉ +⌈ +⌉ +⌊ +⌋ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +&simplesectsep; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +© +&trademark; +&registered; +‘ +’ +“ +” +– +— + + + + + + + + + + + + + + + + + + + + + + + + +ß +  +æ +Æ +Γ +Δ +Θ +Λ +Ξ +Π +Σ +Υ +Φ +Ψ +Ω +α +β +γ +δ +ε +ζ +η +θ +ι +κ +λ +μ +ν +ξ +π +ρ +σ +τ +υ +φ +χ +ψ +ω +ς +§ +° +′ +″ +∞ +∅ +± +× +− +⋅ +∂ +∇ +√ +⊥ +∑ +∫ +∏ +∼ +≈ +≠ +≡ +∝ +≤ +≥ +← +→ +∈ +∉ +⌈ +⌉ +⌊ +⌋ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +© +&trademark; +&registered; +‘ +’ +“ +” +– +— + + + + + + + + + + + + + + + + + + + + + + + + +ß +  +æ +Æ +Γ +Δ +Θ +Λ +Ξ +Π +Σ +Υ +Φ +Ψ +Ω +α +β +γ +δ +ε +ζ +η +θ +ι +κ +λ +μ +ν +ξ +π +ρ +σ +τ +υ +φ +χ +ψ +ω +ς +§ +° +′ +″ +∞ +∅ +± +× +− +⋅ +∂ +∇ +√ +⊥ +∑ +∫ +∏ +∼ +≈ +≠ +≡ +∝ +≤ +≥ +← +→ +∈ +∉ +⌈ +⌉ +⌊ +⌋ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +© +&trademark; +&registered; +‘ +’ +“ +” +– +— + + + + + + + + + + + + + + + + + + + + + + + + +ß +  +æ +Æ +Γ +Δ +Θ +Λ +Ξ +Π +Σ +Υ +Φ +Ψ +Ω +α +β +γ +δ +ε +ζ +η +θ +ι +κ +λ +μ +ν +ξ +π +ρ +σ +τ +υ +φ +χ +ψ +ω +ς +§ +° +′ +″ +∞ +∅ +± +× +− +⋅ +∂ +∇ +√ +⊥ +∑ +∫ +∏ +∼ +≈ +≠ +≡ +∝ +≤ +≥ +← +→ +∈ +∉ +⌈ +⌉ +⌊ +⌋ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +© +&trademark; +&registered; +‘ +’ +“ +” +– +— + + + + + + + + + + + + + + + + + + + + + + + + +ß +  +æ +Æ +Γ +Δ +Θ +Λ +Ξ +Π +Σ +Υ +Φ +Ψ +Ω +α +β +γ +δ +ε +ζ +η +θ +ι +κ +λ +μ +ν +ξ +π +ρ +σ +τ +υ +φ +χ +ψ +ω +ς +§ +° +′ +″ +∞ +∅ +± +× +− +⋅ +∂ +∇ +√ +⊥ +∑ +∫ +∏ +∼ +≈ +≠ +≡ +∝ +≤ +≥ +← +→ +∈ +∉ +⌈ +⌉ +⌊ +⌋ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +© +&trademark; +&registered; +‘ +’ +“ +” +– +— + + + + + + + + + + + + + + + + + + + + + + + + +ß +  +æ +Æ +Γ +Δ +Θ +Λ +Ξ +Π +Σ +Υ +Φ +Ψ +Ω +α +β +γ +δ +ε +ζ +η +θ +ι +κ +λ +μ +ν +ξ +π +ρ +σ +τ +υ +φ +χ +ψ +ω +ς +§ +° +′ +″ +∞ +∅ +± +× +− +⋅ +∂ +∇ +√ +⊥ +∑ +∫ +∏ +∼ +≈ +≠ +≡ +∝ +≤ +≥ +← +→ +∈ +∉ +⌈ +⌉ +⌊ +⌋ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +© +&trademark; +&registered; +‘ +’ +“ +” +– +— + + + + + + + + + + + + + + + + + + + + + + + + +ß +  +æ +Æ +Γ +Δ +Θ +Λ +Ξ +Π +Σ +Υ +Φ +Ψ +Ω +α +β +γ +δ +ε +ζ +η +θ +ι +κ +λ +μ +ν +ξ +π +ρ +σ +τ +υ +φ +χ +ψ +ω +ς +§ +° +′ +″ +∞ +∅ +± +× +− +⋅ +∂ +∇ +√ +⊥ +∑ +∫ +∏ +∼ +≈ +≠ +≡ +∝ +≤ +≥ +← +→ +∈ +∉ +⌈ +⌉ +⌊ +⌋ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 2d1a0a75fc49 -r fa7a99c2d079 schemas/doxygen/csharp/briefsections.xsl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/schemas/doxygen/csharp/briefsections.xsl Wed May 14 01:22:21 2014 +0400 @@ -0,0 +1,58 @@ + + + +
+
+ +
+
+ +
+
+
+ + + + + virtual + + + enum + + + +   + + + + + + + + + + +   + + + + + + + + { + get; + set; + } + + + + + + + +
\ No newline at end of file diff -r 2d1a0a75fc49 -r fa7a99c2d079 schemas/doxygen/csharp/class.xsl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/schemas/doxygen/csharp/class.xsl Wed May 14 01:22:21 2014 +0400 @@ -0,0 +1,72 @@ + + + + + +

+ +

+
+ +
+
+ + + abstract + sealed + + + + + + + : + + + + , + + + +
+
+ +
+ + +
+

Inner classes

+
    + +
+
+
+ +
+ +
+ + +
+

Derived

+
    + +
+
+
+
+ +
  • +
    + +
  • +
    +
    \ No newline at end of file diff -r 2d1a0a75fc49 -r fa7a99c2d079 schemas/doxygen/csharp/default.xsl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/schemas/doxygen/csharp/default.xsl Wed May 14 01:22:21 2014 +0400 @@ -0,0 +1,396 @@ + + + + + + + + + + + + + +

    + +

    +
    + +
    +
    +
    +				
    +			
    +
    +
    + +
    + +
    + +
    + +
    + +
    + + +
    +

    Derived

    + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + +

    +
    + + + + + + + + + + + + + + + + + +
    +

    + + + +

    + + + + + + + + + + + +
    + Parameter + + Description +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + +
    + Type + + Parameter + + Description +
    +
    + + + + + + + + + + + + + + + + + +
    +

    + + + +

    +
    + +
    +
    +
    + + +
    +

    + + + +

    +
    + +
    +
    +
    + +
    + + + + + + + +
    + +
    +
    + +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    \ No newline at end of file diff -r 2d1a0a75fc49 -r fa7a99c2d079 schemas/doxygen/csharp/file.xsl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/schemas/doxygen/csharp/file.xsl Wed May 14 01:22:21 2014 +0400 @@ -0,0 +1,28 @@ + + + + +

    file

    +
    + +
    + +
    + + + + +
    + +
    +
    + +   + + + + +
    \ No newline at end of file diff -r 2d1a0a75fc49 -r fa7a99c2d079 schemas/doxygen/csharp/interface.xsl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/schemas/doxygen/csharp/interface.xsl Wed May 14 01:22:21 2014 +0400 @@ -0,0 +1,99 @@ + + + + +

    + +

    +
    + +
    +
    + + + abstract + sealed + + + + + + + : + + + + , + + + +
    +
    + +
    + +
    + + +
    + +
    + +
    + + +
    +

    Derived

    +
      + +
    +
    +
    +
    + +
  • +
    + + +
    +
    + +
    +
    + +
    +
    +
    + + + + + +   + + + + + + + + + +   + + + + + + + +
    \ No newline at end of file diff -r 2d1a0a75fc49 -r fa7a99c2d079 schemas/doxygen/csharp/labels.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/schemas/doxygen/csharp/labels.xml Wed May 14 01:22:21 2014 +0400 @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff -r 2d1a0a75fc49 -r fa7a99c2d079 schemas/doxygen/csharp/member.xsl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/schemas/doxygen/csharp/member.xsl Wed May 14 01:22:21 2014 +0400 @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + +
    NameDescription
    + + + + +
    +
    + + + + + + +

    +
    + +
    +
    + + + virtual + + + enum + + + +   + + + + + +   + + + + + + + + { + get; + set; + } + +
    + +
    + +
    +
    +
    + +
    \ No newline at end of file diff -r 2d1a0a75fc49 -r fa7a99c2d079 schemas/doxygen/csharp/namespace.xsl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/schemas/doxygen/csharp/namespace.xsl Wed May 14 01:22:21 2014 +0400 @@ -0,0 +1,41 @@ + + + + + +

    namespace

    + +
    +

    Namespaces

    +
      + +
    +
    +
    + +
    +

    Classes

    +
      + +
    +
    +
    + +
    +

    Members

    + +
    +
    + +
    + +
  • +
    + + +
  • +
    +
    \ No newline at end of file diff -r 2d1a0a75fc49 -r fa7a99c2d079 schemas/doxygen/csharp/struct.xsl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/schemas/doxygen/csharp/struct.xsl Wed May 14 01:22:21 2014 +0400 @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff -r 2d1a0a75fc49 -r fa7a99c2d079 schemas/form.types.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/schemas/form.types.xml Wed May 14 01:22:21 2014 +0400 @@ -0,0 +1,30 @@ + + + + + + + + ^\w+$ + + + + + \ No newline at end of file diff -r 2d1a0a75fc49 -r fa7a99c2d079 schemas/locale/ru/form.types.s --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/schemas/locale/ru/form.types.s Wed May 14 01:22:21 2014 +0400 @@ -0,0 +1,3 @@ +InvalidLoginFormat = Неверный формат %schemaNode.label.no% +PasswordDoesntMatch = Пароли должны совпадать +InvalidDateFormat = Неверный формат %schemaNode.label% \ No newline at end of file diff -r 2d1a0a75fc49 -r fa7a99c2d079 schemas/locale/ru/user.s --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/schemas/locale/ru/user.s Wed May 14 01:22:21 2014 +0400 @@ -0,0 +1,18 @@ +login = Имя +name = Имя для входа +name.blame = имя для входа +name.no = имени для входа +oldPassword = Старый пароль +password = Пароль +password.blame = пароль +password.no = пароля +password2 = Пароль повторно +password2.blame = пароль повторно +givenName = Имя +sn = Фамилия +telephoneNumber = Телефон +mail = Электронная почта +mail.no = электронной почты +roomNumber = Комната +departmentNumber = Подразделение +ElementIsRequired = Необходимо заполнить %schemaNode.label.blame% \ No newline at end of file diff -r 2d1a0a75fc49 -r fa7a99c2d079 schemas/login.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/schemas/login.xml Wed May 14 01:22:21 2014 +0400 @@ -0,0 +1,11 @@ + + + + + + ^\w+$ + + + + + \ No newline at end of file diff -r 2d1a0a75fc49 -r fa7a99c2d079 schemas/user.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/schemas/user.xml Wed May 14 01:22:21 2014 +0400 @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff -r 2d1a0a75fc49 -r fa7a99c2d079 shared_view/layout/default.tt --- a/shared_view/layout/default.tt Mon May 12 18:05:30 2014 +0400 +++ b/shared_view/layout/default.tt Wed May 14 01:22:21 2014 +0400 @@ -26,6 +26,11 @@ [% END %] -[% WRAPPER PAGE_LAYOUT; +[% BLOCK CONTENT_LAYOUT; render(document.layout ? "default/$document.layout" : 'default/base', content = content, model = model); -END %] \ No newline at end of file +END %] +[% WRAPPER PAGE_LAYOUT; + WRAPPER CONTENT_LAYOUT; + content; + END; +END %] diff -r 2d1a0a75fc49 -r fa7a99c2d079 view/layout/default/library.tt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/view/layout/default/library.tt Wed May 14 01:22:21 2014 +0400 @@ -0,0 +1,91 @@ +[% + labels( + CollectionTitle = "Home (%name%)" + ); + document.css.push(css.global); + document.css.push(css.library); + + CollectionClass = 'Benzin::Doxygen::Model::Collection'; + CompoundClass = 'Benzin::Doxygen::Model::Compound'; + MemberClass = 'Benzin::Doxygen::Model::Member'; + + Icons = { + namespace = 'NS', + class = 'C', + variable = 'Var', + function = 'F', + property = 'P', + interface = 'I', + struct = 'S', + enum = 'E', + event = 'Ev' + }; + + NullIcon = '  '; + + coll = resource.Seek('doxygenCollection'); + + compounds = coll.location.compounds; + members = resource.Seek('compound').location || coll.location.members; + + document.title = model.canonicalName; + + MACRO GetLocationFor(model) BLOCK; + members.Child(model.doxId) IF model.isa(MemberClass); + compounds.Child(model.doxId) IF model.isa(CompoundClass); + END; +%] +[% MACRO IconKind(model) BLOCK %][% Icons.item(model.kind) || NullIcon %][% END %] +[% MACRO Link(model,label,title) BLOCK %][% IconKind(model) %] $label[% END %] +[% MACRO CompoundSiblings(model) BLOCK %] + [% compound = model.isa(MemberClass) ? model.compound : model %] +
      + [% FOREACH item IN compound.GetSiblings({ kind = { '-not_in' = [ 'file', 'dir' ] } }) %] +
    • [% Link(item,item.shortName, item.canonicalName) %]
    • + [% END %] +
    +[% END %] +[% MACRO Members(model) BLOCK %] + [% compound = model.isa(MemberClass) ? model.compound : model %] +
      + [% FOREACH item IN compound.GetMembers({ kind = { '-not_in' = [ 'file', 'dir' ] } }) %] +
    • [% Link(item,item.shortName, item.canonicalName) %]
    • + [% END %] +
    +[% END %] +
    + + + +
    + $content +
    + +
    \ No newline at end of file diff -r 2d1a0a75fc49 -r fa7a99c2d079 view/site/library.tt --- a/view/site/library.tt Mon May 12 18:05:30 2014 +0400 +++ b/view/site/library.tt Wed May 14 01:22:21 2014 +0400 @@ -0,0 +1,21 @@ +[% document.css.push(css.library) %] +[% FOREACH coll IN model.resultset('collection').search_rs({}, {order_by = { '-desc' = 'updateDate' }}).all() %] + +[% END %] \ No newline at end of file diff -r 2d1a0a75fc49 -r fa7a99c2d079 view/site/library/@Collection.tt --- a/view/site/library/@Collection.tt Mon May 12 18:05:30 2014 +0400 +++ b/view/site/library/@Collection.tt Wed May 14 01:22:21 2014 +0400 @@ -0,0 +1,20 @@ +[% + document.layout = 'library'; + compounds = resource.GetCompoundsLocation(); + IF model.indexDocument; + display_model( + model.indexDocument, + args = { + compounds = compounds.toString(), + members = resource.GetMembersLocation().toString() + } + ); + ELSE; +%] +

    $model.description

    +
      + [% FOREACH item IN model.GetPackages() %] +
    • $item.name
    • + [% END %] +
    +[% END %] \ No newline at end of file diff -r 2d1a0a75fc49 -r fa7a99c2d079 view/site/library/_any/@Compound.tt --- a/view/site/library/_any/@Compound.tt Mon May 12 18:05:30 2014 +0400 +++ b/view/site/library/_any/@Compound.tt Wed May 14 01:22:21 2014 +0400 @@ -0,0 +1,10 @@ +[% + document.layout='library'; + coll = resource.Seek('doxygenCollection'); + args = { + compounds = resource.parent.location.toString(), + members = resource.location.toString() + } + T = import('Benzin::Doxygen::DisplayTransform'); + T.instance.DisplayCompound(model, args ); +%] diff -r 2d1a0a75fc49 -r fa7a99c2d079 view/site/library/_any/@Member.tt --- a/view/site/library/_any/@Member.tt Mon May 12 18:05:30 2014 +0400 +++ b/view/site/library/_any/@Member.tt Wed May 14 01:22:21 2014 +0400 @@ -0,0 +1,14 @@ +[% + document.layout='library'; + coll = resource.Seek('doxygenCollection'); + args = { + compounds = coll.GetCompoundsLocation().toString(), + members = resource.parent.location.toString(), + memberId = model.doxId, + kind = 'member' + } + T = import('Benzin::Doxygen::DisplayTransform'); + args.memberId = model.doxId; + args.kind = 'member'; + T.instance.DisplayCompound(model.compound, args ); +%]