OSDN Git Service

テンプレート更新。
authornaoki hirata <naoki@magic3.org>
Mon, 3 Apr 2017 23:40:57 +0000 (08:40 +0900)
committernaoki hirata <naoki@magic3.org>
Mon, 3 Apr 2017 23:40:57 +0000 (08:40 +0900)
include/sql/sample/singlepage_demo2.sql
templates/bs_single_orange/html/modules.php
templates/bs_single_orange/index.php

index 865dd77..7a69479 100644 (file)
@@ -136,5 +136,5 @@ INSERT INTO _widget_param
 ('simple_html', 7,            'O:8:\"stdClass\":3:{s:2:\"id\";N;s:4:\"name\";s:16:\"名称未設定7\";s:4:\"html\";s:983:\"<div class=\"col-lg-3 col-md-6 text-center\"><div class=\"service-box\"><i class=\"fa fa-4x fa-diamond text-primary sr-icons\">&nbsp;</i><h3>Sturdy Templates</h3><p class=\"text-muted\">Our templates are updated regularly so they don&#39;t break.</p></div></div><div class=\"col-lg-3 col-md-6 text-center\"><div class=\"service-box\"><i class=\"fa fa-4x fa-paper-plane text-primary sr-icons\">&nbsp;</i><h3>Ready to Ship</h3><p class=\"text-muted\">You can use this theme as is, or you can make changes!</p></div></div><div class=\"col-lg-3 col-md-6 text-center\"><div class=\"service-box\"><i class=\"fa fa-4x fa-newspaper-o text-primary sr-icons\">&nbsp;</i><h3>Up to Date</h3><p class=\"text-muted\">We update dependencies to keep things fresh.</p></div></div><div class=\"col-lg-3 col-md-6 text-center\"><div class=\"service-box\"><i class=\"fa fa-4x fa-heart text-primary sr-icons\">&nbsp;</i><h3>Made with Love</h3><p class=\"text-muted\">You have to make your websites with love these days!</p></div></div>\r\n\";}', now()),
 ('simple_html', 8,            'O:8:\"stdClass\":3:{s:2:\"id\";N;s:4:\"name\";s:16:\"名称未設定8\";s:4:\"html\";s:146:\"<p>Ready to start your next project with us? That\'s great! Give us a call or send us an email and we will get back to you as soon as possible!</p>\";}', now()),
 ('simple_html', 9,            'O:8:\"stdClass\":3:{s:2:\"id\";N;s:4:\"name\";s:16:\"名称未設定9\";s:4:\"html\";s:304:\"<div class=\"col-lg-4 col-lg-offset-2 text-center\"><i class=\"fa fa-phone fa-3x sr-contact\">&nbsp;</i><p>123-456-6789</p></div><div class=\"col-lg-4 text-center\"><i class=\"fa fa-envelope-o fa-3x sr-contact\">&nbsp;</i><p><a href=\"mailto:your-email@your-domain.com\">feedback@startbootstrap.com</a></p></div>\r\n\";}', now()),
