-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mise à jour pour la version alpha8 du CMS.
- Loading branch information
Showing
7 changed files
with
181 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
$(function () { | ||
/* MODAL */ | ||
var target = ''; | ||
$('[data-toogle="modal"]').click(function (evt) { | ||
evt.preventDefault(); | ||
target = $(this).data('target'); | ||
$(target).show(); | ||
$('body').toggleClass('modal-open'); | ||
}); | ||
$(window).click(function (evt) { | ||
if (evt.target.className === 'modal' || evt.target.className === 'close') { | ||
$(target).hide(); | ||
$('body').toggleClass('modal-open'); | ||
} | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "soosyze-extension/stellar", | ||
"type": "soosyze-theme", | ||
"description": "Say hello to Stellar, a slick little one-pager with a super vibrant color palette (which I guess you can always tone down if it's a little too vibrant for you).", | ||
"version": "1.0", | ||
"extra": { | ||
"soosyze-theme": { | ||
"sections": [ | ||
"header", | ||
"content_header", | ||
"content_footer", | ||
"footer", | ||
"footer_first", | ||
"footer_second" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,36 +35,23 @@ | |
|
||
<!-- Footer --> | ||
<footer id="footer"> | ||
<?php if (!empty($section[ 'footer_first' ])): ?> | ||
<section> | ||
<?php echo $section[ 'footer_first' ]; ?> | ||
</section> | ||
<?php endif; ?> | ||
<?php if (!empty($section[ 'footer_second' ])): ?> | ||
<section> | ||
<?php echo $section[ 'footer_second' ]; ?> | ||
</section> | ||
<?php endif; ?> | ||
<section> | ||
<h2>Aliquam sed mauris</h2> | ||
<p>Sed lorem ipsum dolor sit amet et nullam consequat feugiat consequat | ||
magna adipiscing tempus etiam dolore veroeros. eget dapibus mauris. | ||
Cras aliquet, nisl ut viverra sollicitudin, ligula erat egestas velit, | ||
vitae tincidunt odio.</p> | ||
</section> | ||
|
||
<section> | ||
<h2>Etiam feugiat</h2> | ||
<dl class="alt"> | ||
<dt>Address</dt> | ||
<dd>1234 Somewhere Road • Nashville, TN 00000 • USA</dd> | ||
<dt>Phone</dt> | ||
<dd>(000) 000-0000 x 0000</dd> | ||
<dt>Email</dt> | ||
<dd><a href="#">[email protected]</a></dd> | ||
</dl> | ||
<ul class="icons"> | ||
<li><a href="#" class="icon fab fa-twitter alt"><span class="label">Twitter</span></a></li> | ||
<li><a href="#" class="icon fab fa-facebook alt"><span class="label">Facebook</span></a></li> | ||
<li><a href="#" class="icon fab fa-instagram alt"><span class="label">Instagram</span></a></li> | ||
<li><a href="#" class="icon fab fa-github alt"><span class="label">GitHub</span></a></li> | ||
<li><a href="#" class="icon fab fa-dribbble alt"><span class="label">Dribbble</span></a></li> | ||
</ul> | ||
<?php echo $section[ 'second_menu' ]; ?> | ||
</section> | ||
|
||
<p class="copyright"> | ||
Built by <a href="https://twitter.com/ajlkn">@ajlkn</a> for <a href="https://html5up.net">HTML5 UP</a> | | ||
Power by <a href="https://soosyze.com">SoosyzeCMS</a>. | ||
Built by <a href="https://twitter.com/ajlkn">@ajlkn</a> for <a href="https://html5up.net">HTML5 UP</a>. | ||
</p> | ||
<?php if (!empty($section[ 'footer' ])): ?> | ||
<?php echo $section[ 'footer' ]; ?> | ||
<?php endif; ?> | ||
</footer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,9 @@ | |
</span> | ||
<?php endif; ?> | ||
<h2><a href="<?php echo $base_path; ?>"><?php echo $title; ?></a></h2> | ||
<?php if (!empty($section[ 'header' ])): ?> | ||
<?php echo $section[ 'header' ]; ?> | ||
<?php endif; ?> | ||
</header> | ||
<!-- Nav --> | ||
<nav id="nav"> | ||
|
@@ -23,42 +26,37 @@ | |
<?php echo $section[ 'messages' ]; ?> | ||
<?php endif; ?> | ||
</header> | ||
<?php echo $section[ 'content' ] ?> | ||
<?php if (!empty($section[ 'content_header' ])): ?> | ||
<?php echo $section[ 'content_header' ]; ?> | ||
<?php endif; ?> | ||
<?php echo $section[ 'content' ]; ?> | ||
<?php if (!empty($section[ 'content_footer' ])): ?> | ||
<?php echo $section[ 'content_footer' ]; ?> | ||
<?php endif; ?> | ||
</div> | ||
</div> | ||
</section> | ||
</div> | ||
<!-- Footer --> | ||
<footer id="footer"> | ||
<?php if (!empty($section[ 'footer_first' ])): ?> | ||
<section> | ||
<?php echo $section[ 'footer_first' ]; ?> | ||
</section> | ||
<?php endif; ?> | ||
<?php if (!empty($section[ 'footer_second' ])): ?> | ||
<section> | ||
<?php echo $section[ 'footer_second' ]; ?> | ||
</section> | ||
<?php endif; ?> | ||
<section> | ||
<h2>Aliquam sed mauris</h2> | ||
<p>Sed lorem ipsum dolor sit amet et nullam consequat feugiat consequat | ||
magna adipiscing tempus etiam dolore veroeros. eget dapibus mauris. | ||
Cras aliquet, nisl ut viverra sollicitudin, ligula erat egestas velit, | ||
vitae tincidunt odio.</p> | ||
</section> | ||
<section> | ||
<h2>Etiam feugiat</h2> | ||
<dl class="alt"> | ||
<dt>Address</dt> | ||
<dd>1234 Somewhere Road • Nashville, TN 00000 • USA</dd> | ||
<dt>Phone</dt> | ||
<dd>(000) 000-0000 x 0000</dd> | ||
<dt>Email</dt> | ||
<dd><a href="#">[email protected]</a></dd> | ||
</dl> | ||
<ul class="icons"> | ||
<li><a href="#" class="icon fab fa-twitter alt"><span class="label">Twitter</span></a></li> | ||
<li><a href="#" class="icon fab fa-facebook alt"><span class="label">Facebook</span></a></li> | ||
<li><a href="#" class="icon fab fa-instagram alt"><span class="label">Instagram</span></a></li> | ||
<li><a href="#" class="icon fab fa-github alt"><span class="label">GitHub</span></a></li> | ||
<li><a href="#" class="icon fab fa-dribbble alt"><span class="label">Dribbble</span></a></li> | ||
</ul> | ||
<?php echo $section[ 'second_menu' ]; ?> | ||
</section> | ||
<p class="copyright"> | ||
Built by <a href="https://twitter.com/ajlkn">@ajlkn</a> for <a href="https://html5up.net">HTML5 UP</a> | | ||
Power by <a href="http://soosyze.com/">SoosyzeCMS</a>. | ||
Built by <a href="https://twitter.com/ajlkn">@ajlkn</a> for <a href="https://html5up.net">HTML5 UP</a>. | ||
</p> | ||
<?php if (!empty($section[ 'footer' ])): ?> | ||
<?php echo $section[ 'footer' ]; ?> | ||
<?php endif; ?> | ||
</footer> | ||
|