digital_glarus -> digitalglarus
Signed-off-by: Nico Schottelius <nico@wurzel.schottelius.org>
|  | @ -7,7 +7,7 @@ from django.db import models, migrations | ||||||
| class Migration(migrations.Migration): | class Migration(migrations.Migration): | ||||||
| 
 | 
 | ||||||
|     dependencies = [ |     dependencies = [ | ||||||
|         ('digital_glarus', '0001_initial'), |         ('digitalglarus', '0001_initial'), | ||||||
|     ] |     ] | ||||||
| 
 | 
 | ||||||
|     operations = [ |     operations = [ | ||||||
|  | @ -7,7 +7,7 @@ from django.db import models, migrations | ||||||
| class Migration(migrations.Migration): | class Migration(migrations.Migration): | ||||||
| 
 | 
 | ||||||
|     dependencies = [ |     dependencies = [ | ||||||
|         ('digital_glarus', '0001_initial'), |         ('digitalglarus', '0001_initial'), | ||||||
|     ] |     ] | ||||||
| 
 | 
 | ||||||
|     operations = [ |     operations = [ | ||||||
|  | @ -7,8 +7,8 @@ from django.db import models, migrations | ||||||
| class Migration(migrations.Migration): | class Migration(migrations.Migration): | ||||||
| 
 | 
 | ||||||
|     dependencies = [ |     dependencies = [ | ||||||
|         ('digital_glarus', '0002_auto_20150522_0450'), |         ('digitalglarus', '0002_auto_20150522_0450'), | ||||||
|         ('digital_glarus', '0002_auto_20150527_1023'), |         ('digitalglarus', '0002_auto_20150527_1023'), | ||||||
|     ] |     ] | ||||||
| 
 | 
 | ||||||
|     operations = [ |     operations = [ | ||||||
| Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 192 KiB | 
| Before Width: | Height: | Size: 416 KiB After Width: | Height: | Size: 416 KiB | 
| Before Width: | Height: | Size: 235 KiB After Width: | Height: | Size: 235 KiB | 
| Before Width: | Height: | Size: 239 KiB After Width: | Height: | Size: 239 KiB | 
| Before Width: | Height: | Size: 431 KiB After Width: | Height: | Size: 431 KiB | 
| Before Width: | Height: | Size: 63 KiB After Width: | Height: | Size: 63 KiB | 
| Before Width: | Height: | Size: 338 KiB After Width: | Height: | Size: 338 KiB | 
| Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB | 
| Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB | 
|  | @ -1,4 +1,4 @@ | ||||||
| {% extends "digital_glarus/base.html" %} | {% extends "digitalglarus/base.html" %} | ||||||
| {% load staticfiles %}       | {% load staticfiles %}       | ||||||
| {% block title %}About{% endblock %} | {% block title %}About{% endblock %} | ||||||
| 
 | 
 | ||||||
|  | @ -13,7 +13,7 @@ | ||||||
|                     <hr> |                     <hr> | ||||||
|                 </div> |                 </div> | ||||||
|                 <div class="col-md-6"> |                 <div class="col-md-6"> | ||||||
|                     <img class="img-responsive img-border-left" src="{% static 'digital_glarus/img/img_4.png' %}" alt=""> |                     <img class="img-responsive img-border-left" src="{% static 'digitalglarus/img/img_4.png' %}" alt=""> | ||||||
|                 </div> |                 </div> | ||||||
|                 <div class="col-md-6"> |                 <div class="col-md-6"> | ||||||
|                     <p>We, the ungleich GmbH, were founded 2013 in Switzerland - however our first incarnation in Germany dates back to 2000. |                     <p>We, the ungleich GmbH, were founded 2013 in Switzerland - however our first incarnation in Germany dates back to 2000. | ||||||
|  | @ -33,18 +33,18 @@ | ||||||
|                     <hr> |                     <hr> | ||||||
|                 </div> |                 </div> | ||||||
|                 <div class="col-sm-4 text-center"> |                 <div class="col-sm-4 text-center"> | ||||||
|                     <img class="img-responsive" src="{% static 'digital_glarus/img/img_1.jpg' %}" alt=""> |                     <img class="img-responsive" src="{% static 'digitalglarus/img/img_1.jpg' %}" alt=""> | ||||||
|                     <h3>BEAUTIFUL |                     <h3>BEAUTIFUL | ||||||
|                         <small> landscape</small> |                         <small> landscape</small> | ||||||
|                     </h3> |                     </h3> | ||||||
|                 </div> |                 </div> | ||||||
|                 <div class="col-sm-4 text-center"> |                 <div class="col-sm-4 text-center"> | ||||||
|                     <img class="img-responsive" src="{% static 'digital_glarus/img/img_2.jpg' %}" alt=""> |                     <img class="img-responsive" src="{% static 'digitalglarus/img/img_2.jpg' %}" alt=""> | ||||||
|                     <h3>AFFORDABLE |                     <h3>AFFORDABLE | ||||||
|                         <small>price</small></h3> |                         <small>price</small></h3> | ||||||
|                 </div> |                 </div> | ||||||
|                 <div class="col-sm-4 text-center"> |                 <div class="col-sm-4 text-center"> | ||||||
|                     <img class="img-responsive" src="{% static 'digital_glarus/img/img_3.jpg' %}" alt=""> |                     <img class="img-responsive" src="{% static 'digitalglarus/img/img_3.jpg' %}" alt=""> | ||||||
|                     <h3>direct |                     <h3>direct | ||||||
|                         <small> connection to zurich</small> |                         <small> connection to zurich</small> | ||||||
|                     </h3> |                     </h3> | ||||||
|  | @ -14,10 +14,10 @@ | ||||||
|     <title>Digital.Glarus - {% block title %}Welcome{% endblock %}</title> |     <title>Digital.Glarus - {% block title %}Welcome{% endblock %}</title> | ||||||
| 
 | 
 | ||||||
|     <!-- Bootstrap Core CSS --> |     <!-- Bootstrap Core CSS --> | ||||||
|     <link href="{% static 'digital_glarus/css/bootstrap.min.css' %}" rel="stylesheet"> |     <link href="{% static 'digitalglarus/css/bootstrap.min.css' %}" rel="stylesheet"> | ||||||
| 
 | 
 | ||||||
|     <!-- Custom CSS --> |     <!-- Custom CSS --> | ||||||
|     <link href="{% static 'digital_glarus/css/business-casual.css' %}" rel="stylesheet"> |     <link href="{% static 'digitalglarus/css/business-casual.css' %}" rel="stylesheet"> | ||||||
| 
 | 
 | ||||||
|     <!-- Fonts --> |     <!-- 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=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800" rel="stylesheet" type="text/css"> | ||||||
|  | @ -64,13 +64,13 @@ | ||||||
|             <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> |             <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> | ||||||
|                 <ul class="nav navbar-nav"> |                 <ul class="nav navbar-nav"> | ||||||
|                     <li> |                     <li> | ||||||
|                         <a href="{% url 'digital_glarus:index' %}">Home</a> |                         <a href="{% url 'digitalglarus:index' %}">Home</a> | ||||||
|                     </li> |                     </li> | ||||||
|                     <li> |                     <li> | ||||||
|                         <a href="{% url 'digital_glarus:about' %}">About</a> |                         <a href="{% url 'digitalglarus:about' %}">About</a> | ||||||
|                     </li> |                     </li> | ||||||
|                     <li> |                     <li> | ||||||
|                         <a href="{% url 'digital_glarus:contact' %}">Contact</a> |                         <a href="{% url 'digitalglarus:contact' %}">Contact</a> | ||||||
|                     </li> |                     </li> | ||||||
|                 </ul> |                 </ul> | ||||||
|             </div> |             </div> | ||||||
|  | @ -95,10 +95,10 @@ | ||||||
|     </footer> |     </footer> | ||||||
| 
 | 
 | ||||||
|     <!-- jQuery --> |     <!-- jQuery --> | ||||||
|     <script src="{% static 'digital_glarus/js/jquery.js' %}"></script> |     <script src="{% static 'digitalglarus/js/jquery.js' %}"></script> | ||||||
| 
 | 
 | ||||||
|     <!-- Bootstrap Core JavaScript --> |     <!-- Bootstrap Core JavaScript --> | ||||||
|     <script src="{% static 'digital_glarus/js/bootstrap.min.js' %}"></script> |     <script src="{% static 'digitalglarus/js/bootstrap.min.js' %}"></script> | ||||||
| 
 | 
 | ||||||
|     <!-- Script to Activate the Carousel --> |     <!-- Script to Activate the Carousel --> | ||||||
|     <script> |     <script> | ||||||
|  | @ -1,4 +1,4 @@ | ||||||
| {% extends "digital_glarus/base.html" %} | {% extends "digitalglarus/base.html" %} | ||||||
| 
 | 
 | ||||||
| {% block title %}Contact{% endblock %} | {% block title %}Contact{% endblock %} | ||||||
| 
 | 
 | ||||||
|  | @ -40,7 +40,7 @@ | ||||||
|                     </h2> |                     </h2> | ||||||
|                     <hr> |                     <hr> | ||||||
|                     <p>If you want further information on Digital Glarus, please send us a message using the form below.</p> |                     <p>If you want further information on Digital Glarus, please send us a message using the form below.</p> | ||||||
|                     <form action="{% url 'digital_glarus:contact' %}" method="post" role="form"> |                     <form action="{% url 'digitalglarus:contact' %}" method="post" role="form"> | ||||||
|                         {% csrf_token %} |                         {% csrf_token %} | ||||||
|                         <div class="row"> |                         <div class="row"> | ||||||
|                             <div class="form-group col-lg-4"> |                             <div class="form-group col-lg-4"> | ||||||
|  | @ -8,4 +8,4 @@ | ||||||
|     <li>{{ message.received_date }} |     <li>{{ message.received_date }} | ||||||
| </ul> | </ul> | ||||||
| 
 | 
 | ||||||
| <p><a href="{% url 'digital_glarus:index' %}">Back to Main</a> | <p><a href="{% url 'digitalglarus:index' %}">Back to Main</a> | ||||||
|  | @ -1,4 +1,4 @@ | ||||||
| {% extends "digital_glarus/base.html" %} | {% extends "digitalglarus/base.html" %} | ||||||
| {% load staticfiles %} | {% load staticfiles %} | ||||||
| 
 | 
 | ||||||
| {% block content %} | {% block content %} | ||||||
|  | @ -9,13 +9,13 @@ | ||||||
|                         <!-- Indicators --><!-- Wrapper for slides --> |                         <!-- Indicators --><!-- Wrapper for slides --> | ||||||
|                         <div class="carousel-inner"> |                         <div class="carousel-inner"> | ||||||
|                             <div class="item active"> |                             <div class="item active"> | ||||||
|                                 <img class="img-responsive img-full" src="{% static 'digital_glarus/img/slide-1.jpg' %}" alt=""> |                                 <img class="img-responsive img-full" src="{% static 'digitalglarus/img/slide-1.jpg' %}" alt=""> | ||||||
|                             </div> |                             </div> | ||||||
|                             <div class="item"> |                             <div class="item"> | ||||||
|                                 <img class="img-responsive img-full" src="{% static 'digital_glarus/img/slide-2.jpg' %}" alt=""> |                                 <img class="img-responsive img-full" src="{% static 'digitalglarus/img/slide-2.jpg' %}" alt=""> | ||||||
|                             </div> |                             </div> | ||||||
|                             <div class="item"> |                             <div class="item"> | ||||||
|                                 <img class="img-responsive img-full" src="{% static 'digital_glarus/img/slide-3.jpg' %}" alt=""> |                                 <img class="img-responsive img-full" src="{% static 'digitalglarus/img/slide-3.jpg' %}" alt=""> | ||||||
|                             </div> |                             </div> | ||||||
|                         </div> |                         </div> | ||||||
| 
 | 
 | ||||||
|  | @ -47,7 +47,7 @@ | ||||||
|                     <hr> |                     <hr> | ||||||
|                     <h2 class="intro-text text-center">Build a tech valley                        <strong>in the heart of switzerland</strong></h2> |                     <h2 class="intro-text text-center">Build a tech valley                        <strong>in the heart of switzerland</strong></h2> | ||||||
|                     <hr> |                     <hr> | ||||||
|                     <img class="img-responsive img-border img-left" src="{% static 'digital_glarus/img/intro-pic.jpg' %}" alt=""> |                     <img class="img-responsive img-border img-left" src="{% static 'digitalglarus/img/intro-pic.jpg' %}" alt=""> | ||||||
|                     <hr class="visible-xs"> |                     <hr class="visible-xs"> | ||||||
|                     <p>Digital Glarus, this is how we call the new home for high tech companies. Located south of Zurich, it has unique features you can not find anywhere else in Switzerland.</p> |                     <p>Digital Glarus, this is how we call the new home for high tech companies. Located south of Zurich, it has unique features you can not find anywhere else in Switzerland.</p> | ||||||
|                     <p> The combination of beautiful landscape, recreational areas as  well as having high speed Internet connections and huge variety of great food offers forms what we call "Digital Glarus".</p> |                     <p> The combination of beautiful landscape, recreational areas as  well as having high speed Internet connections and huge variety of great food offers forms what we call "Digital Glarus".</p> | ||||||
|  | @ -16,10 +16,10 @@ | ||||||
|     <title>Digital.Glarus - {% block title %}Welcome{% endblock %}</title> |     <title>Digital.Glarus - {% block title %}Welcome{% endblock %}</title> | ||||||
| 
 | 
 | ||||||
|     <!-- Bootstrap Core CSS --> |     <!-- Bootstrap Core CSS --> | ||||||
|     <link href="{% static 'digital_glarus/css/bootstrap.min.css' %}" rel="stylesheet"> |     <link href="{% static 'digitalglarus/css/bootstrap.min.css' %}" rel="stylesheet"> | ||||||
| 
 | 
 | ||||||
|     <!-- Custom CSS --> |     <!-- Custom CSS --> | ||||||
|     <link href="{% static 'digital_glarus/css/business-casual.css' %}" rel="stylesheet"> |     <link href="{% static 'digitalglarus/css/business-casual.css' %}" rel="stylesheet"> | ||||||
| 
 | 
 | ||||||
|     <!-- Fonts --> |     <!-- 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=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800" rel="stylesheet" type="text/css"> | ||||||
|  | @ -66,13 +66,13 @@ | ||||||
|             <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> |             <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> | ||||||
|                 <ul class="nav navbar-nav"> |                 <ul class="nav navbar-nav"> | ||||||
|                     <li> |                     <li> | ||||||
|                         <a href="{% url 'digital_glarus:index' %}">Home</a> |                         <a href="{% url 'digitalglarus:index' %}">Home</a> | ||||||
|                     </li> |                     </li> | ||||||
|                     <li> |                     <li> | ||||||
|                         <a href="{% url 'digital_glarus:index' %}">About</a> |                         <a href="{% url 'digitalglarus:index' %}">About</a> | ||||||
|                     </li> |                     </li> | ||||||
|                     <li> |                     <li> | ||||||
|                         <a href="{% url 'digital_glarus:index' %}">Contact</a> |                         <a href="{% url 'digitalglarus:index' %}">Contact</a> | ||||||
|                     </li> |                     </li> | ||||||
|                 </ul> |                 </ul> | ||||||
|             </div> |             </div> | ||||||
|  | @ -90,13 +90,13 @@ | ||||||
|                         <!-- Indicators --><!-- Wrapper for slides --> |                         <!-- Indicators --><!-- Wrapper for slides --> | ||||||
|                         <div class="carousel-inner"> |                         <div class="carousel-inner"> | ||||||
|                             <div class="item active"> |                             <div class="item active"> | ||||||
|                                 <img class="img-responsive img-full" src="{% static 'digital_glarus/img/slide-1.jpg' %}" alt=""> |                                 <img class="img-responsive img-full" src="{% static 'digitalglarus/img/slide-1.jpg' %}" alt=""> | ||||||
|                             </div> |                             </div> | ||||||
|                             <div class="item"> |                             <div class="item"> | ||||||
|                                 <img class="img-responsive img-full" src="{% static 'digital_glarus/img/slide-2.jpg' %}" alt=""> |                                 <img class="img-responsive img-full" src="{% static 'digitalglarus/img/slide-2.jpg' %}" alt=""> | ||||||
|                             </div> |                             </div> | ||||||
|                             <div class="item"> |                             <div class="item"> | ||||||
|                                 <img class="img-responsive img-full" src="{% static 'digital_glarus/img/slide-3.jpg' %}" alt=""> |                                 <img class="img-responsive img-full" src="{% static 'digitalglarus/img/slide-3.jpg' %}" alt=""> | ||||||
|                             </div> |                             </div> | ||||||
|                         </div> |                         </div> | ||||||
| 
 | 
 | ||||||
|  | @ -128,7 +128,7 @@ | ||||||
|                     <hr> |                     <hr> | ||||||
|                     <h2 class="intro-text text-center">Build a tech valley                        <strong>in the heart of switzerland</strong></h2> |                     <h2 class="intro-text text-center">Build a tech valley                        <strong>in the heart of switzerland</strong></h2> | ||||||
|                     <hr> |                     <hr> | ||||||
|                     <img class="img-responsive img-border img-left" src="{% static 'digital_glarus/img/intro-pic.jpg' %}" alt=""> |                     <img class="img-responsive img-border img-left" src="{% static 'digitalglarus/img/intro-pic.jpg' %}" alt=""> | ||||||
|                     <hr class="visible-xs"> |                     <hr class="visible-xs"> | ||||||
|                     <p>Digital Glarus, this is how we call the new home for high tech companies. Located south of Zurich, it has unique features you can not find anywhere else in Switzerland.</p> |                     <p>Digital Glarus, this is how we call the new home for high tech companies. Located south of Zurich, it has unique features you can not find anywhere else in Switzerland.</p> | ||||||
|                     <p> The combination of beautiful landscape, recreational areas as  well as having high speed Internet connections and huge variety of great food offers forms what we call "Digital Glarus".</p> |                     <p> The combination of beautiful landscape, recreational areas as  well as having high speed Internet connections and huge variety of great food offers forms what we call "Digital Glarus".</p> | ||||||
|  | @ -4,7 +4,7 @@ | ||||||
| 
 | 
 | ||||||
| {% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %} | {% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %} | ||||||
| 
 | 
 | ||||||
| <form action="{% url 'digital_glarus:index' %}" method="post"> | <form action="{% url 'digitalglarus:index' %}" method="post"> | ||||||
|     {% csrf_token %} |     {% csrf_token %} | ||||||
|     {{ form }} |     {{ form }} | ||||||
|     <input type="submit" value="Send Message" /> |     <input type="submit" value="Send Message" /> | ||||||
|  | @ -18,13 +18,13 @@ def detail(request, message_id): | ||||||
|     p = get_object_or_404(Message, pk=message_id) |     p = get_object_or_404(Message, pk=message_id) | ||||||
| 
 | 
 | ||||||
|     context = { 'message': p, } |     context = { 'message': p, } | ||||||
|     return render(request, 'digital_glarus/detail.html', context) |     return render(request, 'digitalglarus/detail.html', context) | ||||||
| 
 | 
 | ||||||
| def about(request): | def about(request): | ||||||
|     return render(request, 'digital_glarus/about.html') |     return render(request, 'digitalglarus/about.html') | ||||||
| 
 | 
 | ||||||
| def index(request): | def index(request): | ||||||
|     return render(request, 'digital_glarus/index.html') |     return render(request, 'digitalglarus/index.html') | ||||||
| 
 | 
 | ||||||
| def contact(request): | def contact(request): | ||||||
|     message = Message(received_date=datetime.datetime.now()) |     message = Message(received_date=datetime.datetime.now()) | ||||||
|  | @ -34,7 +34,7 @@ def contact(request): | ||||||
| 
 | 
 | ||||||
|         if form.is_valid(): |         if form.is_valid(): | ||||||
|             form.save() |             form.save() | ||||||
|             return HttpResponseRedirect(reverse("digital_glarus:contact")) |             return HttpResponseRedirect(reverse("digitalglarus:contact")) | ||||||
| 
 | 
 | ||||||
|     # form = MessageForm() |     # form = MessageForm() | ||||||
| 
 | 
 | ||||||
|  | @ -42,4 +42,4 @@ def contact(request): | ||||||
|         'form': form, |         'form': form, | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     return render(request, 'digital_glarus/contact.html', context) |     return render(request, 'digitalglarus/contact.html', context) | ||||||
|  | @ -50,7 +50,6 @@ INSTALLED_APPS = ( | ||||||
|     'django.contrib.staticfiles', |     'django.contrib.staticfiles', | ||||||
|     'django.contrib.sites', |     'django.contrib.sites', | ||||||
|     'cms',  # django CMS itself |     'cms',  # django CMS itself | ||||||
|     'digital_glarus', |  | ||||||
|     'treebeard',  # utilities for implementing a tree |     'treebeard',  # utilities for implementing a tree | ||||||
|     'menus',  # helper for model independent hierarchical website navigation |     'menus',  # helper for model independent hierarchical website navigation | ||||||
|     'sekizai',  # for javascript and css management |     'sekizai',  # for javascript and css management | ||||||
|  | @ -88,6 +87,7 @@ INSTALLED_APPS = ( | ||||||
|     # ungleich |     # ungleich | ||||||
|     'ungleich', |     'ungleich', | ||||||
|     'railshosting', |     'railshosting', | ||||||
|  |     'digitalglarus', | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
| MIDDLEWARE_CLASSES = ( | MIDDLEWARE_CLASSES = ( | ||||||
|  |  | ||||||
|  | @ -6,8 +6,8 @@ from dynamicweb import settings | ||||||
| 
 | 
 | ||||||
| urlpatterns = [ | urlpatterns = [ | ||||||
|     url(r'^admin/', include(admin.site.urls)), |     url(r'^admin/', include(admin.site.urls)), | ||||||
|     url(r'^digital.glarus/', include('digital_glarus.urls', |     url(r'^digitalglarus/', include('digitalglarus.urls', | ||||||
|                                      namespace="digital_glarus")), |                                      namespace="digitalglarus")), | ||||||
|     url(r'^railshosting/', include('railshosting.urls', |     url(r'^railshosting/', include('railshosting.urls', | ||||||
|                                    namespace="railshosting")), |                                    namespace="railshosting")), | ||||||
|     url(r'^cms/', include('cms.urls')), |     url(r'^cms/', include('cms.urls')), | ||||||
|  |  | ||||||