-('simple_html', 10,            '', now()),
+('simple_html', 10,            'O:8:\"stdClass\":3:{s:2:\"id\";N;s:4:\"name\";s:17:\"名称未設定10\";s:4:\"html\";s:2706:\"<div class=\"col-lg-4 col-sm-6\"><a class=\"portfolio-box\" href=\"[#M3_ROOT_URL#]/templates/bs_single_orange/img/portfolio/fullsize/1.jpg\"><img alt=\"\" class=\"img-responsive\" src=\"[#M3_ROOT_URL#]/templates/bs_single_orange/img/portfolio/thumbnails/1.jpg\" /><div class=\"portfolio-box-caption\"><div class=\"portfolio-box-caption-content\"><div class=\"project-category text-faded\">Category</div><div class=\"project-name\">Project Name</div></div></div></a></div><div class=\"col-lg-4 col-sm-6\"><a class=\"portfolio-box\" href=\"[#M3_ROOT_URL#]/templates/bs_single_orange/img/portfolio/fullsize/2.jpg\"><img alt=\"\" class=\"img-responsive\" src=\"[#M3_ROOT_URL#]/templates/bs_single_orange/img/portfolio/thumbnails/2.jpg\" /><div class=\"portfolio-box-caption\"><div class=\"portfolio-box-caption-content\"><div class=\"project-category text-faded\">Category</div><div class=\"project-name\">Project Name</div></div></div></a></div><div class=\"col-lg-4 col-sm-6\"><a class=\"portfolio-box\" href=\"[#M3_ROOT_URL#]/templates/bs_single_orange/img/portfolio/fullsize/3.jpg\"><img alt=\"\" class=\"img-responsive\" src=\"[#M3_ROOT_URL#]/templates/bs_single_orange/img/portfolio/thumbnails/3.jpg\" /><div class=\"portfolio-box-caption\"><div class=\"portfolio-box-caption-content\"><div class=\"project-category text-faded\">Category</div><div class=\"project-name\">Project Name</div></div></div></a></div><div class=\"col-lg-4 col-sm-6\"><a class=\"portfolio-box\" href=\"[#M3_ROOT_URL#]/templates/bs_single_orange/img/portfolio/fullsize/4.jpg\"><img alt=\"\" class=\"img-responsive\" src=\"[#M3_ROOT_URL#]/templates/bs_single_orange/img/portfolio/thumbnails/4.jpg\" /><div class=\"portfolio-box-caption\"><div class=\"portfolio-box-caption-content\"><div class=\"project-category text-faded\">Category</div><div class=\"project-name\">Project Name</div></div></div></a></div><div class=\"col-lg-4 col-sm-6\"><a class=\"portfolio-box\" href=\"[#M3_ROOT_URL#]/templates/bs_single_orange/img/portfolio/fullsize/5.jpg\"><img alt=\"\" class=\"img-responsive\" src=\"[#M3_ROOT_URL#]/templates/bs_single_orange/img/portfolio/thumbnails/5.jpg\" /><div class=\"portfolio-box-caption\"><div class=\"portfolio-box-caption-content\"><div class=\"project-category text-faded\">Category</div><div class=\"project-name\">Project Name</div></div></div></a></div><div class=\"col-lg-4 col-sm-6\"><a class=\"portfolio-box\" href=\"[#M3_ROOT_URL#]/templates/bs_single_orange/img/portfolio/fullsize/6.jpg\"><img alt=\"\" class=\"img-responsive\" src=\"[#M3_ROOT_URL#]/templates/bs_single_orange/img/portfolio/thumbnails/6.jpg\" /><div class=\"portfolio-box-caption\"><div class=\"portfolio-box-caption-content\"><div class=\"project-category text-faded\">Category</div><div class=\"project-name\">Project Name</div></div></div></a></div>\";}', now()),
 ('simple_html', 11,            'O:8:\"stdClass\":3:{s:2:\"id\";N;s:4:\"name\";s:17:\"名称未設定11\";s:4:\"html\";s:123:\"<a href=\"http://startbootstrap.com/template-overviews/creative/\" class=\"btn btn-default btn-xl sr-button\">Download Now!</a>\";}', now());
\ No newline at end of file
index 30f27c6..f2d7528 100644 (file)
@@ -68,6 +68,16 @@ function modChrome_bootservicebody($module, &$params, &$attribs)
         </div>
        <?php endif;
 }
