Commit 627cc4a2 authored by Hermann Mayer's avatar Hermann Mayer

Improved maintenance mode while deployment.

parent a16139eb
deploy @ 7bd58d17
Subproject commit 24355c7aa7224f3ac224c5446f7657bc52f71fcd
Subproject commit 7bd58d17b9eb3e999c0376af18ff0438db251f3e
......@@ -6,5 +6,5 @@
#</IfModule>
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ app.php [QSA,L]
RewriteRule ^(.*)$ maintenance/info.html [QSA,L]
</IfModule>
......@@ -6,5 +6,5 @@
#</IfModule>
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ maintaince.html [QSA,L]
RewriteRule ^(.*)$ maintenance/info.html [QSA,L]
</IfModule>
This diff is collapsed.
This diff is collapsed.
/**********************************
* Layout
*********************************/
html, body {
height: 100%;
font-family: 'Source Sans Pro', sans-serif;
font-weight: 400;
}
footer {
padding: 17px 0 18px 0;
}
.wrapper {
}
.push {
}
.wrapper > .container {
padding-top: 20px;
padding-bottom: 20px;
}
@media (max-width: 979px) {
body {
padding-right: 0px;
padding-left: 0px;
}
.navbar-fixed-top, .navbar-fixed-bottom, .navbar-static-top {
margin-left: 0px;
margin-right: 0px;
}
.navbar-inner > .container {
padding-top: 15px !important;
}
footer, .wrapper {
padding-left: 20px;
padding-right: 20px;
}
}
.center {
margin: 0 auto;
text-align: center;
}
.middle {
margin: 0 auto;
}
.cell {
width: 160px;
}
/**********************************
* Coloring and Styling
*********************************/
html, body {
/* background-color: #201f1d; */
background-color: #151515;
}
.hero-unit {
background-color: #282624;
}
.wrapper {
background-color: #201f1d;
}
.wrapper > .container, .wrapper > .container-fluid {
color: #8F8F8F;
}
footer {
color: #666;
/* background: #151515; */
background: #151515;
border-top: 5px solid #4A4539;
}
.table-striped tbody tr:nth-child(2n+1) td, .table-striped tbody tr:nth-child(2n+1) th {
background-color: #282624;
border: none;
}
.table th, .table td {
border-top-color: #4A4539;
}
.hero-unit > hr {
border-top-color: #8f887d;
border-bottom: none;
}
.navbar-header {
background-color: #444444;
padding: 10px;
border-bottom: 2px solid #BB4919;
}
.navbar-header > .container > h1 {
margin: 0;
padding-left: 12px;
}
.navbar-header > .container > h1 > a {
color: #fff;
font-family: 'Source Sans Pro', sans-serif;
font-weight: 300;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Source Sans Pro', sans-serif;
font-weight: 200;
}
.alert {
font-family: 'Source Sans Pro', sans-serif;
font-weight: 600 !important;
}
a {
background: none repeat scroll 0 0 transparent;
color: #D2551C;
text-decoration: none;
}
a:active {
outline: medium none;
}
a:hover, a:focus {
background-color: transparent;
color: #D21B0E;
text-decoration: none;
}
.btn-danger {
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#E95B1F), to(#BB4919));
background-image: -webkit-linear-gradient(top, #E95B1F, #BB4919);
background-image: -o-linear-gradient(top, #E95B1F, #BB4919);
background-image: linear-gradient(to bottom, #E95B1F, #BB4919);
background-image: -moz-linear-gradient(center top , #E95B1F, #BB4919) !important;
}
p {
text-align: justify;
}
.img-polaroid {
background-color: #4A4539;
margin: 1em;
margin-left: 0;
margin-top: 0;
}
#sidebar {
border-left: 2px solid #722C0F;
margin-left: 20px;
}
#sidebar-wrapper {
padding-left: 20px;
}
#sidebar .btn {
margin-top: 10px;
}
@media (max-width: 767px) {
#sidebar {
border-left: none;
padding-left: 0px;
margin-left: 0px;
border-top: 2px solid #722C0F;
margin-top: 20px;
margin-right: 0px;
}
}
@media (max-width: 979px) {
.hero-unit .btn {
margin-top: 15px;
}
}
[class^="icon-"],
[class*=" icon-"] {
background-image: url("/bundles/jityhomepage/img/glyphicons-halflings.png") !important;
}
.icon-white,
.nav > .active > a > [class^="icon-"],
.nav > .active > a > [class*=" icon-"],
.dropdown-menu > li > a:hover > [class^="icon-"],
.dropdown-menu > li > a:hover > [class*=" icon-"],
.dropdown-menu > .active > a > [class^="icon-"],
.dropdown-menu > .active > a > [class*=" icon-"] {
background-image: url("/bundles/jityhomepage/img/glyphicons-halflings-white.png") !important;
}
legend, .form_embedded_label {
color: #89827B;
border-color: #B54718;
font-family: 'Source Sans Pro', sans-serif;
font-weight: 300;
font-size: 26px;
}
.form_embedded_label {
border-bottom: 1px solid #B54718;
margin-bottom: 20px;
padding-bottom: 8px;
}
.h1 {
font-size: 26px;
}
.h2 {
font-size: 20px;
}
.h3 {
font-size: 14px;
}
textarea, input[type="text"], input[type="password"], input[type="datetime"],
input[type="datetime-local"], input[type="date"], input[type="month"],
input[type="time"], input[type="week"], input[type="number"], input[type="email"],
input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
color: #CCCCCC;
background-color: #515151;
border-color: #111111;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset, 0 1px 0 rgba(255, 255, 255, 0.15);
}
.form-actions {
margin-top: 20px;
border-top: 1px solid #4D4945;
padding-top: 20px;
background-color: transparent;
border-radius: 0px 0px 6px 6px;
}
.dropdown-menu .divider {
background-color: #404040;
border-bottom: 1px solid #282828;
}
.alert-danger, .alert-error {
background-color: #932B1C;
border-color: #A82514;
color: #D9D9D9;
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
font-weight: bold;
}
.alert-info {
background-color: #1B5193;
border-color: #0E2B4E;
color: #D9D9D9;
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
font-weight: bold;
}
.alert-success {
background-color: #6E931F;
border-color: #30400D;
color: #D9D9D9;
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
font-weight: bold;
}
#editor {
/* position: absolute; */
/* top: 0; */
/* right: 0; */
/* bottom: 0; */
/* left: 0; */
position: relative;
width: 910px;
height: 400px;
}
.modal {
display: none;
background-color: #000;
}
#editor_modal {
width:940px;
margin-left:-470px;
margin-top:-350px;
}
.modal-header {
background-color: #282624;
border-bottom-color: #B54718;
color: #89827B;
}
.modal-header .close {
color: #fff;
text-shadow: 0 1px 0 #000;
}
.modal-body {
background-color: #201F1D;
color: #8F8F8F;
}
.modal-footer {
background-color: #282624;
border-top-color: #4D4945;
box-shadow: 0 1px 0 #4D4945 inset;
}
input::-moz-focus-inner, button::-moz-focus-inner {
border: 0;
}
#previewCage {
border-top: 2px solid #722C0F;
margin-top: 20px;
background-color: #151515;
border-radius: 6px 6px 6px 6px;
margin-bottom: 30px;
padding: 60px;
display: none;
}
pre {
background-color: #282624;
color: #8F8F8F;
}
hr {
border: none;
color: #722C0F;
background-color: #722C0F;
height: 2px;
}
.the-icons {
list-style: none outside none;
margin-left: 0;
}
.the-icons li {
float: left;
line-height: 25px;
width: 33.33%;
}
.the-icons li:hover {
cursor:pointer;
background-color: #2C2A28;
}
.sortable {
border-top: 2px solid #722C0F;
background-color: #181818;
border-radius: 6px 6px 6px 6px;
margin-top: 30px;
padding: 20px;
position: relative;
padding-left: 25px;
padding-right: 59px;
background-repeat: no-repeat;
background-position: right bottom;
}
.sortable.sortable-new {
background-image: url("/bundles/jityhomepage/img/new-sortable-bg.png");
}
.sortable.sortable-existing {
background-image: url("/bundles/jityhomepage/img/existing-sortable-bg.png");
}
.sortable .dragbar {
cursor: pointer;
position: absolute;
top: 0;
left: 0;
width: 15px;
height: 100%;
border-radius: 6px 0px 0px 6px;
background-color: #0F0F0F;
border-right: 1px solid #282624;
}
.sortable .dragbar div {
font-weight: 200;
left: -93px;
position: absolute;
top: 90px;
transform: rotate(-90deg);
width: 200px;
}
.sortable .controllpanel {
position: absolute;
top: 0;
right: 0;
width: 44px;
border-radius: 6px 6px 6px 6px;
padding: 5px;
background-color: #0F0F0F;
border-left: 1px solid #282624;
border-bottom: 1px solid #282624;
}
.sortable .controllpanel .btn {
margin-top: 0px !important;
}
#no_sections_msg {
text-align: right;
font-size: 16px;
}
.ui-state-highlight {
box-shadow: inset 0px 0px 20px #000000;
background-color: #181818;
border-radius: 6px 6px 6px 6px;
margin-top: 30px;
height: 6em;
line-height: 1.2em;
border-bottom: 1px solid #515151;
border-right: 1px solid #515151;
}
.breadcrumb {
background-image: linear-gradient(to bottom, #363636, #282624);
background-color: #282624;
}
.breadcrumb li {
text-shadow: 0 1px 0 #000000;
}
......@@ -6,9 +6,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="Hermann Mayer">
<link rel="stylesheet" type="text/css" href="/bundles/jityhomepage/css/00_bootstrap.css" />
<link rel="stylesheet" type="text/css" href="/bundles/jityhomepage/css/50_bootstrap-responsive.css" />
<link rel="stylesheet" type="text/css" href="/bundles/jityhomepage/css/90_jity.css" />
<link rel="stylesheet" type="text/css" href="/maintenance/css/00_bootstrap.css" />
<link rel="stylesheet" type="text/css" href="/maintenance/css/50_bootstrap-responsive.css" />
<link rel="stylesheet" type="text/css" href="/maintenance/css/90_jity.css" />
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
......@@ -45,7 +45,7 @@
<div class="hero-unit">
<div class="row">
<div class="span2">
<img src="/bundles/jityhomepage/img/icons/inprogress.png" class="pull-left"/>
<img src="/maintenance/img/icons/inprogress.png" class="pull-left"/>
</div>
<div class="span7">
<legend>Temporäre Wartungsarbeiten</legend>
......@@ -67,7 +67,7 @@
<div class="container">
<div class="row">
<div class="span2">
<p class="center"><img src="/bundles/jityhomepage/img/signature.png" alt=""></p>
<p class="center"><img src="/maintenance/img/signature.png" alt=""></p>
<p class="center"><small >&copy; Hermann Mayer 2012</small></p>
</div>
<div class="span6">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment