split index to base and index
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
This commit is contained in:
		
					parent
					
						
							
								6d740b5923
							
						
					
				
			
			
				commit
				
					
						d3529da567
					
				
			
		
					 2 changed files with 116 additions and 113 deletions
				
			
		
							
								
								
									
										112
									
								
								digital_glarus/templates/digital_glarus/base.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										112
									
								
								digital_glarus/templates/digital_glarus/base.html
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,112 @@ | ||||||
|  | {% load staticfiles %} | ||||||
|  | 
 | ||||||
|  | <!DOCTYPE html> | ||||||
|  | <html lang="en"> | ||||||
|  | 
 | ||||||
|  | <head> | ||||||
|  | 
 | ||||||
|  |     <meta charset="utf-8"> | ||||||
|  |     <meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||||||
|  |     <meta name="viewport" content="width=device-width, initial-scale=1"> | ||||||
|  |     <meta name="description" content=""> | ||||||
|  |     <meta name="author" content=""> | ||||||
|  | 
 | ||||||
|  |     <title>Digital.Glarus - {% block title %}Welcome{% endblock %}</title> | ||||||
|  | 
 | ||||||
|  |     <!-- Bootstrap Core CSS --> | ||||||
|  |     <link href="{% static 'digital_glarus/css/bootstrap.min.css' %}" rel="stylesheet"> | ||||||
|  | 
 | ||||||
|  |     <!-- Custom CSS --> | ||||||
|  |     <link href="{% static 'digital_glarus/css/business-casual.css' %}" rel="stylesheet"> | ||||||
|  | 
 | ||||||
|  |     <!-- Fonts --> | ||||||
|  |     <link href="http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800" rel="stylesheet" type="text/css"> | ||||||
|  |     <link href="http://fonts.googleapis.com/css?family=Josefin+Slab:100,300,400,600,700,100italic,300italic,400italic,600italic,700italic" rel="stylesheet" type="text/css"> | ||||||
|  | 
 | ||||||
|  |     <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> | ||||||
|  |     <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> | ||||||
|  |     <!--[if lt IE 9]> | ||||||
|  |         <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> | ||||||
|  |         <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> | ||||||
|  |     <![endif]--> | ||||||
|  | <script> | ||||||
|  |   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | ||||||
|  |   (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | ||||||
|  |   m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | ||||||
|  |   })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); | ||||||
|  | 
 | ||||||
|  |   ga('create', 'UA-62285904-2', 'auto'); | ||||||
|  |   ga('send', 'pageview'); | ||||||
|  | 
 | ||||||
|  | </script> | ||||||
|  | </head> | ||||||
|  | 
 | ||||||
|  | <body> | ||||||
|  | 
 | ||||||
|  |     <div class="brand">Digital.Glarus</div> | ||||||
|  |     <div class="address-bar">#1 IT Valley of Switzerland | Luchsingen, 8775 GL Switzerland | From 2015.12.25</div> | ||||||
|  | 
 | ||||||
|  |     <!-- Navigation --> | ||||||
|  |     <nav class="navbar navbar-default" role="navigation"> | ||||||
|  |         <div class="container"> | ||||||
|  |             <!-- Brand and toggle get grouped for better mobile display --> | ||||||
|  |             <div class="navbar-header"> | ||||||
|  |                 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> | ||||||
|  |                     <span class="sr-only">Toggle navigation</span> | ||||||
|  |                     <span class="icon-bar"></span> | ||||||
|  |                     <span class="icon-bar"></span> | ||||||
|  |                     <span class="icon-bar"></span> | ||||||
|  |                 </button> | ||||||
|  |                 <!-- navbar-brand is hidden on larger screens, but visible when the menu is collapsed --> | ||||||
|  |                 <a class="navbar-brand" href="index.html">digital.Glarus</a> | ||||||
|  |             </div> | ||||||
|  |             <!-- Collect the nav links, forms, and other content for toggling --> | ||||||
|  |             <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> | ||||||
|  |                 <ul class="nav navbar-nav"> | ||||||
|  |                     <li> | ||||||
|  |                         <a href="{% url 'digital_glarus:index' %}">Home</a> | ||||||
|  |                     </li> | ||||||
|  |                     <li> | ||||||
|  |                         <a href="{% url 'digital_glarus:index' %}">About</a> | ||||||
|  |                     </li> | ||||||
|  |                     <li> | ||||||
|  |                         <a href="{% url 'digital_glarus:index' %}">Contact</a> | ||||||
|  |                     </li> | ||||||
|  |                 </ul> | ||||||
|  |             </div> | ||||||
|  |             <!-- /.navbar-collapse --> | ||||||
|  |         </div> | ||||||
|  |         <!-- /.container --> | ||||||
|  |     </nav> | ||||||
|  | 
 | ||||||