+function modChrome_bootportfolio($module, &$params, &$attribs)
+{
+       if (!empty ($module->content)) : ?>
+        <div class="container-fluid">
+            <div class="row no-gutter popup-gallery">
+               <?php echo $module->content; ?>
+            </div>
+        </div>
+       <?php endif;
+}
 function modChrome_bootcontact($module, &$params, &$attribs)
 {
        if (!empty ($module->content)) : ?>
index e8a36a4..0701628 100644 (file)
@@ -77,12 +77,105 @@ $templateUrl = $document->baseurl . '/templates/' . $document->template;
        </section>
 
     <section class="no-padding" id="portfolio">
+        <jdoc:include type="modules" name="portfolio" style="bootportfolio" />
+    </section>
+<!--
+   <section class="no-padding" id="portfolio">
         <div class="container-fluid">
             <div class="row no-gutter popup-gallery">
-                <jdoc:include type="modules" name="portfolio" style="none" />
+                <div class="col-lg-4 col-sm-6">
+                    <a href="/magic3/templates/bs_single_orange/img/portfolio/fullsize/1.jpg" class="portfolio-box">
+                        <img src="/magic3/templates/bs_single_orange/img/portfolio/thumbnails/1.jpg" class="img-responsive" alt="">
+                        <div class="portfolio-box-caption">
+                            <div class="portfolio-box-caption-content">
+                                <div class="project-category text-faded">
+                                    Category
+                                </div>
+                                <div class="project-name">
+                                    Project Name
+                                </div>
+                            </div>
+                        </div>
+                    </a>
+                </div>
+                <div class="col-lg-4 col-sm-6">
+                    <a href="/magic3/templates/bs_single_orange/img/portfolio/fullsize/2.jpg" class="portfolio-box">
+                        <img src="/magic3/templates/bs_single_orange/img/portfolio/thumbnails/2.jpg" class="img-responsive" alt="">
+                        <div class="portfolio-box-caption">
+                            <div class="portfolio-box-caption-content">
+                                <div class="project-category text-faded">
+                                    Category
+                                </div>
+                                <div class="project-name">
+                                    Project Name
+                                </div>
+                            </div>
+                        </div>
+                    </a>
+                </div>
+                <div class="col-lg-4 col-sm-6">
+                    <a href="/magic3/templates/bs_single_orange/img/portfolio/fullsize/3.jpg" class="portfolio-box">
+                        <img src="/magic3/templates/bs_single_orange/img/portfolio/thumbnails/3.jpg" class="img-responsive" alt="">
+                        <div class="portfolio-box-caption">
+                            <div class="portfolio-box-caption-content">
+                                <div class="project-category text-faded">
+                                    Category
+                                </div>
+                                <div class="project-name">
+                                    Project Name
+                                </div>
+                            </div>
+                        </div>
+                    </a>
+                </div>
+                <div class="col-lg-4 col-sm-6">
+                    <a href="/magic3/templates/bs_single_orange/img/portfolio/fullsize/4.jpg" class="portfolio-box">
+                        <img src="/magic3/templates/bs_single_orange/img/portfolio/thumbnails/4.jpg" class="img-responsive" alt="">
+                        <div class="portfolio-box-caption">
+                            <div class="portfolio-box-caption-content">
+                                <div class="project-category text-faded">
+                                    Category
+                                </div>
+                                <div class="project-name">
+                                    Project Name
+                                </div>
+                            </div>
+                        </div>
+                    </a>
+                </div>
+                <div class="col-lg-4 col-sm-6">
+                    <a href="/magic3/templates/bs_single_orange/img/portfolio/fullsize/5.jpg" class="portfolio-box">
+                        <img src="/magic3/templates/bs_single_orange/img/portfolio/thumbnails/5.jpg" class="img-responsive" alt="">
+                        <div class="portfolio-box-caption">
+                            <div class="portfolio-box-caption-content">
+                                <div class="project-category text-faded">
+                                    Category
+                                </div>
+                                <div class="project-name">
+                                    Project Name
+                                </div>
+                            </div>
+                        </div>
+                    </a>
+                </div>
+                <div class="col-lg-4 col-sm-6">
+                    <a href="/magic3/templates/bs_single_orange/img/portfolio/fullsize/6.jpg" class="portfolio-box">
+                        <img src="/magic3/templates/bs_single_orange/img/portfolio/thumbnails/6.jpg" class="img-responsive" alt="">
+                        <div class="portfolio-box-caption">
+                            <div class="portfolio-box-caption-content">
+                                <div class="project-category text-faded">
+                                    Category
+                                </div>
+                                <div class="project-name">
+                                    Project Name
+                                </div>
+                            </div>
+                        </div>
+                    </a>
+                </div>
             </div>
         </div>
-    </section>
+    </section>-->
        
     <?php if ($document->countModules('others')): ?>
     <jdoc:include type="modules" name="others" style="bootother" />