summaryrefslogtreecommitdiff
path: root/gstudio/templates/gstudio/home.html
blob: 44680fd2971aef57ef5673e6a8166ea1adfd703e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159

{% load gstudio_tags i18n %}
{% load objectapp_tags i18n %}
{% load adminmedia  grp_tags %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xml:lang="{{ LANGUAGE_CODE }}" lang="{{ LANGUAGE_CODE }}" version="-//W3C//DTD XHTML 1.1//EN" xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <style type="text/css">
      .searchbutton{     
      font-family: Arial,sans-serif;
      font-size: 22px;
      font-weight: bold;
      vertical-align: top;
      } 
      #homebody{
	height:100%;
	background: white;
	
	}
      #header {
      background: none repeat scroll 0 0 #2B3959;
      border-bottom: 1px solid #E9E9F3;
      color: white;
      margin-bottom: 1em;
      }
      #header a:hover, #header a:active{
      color: red;
      }	
      
      #main {
      margin-top: 70px;
      } 	
      
      #searchtext{
      margin-left:25%;
      margin-top:10%
      }
      #searchidbutton{
      margin-left:39%;
      margin-top:2%;
      }
      
      #author{
      margin-left: 75%;
      }
      
      .bottom h3 {
      background-color: #C4EBF4;
      padding: 0.5em;
      font-size: 1em;
      line-height: 1;
      margin-bottom: 1em;
      border-radius: 15px 15px 15px 15px;
      color: #176691;
      font-weight: normal;
      }
      
      .bottom{
      margin-top:9%;
      margin-left:11%;
      }
      .authors {
      width: 20%;
      position:absolute;
      margin-left: 3%;
      }	
      
      .recentsnodetype{
      width:22%;
      position:absolute;
      margin-left:24%;
      }
      
      
      .comments{
      width:22%;
      position:absolute;
      margin-left:47%;
      }
	.tags .tag_1 { font-size: 1em; color: #001e2d; }
	.tags .tag_2 { font-size: 1.125em; color: #00334c; }
	.tags .tag_3 { font-size: 2em; color: #005b89; }
	.tags .tag_4 { font-size: 2.25em; color: #0070a8; }
	.tags .tag_5 { font-size: 3em; color: #0099e5; }
	.tags .tag_6 { font-size: 3.20em; color: #00adff; }
      }
	#tag{ width: 50%; } 
      }
    </style>   
    
    <script src="http://code.jquery.com/jquery-latest.js"></script>
    <script type="text/javascript" >
      
      
      $(window).load(function() {
      $(".searchbutton").css({"background": "#F5F5F5" ,"width":"109px" , "height":"30px" , "-moz-box-sizing":"border-box", "margin-left":"45%", "padding":"4px 13px 29px 16px" , "color": "black" , "border":"1px solid #AAAAAA" });
   
	

      });
      
      
    </script>
    
    <link href="{% admin_media_prefix %}css/base.css" rel="stylesheet" type="text/css" />
    
    <script src="{% admin_media_prefix %}jquery/jquery-1.6.2.min.js" type="text/javascript"></script>
    
    <script src="{% admin_media_prefix %}jquery/ui/js/jquery-ui-1.8.15.custom.min.js" type="text/javascript"></script>
    <!-- Grappelli Main JS -->
    <script src="{% admin_media_prefix %}js/grappelli/grappelli.js" type="text/javascript"></script> 
    <!-- Grappelli jQuery Plugins, Widgets -->
    
    <script src="{% admin_media_prefix %}js/grappelli/jquery.grp_collapsible.js" type="text/javascript"></script>
    <link rel="shortcut icon" href="/static/gstudio/img/favicon.ico" />
    
    <title>Gnowledge Studio</title>
  </head>
  <body id="homebody">
    
    
    <div id="header" >
      {% include "gstudio/_header.html" %}
    </div>
    <div class="tags" align="center" id="tag">
	<h2>{% trans "Tag Cloud" %}</h2>
  	{% get_tag_cloud %}
   </div>
   </center>
    <div id="main">
      <center><font size="23" color="#4d659e"><b>{{ site }}</b></font></center>
      <form action="{% url gstudio_nodetype_search %}" method="get">
	<input id="searchtext" class="classtext" type="text" value="{{ pattern }}" name="pattern"  onfocus="this.value=''"   style="border: 5; padding: 0pt; margin: 0pt; height: 30px; width: 40%; margin-left:30%; margin-bottom:18px; margin-top:4%" />
	<input class="searchbutton" type="submit" value="Search" title="Search" />
&nbsp;&nbsp;
	 <a href="{% url gstudio_nodetype_latest_feed %}" class="feeds" title="Rssfeed"><img src="/static/gstudio/img/rss.png" alt="?" width="20" height="" /></a>
      </form>
    </div><br/><br/><br/>
<link rel="stylesheet" type="text/css" media="screen, projection" href="/static/gstudio/css/screen.css" />
<center><p style = " font-size : 19px ; color : #4d659e"><b>The site provides a loom (place to exchange views from the members of the site on a topic, or seek responses from members); collaboratively construct wikipages; share electronic documents, images and videos and use them in your discussions or wikipages; and create semantic networks. We will soon provide a link on how to use the site prominently on the home page.  All resources are released under creative commons license. <a href="/more/"><font color="red">more</font></a></b></p></center>
    <div class="bottom">
      <div class="authors">
	<h3>{% trans "Recent Authors" %}</h3>
	{% get_authors %}
      </div>
	
<div class="recentsnodetype">
<h3>{% trans "Recent Objects" %}</h3>
{% get_recent_gbobjects %}
</div>
<div class="comments">
  <h3>{% trans "Recent Comments" %}</h3>
  {% get_recent_comments 5 %}
</div>
    </div>

  </body>
</html>