|  |     <div class="container"> | ||||||
|  |     {% block content %} {% endblock %}< | ||||||
|  |     </div> | ||||||
|  |     <!-- /.container --> | ||||||
|  | 
 | ||||||
|  |     <footer> | ||||||
|  |         <div class="container"> | ||||||
|  |             <div class="row"> | ||||||
|  |                 <div class="col-lg-12 text-center"> | ||||||
|  |                     <p>Copyright © <a href="http://www.ungleich.ch">ungleich GmbH 2015</a></p> | ||||||
|  |                 </div> | ||||||
|  |             </div> | ||||||
|  |         </div> | ||||||
|  |     </footer> | ||||||
|  | 
 | ||||||
|  |     <!-- jQuery --> | ||||||
|  |     <script src="js/jquery.js"></script> | ||||||
|  | 
 | ||||||
|  |     <!-- Bootstrap Core JavaScript --> | ||||||
|  |     <script src="js/bootstrap.min.js"></script> | ||||||
|  | 
 | ||||||
|  |     <!-- Script to Activate the Carousel --> | ||||||
|  |     <script> | ||||||
|  |     $('.carousel').carousel({ | ||||||
|  |         interval: 5000 //changes the speed | ||||||
|  |     }) | ||||||
|  |     </script> | ||||||
|  | 
 | ||||||
|  | </body> | ||||||
|  | 
 | ||||||
|  | </html> | ||||||
|  | @ -1,88 +1,7 @@ | ||||||
|  | {% extends "digital_glarus/base.html" %} | ||||||
| {% load staticfiles %} | {% load staticfiles %} | ||||||
| 
 | 
 | ||||||
| <!DOCTYPE html> | {% block content %} | ||||||
| <html lang="en"> |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| <head> |  | ||||||
| 
 |  | ||||||
|     <meta charset="utf-8"> |  | ||||||
|     <meta http-equiv="X-UA-Compatible" content="IE=edge"> |  | ||||||
|     <meta name="viewport" content="width=device-width, initial-scale=1"> |  | ||||||
|     <meta name="description" content=""> |  | ||||||
|     <meta name="author" content=""> |  | ||||||
| 
 |  | ||||||
|     <title>Digital.Glarus - {% block title %}Welcome{% endblock %}</title> |  | ||||||
| 
 |  | ||||||
|     <!-- Bootstrap Core CSS --> |  | ||||||
|     <link href="{% static 'digital_glarus/css/bootstrap.min.css' %}" rel="stylesheet"> |  | ||||||
| 
 |  | ||||||
|     <!-- Custom CSS --> |  | ||||||
|     <link href="{% static 'digital_glarus/css/business-casual.css' %}" rel="stylesheet"> |  | ||||||
| 
 |  | ||||||
|     <!-- Fonts --> |  | ||||||
|     <link href="http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800" rel="stylesheet" type="text/css"> |  | ||||||
|     <link href="http://fonts.googleapis.com/css?family=Josefin+Slab:100,300,400,600,700,100italic,300italic,400italic,600italic,700italic" rel="stylesheet" type="text/css"> |  | ||||||
| 
 |  | ||||||
|     <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> |  | ||||||
|     <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> |  | ||||||
|     <!--[if lt IE 9]> |  | ||||||
|         <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> |  | ||||||
|         <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> |  | ||||||
|     <![endif]--> |  | ||||||
| <script> |  | ||||||
|   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ |  | ||||||
|   (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |  | ||||||
|   m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) |  | ||||||
|   })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); |  | ||||||
| 
 |  | ||||||
|   ga('create', 'UA-62285904-2', 'auto'); |  | ||||||
|   ga('send', 'pageview'); |  | ||||||
| 
 |  | ||||||
| </script> |  | ||||||
| </head> |  | ||||||
| 
 |  | ||||||
| <body> |  | ||||||
| 
 |  | ||||||
|     <div class="brand">Digital.Glarus</div> |  | ||||||
|     <div class="address-bar">#1 IT Valley of Switzerland | Luchsingen, 8775 GL Switzerland | From 2015.12.25</div> |  | ||||||
| 
 |  | ||||||
