You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by gm...@apache.org on 2014/06/27 04:59:40 UTC
svn commit: r1605943 [7/7] - in /roller/trunk/app/src/main/webapp/themes:
brushedmetal/ gaurav/ gaurav/css/ gaurav/font/ gaurav/icons/ gaurav/images/
gaurav/js/
Added: roller/trunk/app/src/main/webapp/themes/gaurav/theme.xml
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/webapp/themes/gaurav/theme.xml?rev=1605943&view=auto
==============================================================================
--- roller/trunk/app/src/main/webapp/themes/gaurav/theme.xml (added)
+++ roller/trunk/app/src/main/webapp/themes/gaurav/theme.xml Fri Jun 27 02:59:39 2014
@@ -0,0 +1,188 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<weblogtheme>
+
+ <!-- Bootstrap based Roller theme -->
+
+ <id>gaurav</id>
+ <name>Gaurav</name>
+ <description>Responsive Bootstrap-based theme using modern HTML5 and CSS3 design by Gaurav Saini.</description>
+ <author>Gaurav Saini</author>
+ <type>standard</type>
+
+
+ <!-- theme preview image -->
+ <preview-image path="images/theme-resposive.png" />
+
+ <!-- stylesheet -->
+ <stylesheet>
+ <name>custom.css</name>
+ <description>Custom style sheet</description>
+ <link>custom.css</link>
+ <templateCode>
+ <templateLanguage>velocity</templateLanguage>
+ <contentType>text/html</contentType>
+ <contentsFile>custom_css.vm</contentsFile>
+ <type>standard</type>
+ </templateCode>
+ </stylesheet>
+
+ <!-- templates -->
+ <template action="weblog">
+ <name>Weblog</name>
+ <description>Main page of weblog</description>
+ <link></link>
+ <navbar>false</navbar>
+ <hidden>true</hidden>
+ <templateCode>
+ <templateLanguage>velocity</templateLanguage>
+ <contentType>text/html</contentType>
+ <contentsFile>weblog.vm</contentsFile>
+ <type>standard</type>
+ </templateCode>
+ </template>
+
+ <template action="permalink">
+ <name>Entry</name>
+ <description>Page for one weblog entry</description>
+ <link></link>
+ <navbar>false</navbar>
+ <hidden>true</hidden>
+ <templateCode>
+ <templateLanguage>velocity</templateLanguage>
+ <contentType>text/html</contentType>
+ <contentsFile>entry.vm</contentsFile>
+ <type>standard</type>
+ </templateCode>
+ </template>
+
+ <template action="tagsIndex">
+ <name>TagsIndex</name>
+ <description>Tag index page</description>
+ <link></link>
+ <navbar>false</navbar>
+ <hidden>true</hidden>
+ <templateCode>
+ <templateLanguage>velocity</templateLanguage>
+ <contentType>text/html</contentType>
+ <contentsFile>tags_index.vm</contentsFile>
+ <type>standard</type>
+ </templateCode>
+ </template>
+
+ <template action="search">
+ <name>Search</name>
+ <description>Search results page</description>
+ <link></link>
+ <navbar>false</navbar>
+ <hidden>true</hidden>
+ <templateCode>
+ <templateLanguage>velocity</templateLanguage>
+ <contentType>text/html</contentType>
+ <contentsFile>search.vm</contentsFile>
+ <type>standard</type>
+ </templateCode>
+ </template>
+
+ <template action="custom">
+ <name>_day</name>
+ <description>One day's worth of entries</description>
+ <link></link>
+ <navbar>false</navbar>
+ <hidden>true</hidden>
+ <templateCode>
+ <templateLanguage>velocity</templateLanguage>
+ <contentType>text/html</contentType>
+ <contentsFile>day.vm</contentsFile>
+ <type>standard</type>
+ </templateCode>
+ </template>
+
+ <template action="custom">
+ <name>Archives</name>
+ <description>Calendar browser and links to latest entries</description>
+ <link>archives</link>
+ <navbar>true</navbar>
+ <hidden>false</hidden>
+ <templateCode>
+ <templateLanguage>velocity</templateLanguage>
+ <contentType>text/html</contentType>
+ <contentsFile>archives.vm</contentsFile>
+ <type>standard</type>
+ </templateCode>
+ </template>
+
+ <template action="custom">
+ <name>standard_head</name>
+ <description>Contents of HTML head</description>
+ <link></link>
+ <navbar>false</navbar>
+ <hidden>true</hidden>
+ <templateCode>
+ <templateLanguage>velocity</templateLanguage>
+ <contentType>text/html</contentType>
+ <contentsFile>std_head.vm</contentsFile>
+ <type>standard</type>
+ </templateCode>
+ </template>
+
+ <template action="custom">
+ <name>standard_header</name>
+ <description>Displayed in header of each page</description>
+ <link></link>
+ <navbar>false</navbar>
+ <hidden>true</hidden>
+ <templateCode>
+ <templateLanguage>velocity</templateLanguage>
+ <contentType>text/html</contentType>
+ <contentsFile>std_header.vm</contentsFile>
+ <type>standard</type>
+ </templateCode>
+ </template>
+
+ <template action="custom">
+ <name>standard_footer</name>
+ <description>For footer of each page</description>
+ <link></link>
+ <navbar>false</navbar>
+ <hidden>true</hidden>
+ <templateCode>
+ <templateLanguage>velocity</templateLanguage>
+ <contentType>text/html</contentType>
+ <contentsFile>std_footer.vm</contentsFile>
+ <type>standard</type>
+ </templateCode>
+ </template>
+
+ <resource path="css/font-awesome.min.css" />
+ <resource path="css/bootstrap.css" />
+ <resource path="css/style.css" />
+
+ <resource path="js/jquery.js" />
+ <resource path="js/bootstrap.js" />
+ <resource path="js/searchhi.js"/>
+
+ <resource path="font/FontAwesome.otf" />
+ <resource path="font/fontawesome-webfont.eot" />
+ <resource path="font/fontawesome-webfont.svg" />
+ <resource path="font/fontawesome-webfont.ttf" />
+ <resource path="font/fontawesome-webfont.woff" />
+
+ <resource path="icons/asf-logo.png" />
+ <resource path="icons/comment.gif" />
+ <resource path="icons/delicious.gif" />
+ <resource path="icons/digman.gif" />
+ <resource path="icons/facebook-logo.png" />
+ <resource path="icons/feed-icon-14x14.png" />
+ <resource path="icons/feed-icon-28x28.png" />
+ <resource path="icons/flickr-icon.png" />
+ <resource path="icons/icon_clock.gif" />
+ <resource path="icons/linkedin-logo.jpg" />
+ <resource path="icons/page_white.png" />
+ <resource path="icons/page_white_acrobat.png" />
+ <resource path="icons/slashdot-13x13.png" />
+ <resource path="icons/tag_blue.png" />
+ <resource path="icons/technorati-16x15.png" />
+ <resource path="icons/twitter-icon.png" />
+
+</weblogtheme>
+
Propchange: roller/trunk/app/src/main/webapp/themes/gaurav/theme.xml
------------------------------------------------------------------------------
svn:executable = *
Added: roller/trunk/app/src/main/webapp/themes/gaurav/weblog.vm
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/webapp/themes/gaurav/weblog.vm?rev=1605943&view=auto
==============================================================================
--- roller/trunk/app/src/main/webapp/themes/gaurav/weblog.vm (added)
+++ roller/trunk/app/src/main/webapp/themes/gaurav/weblog.vm Fri Jun 27 02:59:39 2014
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<html lang="en">
+<!-- XFN friendly -->
+<head profile="http://gmpg.org/xfn/11">
+ #includeTemplate($model.weblog "standard_head")
+ <title>$model.weblog.name: $model.weblog.description</title>
+ #showAutodiscoveryLinks($model.weblog)
+ <link rel="stylesheet" type="text/css" href='$url.page("custom.css")' />
+</head>
+<body>
+
+ <!-- HEADER -->
+ <header>
+ #includeTemplate($model.weblog "standard_header")
+ </header>
+
+ <!-- BODY -->
+ <div class="container">
+
+ <div class="row">
+ <div class="col-lg-12">
+ <h1 class="page-header">$model.weblog.name <small>$model.weblog.description</small></h1>
+ </div>
+ </div>
+
+ <div class="row">
+
+ <!-- BODY MAIN-->
+ <div id="main_content" class="col-lg-8">
+ #set($pager = $model.getWeblogEntriesPager())
+ #showWeblogEntriesPager($pager)
+ #if ($model.permalink)
+ #showWeblogEntryComments($entry)
+ #showWeblogEntryCommentForm($entry)
+ #end
+ <ul class="pager">
+ #if($utils.isNotEmpty($pager.prevLink))<li class="previous"><a href="$pager.prevLink">â $pager.prevName</a></li>
+#end
+ #if($utils.isNotEmpty($pager.nextLink))<li class="next"><a href="$pager.nextLink">$pager.nextName â</a></li>#end
+ </ul>
+ </div>
+
+ <!-- BODY - SIDEBAR -->
+ <div id="sidebar_content" class="col-lg-4">
+ <div class="well">
+ <h3>Welcome</h3>
+ <p class="details">
+ #set($blurb = $model.weblog.about)
+ #if ($blurb)
+ $model.weblog.about
+ #else
+ <span class="setup">Add an about message on your Weblog Settings page and it will appear here</span>
+ #end
+ Click the link below to subscribe via your favorite feed reader:</p>
+
+ <div id="subscribe">
+ <a href="$url.feed.entries.atom">
+ <img src='$url.resource("icons/feed-icon-28x28.png")' title="RSS/Atom feed icon" alt="RSS/Atom feed icon" /></a>
+ <a href="$url.feed.entries.atom">Subscribe to this blog</a>
+ </div>
+ </div>
+ <div class="well">
+ <h3>Hot tags</h3>
+ <p class="details">Below are the thirty most often used tags in the blog. Hover over a tag to see a count of entries, click a tag to see the most recent posts with the tag.</p>
+ <div id="tagcloud">
+ #set($mytags = $model.weblog.getPopularTags(-1, 30))
+ #foreach ($tag in $mytags)
+ #if ($tag.count > 5)
+ <a class="tag s${tag.intensity}" href="$url.tag($tag.name)" title="$tag.count">$tag.name</a>
+ #end
+ #end
+ </div>
+ </div>
+ </div> <!-- close sidebar_content -->
+ </div> <!-- /.row -->
+ </div> <!-- /.container -->
+
+ <!-- FOOTER -->
+ <footer>
+ #includeTemplate($model.weblog "standard_footer")
+ </footer>
+
+</body>
+</html>
+
Propchange: roller/trunk/app/src/main/webapp/themes/gaurav/weblog.vm
------------------------------------------------------------------------------
svn:executable = *