Skip to content
Snippets Groups Projects
Commit b062c72e authored by Pastor Mickaël's avatar Pastor Mickaël
Browse files

Templates updates

parent b9dacba8
No related branches found
No related tags found
No related merge requests found
...@@ -8,21 +8,16 @@ ...@@ -8,21 +8,16 @@
<?php if (isset($entity) ) : ?> <?php if (isset($entity) ) : ?>
<div id="minimal-entity" class="col-sm-9 col-md-5"> <div id="minimal-entity" class="col-sm-9 col-md-5">
<h3> <h1>
<?= $this->Html->link( $entity['name'], <?= $this->Html->link( $entity['name'],
['controller' => 'Entity', 'action' => 'index','?' => ['name' => $entity->name, 'description' => $entity->description]], ['controller' => 'Entity', 'action' => 'index','?' => ['name' => $entity->name, 'description' => $entity->description]],
['escape' => false] ) ?> ['escape' => false] ) ?>
<?= $this->Html->link( $this->Html->image($entity['logo'],["alt"=>"logo_".$entity["name"]]), </h1>
<?= $this->Html->link( $this->Html->image($entity['logo'],["alt"=>$entity["name"]]),
$entity->url, $entity->url,
['escape' => false] ) ?> ['escape' => false] ) ?>
</h3>
<div> <div>
<?php if ($entity->type == "recipient" ) : ?> <?php if ($entity->type == "recipient" ) : ?>
<?= $this->fetch("Rating") ?> <?= $this->fetch("Rating") ?>
...@@ -45,18 +40,11 @@ ...@@ -45,18 +40,11 @@
<?= $this->Html->link( __("Montepllier"), <?= $this->Html->link( __("Montepllier"),
['controller' => 'Entity', 'action' => 'index','?' => ['name' => '$entity->name', 'description' => '$entity->description']], ['controller' => 'Entity', 'action' => 'index','?' => ['name' => '$entity->name', 'description' => '$entity->description']],
['escape' => false] ) ?> ['escape' => false] ) ?>
</h3>
<?= $this->Html->link( $this->Html->image("logos/entity.png",["alt"=>"logo [entityName]","class"=>"img-responsive"]), <?= $this->Html->link( $this->Html->image("logos/entity.png",["alt"=>"[entityName]","class"=>"img-responsive"]),
['controller' => 'Entity', 'action' => 'i','?' => ['name' => '$entity->name', 'description' => '$entity->description']], ['controller' => 'Entity', 'action' => 'i','?' => ['name' => '$entity->name', 'description' => '$entity->description']],
['escape' => false] ) ?> ['escape' => false] ) ?>
</h3>
<div>
<p class="text-overflow">
Town hall.
</p>
</div>
</div> </div>
</li> </li>
<li> <li>
...@@ -66,18 +54,12 @@ ...@@ -66,18 +54,12 @@
<?= $this->Html->link( __("Montepllier"), <?= $this->Html->link( __("Montepllier"),
['controller' => 'Entity', 'action' => 'index','?' => ['name' => '$entity->name', 'description' => '$entity->description']], ['controller' => 'Entity', 'action' => 'index','?' => ['name' => '$entity->name', 'description' => '$entity->description']],
['escape' => false] ) ?> ['escape' => false] ) ?>
</h3>
<?= $this->Html->link( $this->Html->image("logos/entity.png",["alt"=>"logo [entityName]","class"=>"img-responsive"]), <?= $this->Html->link( $this->Html->image("logos/entity.png",["alt"=>"[entityName]","class"=>"img-responsive"]),
['controller' => 'Entity', 'action' => 'i','?' => ['name' => '$entity->name', 'description' => '$entity->description']], ['controller' => 'Entity', 'action' => 'i','?' => ['name' => '$entity->name', 'description' => '$entity->description']],
['escape' => false] ) ?> ['escape' => false] ) ?>
</h3>
<div>
<p class="text-overflow">
Town hall.
</p>
</div>
</div> </div>
</li> </li>
</ul> </ul>
......
...@@ -6,16 +6,18 @@ ...@@ -6,16 +6,18 @@
?> ?>
<?php if (!isset($entity) ) : ?> <?php if (!isset($entity) ) : ?>
<div id="overview-entity" class="row "> <div id="overview-entity" class="row ">
<h2>
<?= $this->Html->link($this->Html->image("logos/entity.png",["alt"=>"logo [entityName]","class"=>"img-responsive col-md-offset-3 col-md-4"]), <?= $this->Html->link($this->Html->image("logos/entity.png",["alt"=>"[entityName]","class"=>"img-responsive col-md-4"]),
"#",// url of the entity web site. "#",// url of the entity web site.
['escape' => false ,"alt"=>"logo_anonymous","class"=>"img-responsive"] ) ?> ['escape' => false , "class"=>"img-responsive"] ) ?>
</h2>
<ul class="list-unstyled"> <ul class="list-unstyled">
<li> <li>
Name <h1>
Name
</h1>
</li> </li>
<li> <li>
Raison sociale Raison sociale
......
...@@ -18,16 +18,17 @@ ...@@ -18,16 +18,17 @@
<div id="overview-entity" class="row "> <div id="overview-entity" class="row ">
<h2>
<?= $this->Html->link($this->Html->image("logos/software.png",["alt"=>"logo [entityName]","class"=>"img-responsive col-md-offset-3 col-md-4"]), <?= $this->Html->link($this->Html->image("logos/software.png",["alt"=>"logo [entityName]","class"=>"img-responsive col-md-4"]),
"#",// url of the entity web site. "#",// url of the entity web site.
['escape' => false ,"alt"=>"logo_anonymous","class"=>"img-responsive"] ) ?> ['escape' => false ,"alt"=>"logo_anonymous","class"=>"img-responsive"] ) ?>
</h2>
<ul class="list-unstyled"> <ul class="list-unstyled">
<li> <li>
<?= $project['name'] ?> <h1>
<?= $project['name'] ?>
</h1>
</li> </li>
<li> <li>
<?= $this->fetch("Rating")?> <?= $this->fetch("Rating")?>
......
...@@ -31,8 +31,9 @@ ...@@ -31,8 +31,9 @@
<?= $this->start('Project') ?> <?= $this->start('Project') ?>
<h3 id="project-header"> <h3 id="project-header">
<?= $project->name ?> <?= $project->name ?>
<?= $this->Html->image('logos/software.png', ['alt' => 'logo [ProjectName]','class' => 'img-responsive']) ?>
</h3> </h3>
<?= $this->Html->image('logos/software.png', ['alt' => '[ProjectName]','class' => 'img-responsive']) ?>
<?= $this->end('Project') ?> <?= $this->end('Project') ?>
<?= $this->start('ProjectLink') ?> <?= $this->start('ProjectLink') ?>
...@@ -57,7 +58,7 @@ ...@@ -57,7 +58,7 @@
</p> </p>
</div> </div>
<div> <div>
<ul class="list-unstyled"> <ul class="list-unstyled list-inline">
<li> <li>
Tags Tags
</li> </li>
...@@ -90,8 +91,9 @@ ...@@ -90,8 +91,9 @@
<?= $this->start('Project') ?> <?= $this->start('Project') ?>
<h3 id="project-header"> <h3 id="project-header">
<?= $project['name'] ?> <?= $project['name'] ?>
<?= $this->Html->image('logos/software.png', ['alt' => 'logo [ProjectName]','class' => 'img-responsive']) ?>
</h3> </h3>
<?= $this->Html->image('logos/software.png', ['alt' => '[ProjectName]','class' => 'img-responsive']) ?>
<?= $this->end('Project') ?> <?= $this->end('Project') ?>
<div id="software-minimal" class="col-sm-9 col-md-3"> <div id="software-minimal" class="col-sm-9 col-md-3">
...@@ -117,8 +119,8 @@ ...@@ -117,8 +119,8 @@
<?= $this->start('Project') ?> <?= $this->start('Project') ?>
<h3 id="project-header"> <h3 id="project-header">
<?= __("SoftwareName") ?> <?= __("SoftwareName") ?>
<?= $this->Html->image('logos/software.png', ['alt' => 'logo [ProjectName]','class' => 'img-responsive']) ?>
</h3> </h3>
<?= $this->Html->image('logos/software.png', ['alt' => '[ProjectName]','class' => 'img-responsive']) ?>
<?= $this->end('Project') ?> <?= $this->end('Project') ?>
<div id="minimal-software" class="col-sm-9 col-md-3"> <div id="minimal-software" class="col-sm-9 col-md-3">
......
...@@ -10,16 +10,8 @@ ...@@ -10,16 +10,8 @@
<h2> <h2>
<?= __("Users of ")?> <?= __("[ProjectName]")?> <?= __("Users of ")?> <?= __("[ProjectName]")?>
</h2> </h2>
<ul class="list-unstyled">
<li>
<?= $this->element("Entity/entitySummary") ?>
</li>
<li>
<?= $this->element("Entity/entitySummary") ?>
</li>
<li>
<?= $this->element("Entity/entitySummary") ?> <?= $this->element("Entity/entitySummary") ?>
</li>
</ul>
</div> </div>
\ No newline at end of file
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<div id="page-wrapper"> <div id="page-wrapper">
<div class="container-fluid"> <div class="container-fluid">
<div class="row"> <div class="row">
<h2 class="page-header"></h2>
...@@ -29,27 +29,27 @@ ...@@ -29,27 +29,27 @@
</div> </div>
<div class="row"> <div class="row">
<?= $this->element("Entity/creatorOf")?> <?= $this->element("Entity/creatorOf")?>
<?= $this->Html->link( "<span class='glyphicon glyphicon-plus'> <p class='text-hide'>creatorOf</p> </span>", <?= $this->Html->link( "All creators of [ProjectName]",
['controller' => 'Entity', 'action' => 'creatorOf','?' => ['id' => '']], ['controller' => 'Entity', 'action' => 'creatorOf','?' => ['id' => '']],
['escape' => false] ) ?> ['escape' => false] ) ?>
</div> </div>
<div class="row"> <div class="row">
<?= $this->element("Entity/contributorTo")?> <?= $this->element("Entity/contributorTo")?>
<?= $this->Html->link( "<span class='glyphicon glyphicon-plus'> <p class='text-hide'>contributorTo</p> </span>", <?= $this->Html->link( "All contributors of [ProjectName]",
['controller' => 'Entity', 'action' => 'contributorOf','?' => ['id' => '']], ['controller' => 'Entity', 'action' => 'contributorOf','?' => ['id' => '']],
['escape' => false] ) ?> ['escape' => false] ) ?>
</div> </div>
<div class="row"> <div class="row">
<?= $this->element("Entity/backerFor")?> <?= $this->element("Entity/backerFor")?>
<?= $this->Html->link( "<span class='glyphicon glyphicon-plus'> <p class='text-hide'>backerFor</p> </span>", <?= $this->Html->link( "All bakers off [ProjectName]",
['controller' => 'Entity', 'action' => 'backerFor','?' => ['id' => '']], ['controller' => 'Entity', 'action' => 'backerFor','?' => ['id' => '']],
['escape' => false] ) ?> ['escape' => false] ) ?>
</div> </div>
<div class="row"> <div class="row">
<?= $this->element("Entity/providerFor")?> <?= $this->element("Entity/providerFor")?>
<?= $this->Html->link( "<span class='glyphicon glyphicon-plus'> <p class='text-hide'>providerFor</p> </span>", <?= $this->Html->link( "All providers of ",
['controller' => 'Entity', 'action' => 'providerFor','?' => ['id' => '']], ['controller' => 'Entity', 'action' => 'providerFor','?' => ['id' => '']],
['escape' => false] ) ?> ['escape' => false] ) ?>
</div> </div>
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-1 main"> <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-1 main">
<div class="row"> <div class="row">
<?= $this->element("ProjectPage/overview") ?> <?= $this->element("ProjectPage/overview") ?>
</div> </div>
<div class="row"> <div class="row">
...@@ -30,39 +29,39 @@ ...@@ -30,39 +29,39 @@
</div> </div>
<div class="row"> <div class="row">
<?= $this->element("ProjectPage/screenShotsList")?> <?= $this->element("ProjectPage/screenShotsList")?>
<?= $this->Html->link( "<span class='glyphicon glyphicon-plus '> <p class='text-hide'>screenShotsList</p> </span>", <?= $this->Html->link( "All screenshots of [ProjectName]",
['controller' => 'Project', 'action' => 'screens','?' => ['id' => '']], ['controller' => 'Project', 'action' => 'screens','?' => ['id' => '']],
['escape' => false] ) ?> ['escape' => false] ) ?>
</div> </div>
<div class="row"> <div class="row">
<?= $this->element("ProjectPage/reviews")?> <?= $this->element("ProjectPage/reviews")?>
<?= $this->Html->link( "<span class='glyphicon glyphicon-plus'> <p class='text-hide'>reviews</p> </span>", <?= $this->Html->link( "All reviews of [ProjectName]",
['controller' => 'Project', 'action' => 'reviews','?' => ['id' => '']], ['controller' => 'Project', 'action' => 'reviews','?' => ['id' => '']],
['escape' => false] ) ?> ['escape' => false] ) ?>
</div> </div>
<div class="row"> <div class="row">
<?= $this->element("ProjectPage/serviceProviders")?> <?= $this->element("ProjectPage/serviceProviders")?>
<?= $this->Html->link( "<span class='glyphicon glyphicon-plus'> <p class='text-hide'>serviceProviders</p> </span>", <?= $this->Html->link( "All service providers of [ProjectName]",
['controller' => 'Project', 'action' => 'providers','?' => ['id' => '']], ['controller' => 'Project', 'action' => 'providers','?' => ['id' => '']],
['escape' => false] ) ?> ['escape' => false] ) ?>
</div> </div>
<div class="row"> <div class="row">
<?= $this->element("ProjectPage/usersOfProject")?> <?= $this->element("ProjectPage/usersOfProject")?>
<?= $this->Html->link( "<span class='glyphicon glyphicon-plus'> <p class='text-hide'>usersOfProject</p> </span>", <?= $this->Html->link( "All users of [ProjectName]",
['controller' => 'Project', 'action' => 'users','?' => ['id' => '']], ['controller' => 'Project', 'action' => 'users','?' => ['id' => '']],
['escape' => false] ) ?> ['escape' => false] ) ?>
</div> </div>
<div class="row"> <div class="row">
<?= $this->element("ProjectPage/alternativeTo")?> <?= $this->element("ProjectPage/alternativeTo")?>
<?= $this->Html->link( "<span class='glyphicon glyphicon-plus'> <p class='text-hide'>alternativeTo</p> </span>", <?= $this->Html->link( "All alternatives to [ProjectName]",
['controller' => 'Project', 'action' => 'alternative','?' => ['id' => '']], ['controller' => 'Project', 'action' => 'alternative','?' => ['id' => '']],
['escape' => false] ) ?> ['escape' => false] ) ?>
</div> </div>
<div class="row"> <div class="row">
<?= $this->element("ProjectPage/worksWellWith")?> <?= $this->element("ProjectPage/worksWellWith")?>
<?= $this->Html->link( "<span class='glyphicon glyphicon-plus'> <p class='text-hide'>worksWellWith</p> </span>", <?= $this->Html->link( "All softwares works well with [ProjectName]",
['controller' => 'Project', 'action' => 'works','?' => ['id' => '']], ['controller' => 'Project', 'action' => 'works','?' => ['id' => '']],
['escape' => false] ) ?> ['escape' => false] ) ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment