1. Thejesh GN
  2. askyourgovt

Commits

Thejesh GN  committed e258826

added dummy blocks to home page

  • Participants
  • Parent commits 0c84fee
  • Branches master

Comments (0)

Files changed (5)

File db/test.sqlite

Binary file modified.

File gui/basic/main.html

View file
       <div class="container" >
             
         <a class="brand" href="/">
-          <img src="<?= $this->get('BASE'); ?>/gui/img/askyourgovt.gif" width="25px"/>&nbsp;Ask Your Govt
+          <img src="<?= $this->get('BASE'); ?>/gui/img/askyourgovt.gif" width="25px" class="img-rounded"/>&nbsp;Ask Your Govt
         </a>
-        <div class="nav-collapse">
+        <div class="nav-collapse"> 
           <ul class="nav">
            <li class="dropdown">
               <a href="#" class="dropdown-toggle" data-toggle="dropdown">About<b class="caret"></b></a>
       <div class="container">
         <div class="span12">
           <div class="span2">
-            <img src="<?= $this->get('BASE'); ?>/gui/img/askyourgovt.gif" width="125px"/>
+            <img src="<?= $this->get('BASE'); ?>/gui/img/askyourgovt.gif" width="125px" class="img-rounded"/>
           </div>
 
           <div class="span3">

File gui/basic/sub_home.html

View file
-<p> AskYourGovt.in is an idea to build comprehensive database of Public Interest RTI (<a href="/rtiact">The Right To Information Act</a>) requests and responses. We are in the process of building the database and application. You are more than welcome to contribute in any way possible.</p>
-<span class="label label-info">Note:</span>&nbsp;Start by either reading about <a href="/about">AskYourGovt</a> or by searching for already indexed RTI using the search form on your left.
+<div  class="span5">
+	<div class="well">
+			AskYourGovt.in is a community around asking public interest questions. Start by knowing about RTI, How to Ask, Browse RTI requests and Responses or by reading public reactions. 
+			<br><br>
+			<center>
+			<a href="/faq" class="btn btn-primary btn-large">
+			      Learn
+			</a>
+			<a href="/ask" class="btn btn-primary btn-large">
+			      Ask
+			</a>
+			<a href="/questions" class="btn btn-primary btn-large">
+			      Browse
+			</a>
+			</center>
+	</div>
 
+	<table class="table table-striped table-bordered">
+                <tbody>
+                <tr>
+                    <td><h4>Most Popular Questions</h4></td>
+                </tr>
+                  <tr>
+                      <td><i class="icon-book"></i>&nbsp;<a href="/document/id/30">Complaint filed by ADR to CIC</a></td>
+                  </tr>
+                      <tr>
+                      <td><i class="icon-book"></i>&nbsp;<a href="/document/id/31">Why Political Parties should come under RTI Act (English)</a></td>
+                  </tr>
+                      <tr>
+                      <td><i class="icon-book"></i>&nbsp;<a href="/document/id/31">Why Political Parties should come under RTI Act (English)</a></td>
+                  </tr>
+                  <tr>
+                      <td><i class="icon-book"></i>&nbsp;<a href="/document/id/31">Why Political Parties should come under RTI Act (English)</a></td>
+                  </tr>
+                  <tr>
+                      <td><i class="icon-book"></i>&nbsp;<a href="/document/id/31">Why Political Parties should come under RTI Act (English)</a></td>
+                  </tr>
+                 <tr>
+                      <td><a href="/news"><b>More</b></a></td>
+                  </tr>
 
-<div class="alert alert-info" style="visibility:hidden;">
+
+                </tbody>
+	</table>
+
+
+</div>
+<div  class="span3">
+<table class="table table-striped table-bordered">
+                <tbody>
+                <tr>
+                    <td><h4>RTI News Stream</h4></td>
+                </tr>
+                  <tr>
+                      <td><i class="icon-book"></i>&nbsp;<a href="/document/id/30">Complaint filed by ADR to CIC</a></td>
+                  </tr>
+                      <tr>
+                      <td><i class="icon-book"></i>&nbsp;<a href="/document/id/31">Why Political Parties should come under RTI Act (English)</a></td>
+                  </tr>
+                      <tr>
+                      <td><i class="icon-book"></i>&nbsp;<a href="/document/id/31">Why Political Parties should come under RTI Act (English)</a></td>
+                  </tr>
+                  <tr>
+                      <td><i class="icon-book"></i>&nbsp;<a href="/document/id/31">Why Political Parties should come under RTI Act (English)</a></td>
+                  </tr>
+                  <tr>
+                      <td><i class="icon-book"></i>&nbsp;<a href="/document/id/31">Why Political Parties should come under RTI Act (English)</a></td>
+                  </tr>
+                 <tr>
+                      <td><a href="/news"><b>More</b></a></td>
+                  </tr>
+
+
+                </tbody>
+              </table>
+				<table class="table table-striped table-bordered">
+                <tbody>
+                <tr>
+                    <td><h4>RTI Champion</h4></td>
+                </tr>
+                  <tr>
+                      <td>
+                      		Highlighting a champion.
+
+                      </td>
+                  </tr>
+                 <tr>
+                      <td><a href="/news"><b>Continue Reading</b></a></td>
+                  </tr>
+
+
+                </tbody>
+              </table>
+
+
+</div>

File gui/basic/sub_sidebar.php

View file
             <p>The Right Information Act, 2005, has been taken from the <a href="http://rti.gov.in/">Govt. of India website</a>. Please go there for any changes or clarification.</p>
           </div>          
     <? else: ?>
+            <h4>Search Questions</h4>
             <form class="form-horizontal" method="get" action="/questions">
-            <label>Question Status</label>
+            <label>Status</label>
             <select name="status" multiple="multiple">
               <option value=1>Asked</option>
               <option value=2>Answered</option>

File inc/main.php

View file
 class Main extends F3instance {
 	function home() {
 		$this->set('title','Welcome to AskYourGovt.in');
-		$this->set('sub_title','Repository of Public Interest RTIs');
+		$this->set('sub_title','Community around asking public interest questions.');
 		$this->set('sub','sub_home.html');
 		$out=$this->render('basic/layout.html');		
 		$this->set('sub_out_put',$out);