|     <!-- Navigation --> |  | ||||||
|     <nav class="navbar navbar-default" role="navigation"> |  | ||||||
|         <div class="container"> |  | ||||||
|             <!-- Brand and toggle get grouped for better mobile display --> |  | ||||||
|             <div class="navbar-header"> |  | ||||||
|                 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> |  | ||||||
|                     <span class="sr-only">Toggle navigation</span> |  | ||||||
|                     <span class="icon-bar"></span> |  | ||||||
|                     <span class="icon-bar"></span> |  | ||||||
|                     <span class="icon-bar"></span> |  | ||||||
|                 </button> |  | ||||||
|                 <!-- navbar-brand is hidden on larger screens, but visible when the menu is collapsed --> |  | ||||||
|                 <a class="navbar-brand" href="index.html">digital.Glarus</a> |  | ||||||
|             </div> |  | ||||||
|             <!-- Collect the nav links, forms, and other content for toggling --> |  | ||||||
|             <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> |  | ||||||
|                 <ul class="nav navbar-nav"> |  | ||||||
|                     <li> |  | ||||||
|                         <a href="{% url 'digital_glarus:index' %}">Home</a> |  | ||||||
|                     </li> |  | ||||||
|                     <li> |  | ||||||
|                         <a href="{% url 'digital_glarus:index' %}">About</a> |  | ||||||
|                     </li> |  | ||||||
|                     <li> |  | ||||||
|                         <a href="{% url 'digital_glarus:index' %}">Contact</a> |  | ||||||
|                     </li> |  | ||||||
|                 </ul> |  | ||||||
|             </div> |  | ||||||
|             <!-- /.navbar-collapse --> |  | ||||||
|         </div> |  | ||||||
|         <!-- /.container --> |  | ||||||
|     </nav> |  | ||||||
| 
 |  | ||||||
|     <div class="container"> |  | ||||||
| 
 |  | ||||||
|         <div class="row"> |         <div class="row"> | ||||||
|             <div class="box"> |             <div class="box"> | ||||||
|                 <div class="col-lg-12 text-center"> |                 <div class="col-lg-12 text-center"> | ||||||
|  | @ -171,7 +90,7 @@ | ||||||
|                     <hr> |                     <hr> | ||||||
|                     <h2 class="intro-text text-center">how to <strong>realize</strong></h2> |                     <h2 class="intro-text text-center">how to <strong>realize</strong></h2> | ||||||
|                     <hr> |                     <hr> | ||||||
|                     <p>At the moment we at <a href="www.ungleich.ch"> ungleich</a>  are talking to authorities and  sponsors. It is crucial to build up some basic infrastructure and  attract early adopters. Building a community (<a href=meetup.ch>meetup</a> alike)  can be helpful, but competitive pricing as well as superior infrastructure are crucial for success.</p> |                     <p>At the moment we at <a href="http://www.ungleich.ch"> ungleich</a>  are talking to authorities and  sponsors. It is crucial to build up some basic infrastructure and  attract early adopters. Building a community (<a href=meetup.ch>meetup</a> alike)  can be helpful, but competitive pricing as well as superior infrastructure are crucial for success.</p> | ||||||
|                     <p>Have you become interested in the project?  |                     <p>Have you become interested in the project?  | ||||||
|                     <p>Contact us at<br> |                     <p>Contact us at<br> | ||||||
|                       <br> |                       <br> | ||||||
|  | @ -183,32 +102,4 @@ | ||||||
|             </div> |             </div> | ||||||
|         </div> |         </div> | ||||||
| 
 | 
 | ||||||
|     </div> | {% endblock %} | ||||||
|     <!-- /.container --> |  | ||||||
| 
 |  | ||||||
|     <footer> |  | ||||||
|         <div class="container"> |  | ||||||
|             <div class="row"> |  | ||||||
|                 <div class="col-lg-12 text-center"> |  | ||||||
|                     <p>Copyright © <a href="http://www.ungleich.ch">ungleich GmbH 2015</a></p> |  | ||||||
|                 </div> |  | ||||||
|             </div> |  | ||||||
|         </div> |  | ||||||
|     </footer> |  | ||||||
| 
 |  | ||||||
|     <!-- jQuery --> |  | ||||||
|     <script src="js/jquery.js"></script> |  | ||||||
| 
 |  | ||||||
|     <!-- Bootstrap Core JavaScript --> |  | ||||||
|     <script src="js/bootstrap.min.js"></script> |  | ||||||
| 
 |  | ||||||
|     <!-- Script to Activate the Carousel --> |  | ||||||
|     <script> |  | ||||||
|     $('.carousel').carousel({ |  | ||||||
|         interval: 5000 //changes the speed |  | ||||||
|     }) |  | ||||||
|     </script> |  | ||||||
| 
 |  | ||||||
| </body> |  | ||||||
| 
 |  | ||||||
| </html> |  | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue