Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Commit

Permalink
VBO v4 GA
Browse files Browse the repository at this point in the history
VBO v4 GA
  • Loading branch information
nielsengelen committed Nov 26, 2019
1 parent e7bfd67 commit cc0efbf
Show file tree
Hide file tree
Showing 17 changed files with 1,358 additions and 1,060 deletions.
6 changes: 3 additions & 3 deletions config.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
$host = '127.0.0.1'; /* Veeam Backup for Microsoft Office 365 server (hostname or IP) */
$port = '4443'; /* RESTful API service port (default: 4443) */
$title = 'Veeam Backup for Microsoft Office 365 v3'; /* Custom title for the portal to be displayed in the browser title */
$version = 'v3'; /* RESTful API version (default: v3) */
$administrator = 'Yes'; /* Allow Windows administrator accounts to be used as a login (yes or no) */
$title = 'Veeam Backup for Microsoft Office 365'; /* Custom title for the portal to be displayed in the browser title */
$version = 'v4'; /* RESTful API version (default: v4) */
$administrator = 'yes'; /* Allow Windows administrator accounts to be used as a login (yes or no) */
?>
86 changes: 50 additions & 36 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
body {
font: 13px/19px Arial, Helvetica, sans-serif;
padding: 0px !important;
padding: 0px !important;
}
h1 {
min-height: 1rem;
Expand Down Expand Up @@ -97,12 +97,12 @@ h1, h2, h3, h4, h5 {

/* Navigation */
.navbar {
overflow: hidden!important;
margin-bottom:0px !important;
overflow: hidden !important;
margin-bottom: 0px !important;
position: static;
}
.navbar-inner {
border-radius: 0px !important;
border-radius: 0px !important;
}
a.navbar-logo {
width: 210px;
Expand All @@ -118,7 +118,7 @@ a.navbar-right: {
margin-right: 10px;
}
textarea.noresize {
resize: none;
resize: none;
}

/* Search Form */
Expand Down Expand Up @@ -176,7 +176,7 @@ textarea.noresize {
.panel-gray .panel-heading {
background-color: #BFBFBF;
border-color: #BFBFBF;
color: #ffffff;
color: #FFFFFF;
}
.panel-gray a {
color: #BFBFBF;
Expand All @@ -190,7 +190,7 @@ textarea.noresize {
.panel-green .panel-heading {
background-color: #5cb85c;
border-color: #5cb85c;
color: #ffffff;
color: #FFFFFF;
}
.panel-green a {
color: #5cb85c;
Expand All @@ -204,24 +204,38 @@ textarea.noresize {
.panel-lightgreen .panel-heading {
background-color: #00604B;
border-color: #00604B;
color: #ffffff;
color: #FFFFFF;
}
.panel-lightgreen a {
color: #00604B;
}
.panel-lightgreen a:hover {
color: #000000;
}
.panel-orange {
border-color: #FFBB33;
}
.panel-orange .panel-heading {
background-color: #FFBB33;
border-color: #FFBB33;
color: #FFFFFF;
}
.panel-orange a {
color: #FFBB33;
}
.panel-orange a:hover {
color: #000000;
}
.panel-yellow {
border-color: #f0ad4e;
border-color: #F0AD4E;
}
.panel-yellow .panel-heading {
background-color: #f0ad4e;
border-color: #f0ad4e;
color: #ffffff;
background-color: #F0AD4E;
border-color: #F0AD4E;
color: #FFFFFF;
}
.panel-yellow a {
color: #f0ad4e;
color: #F0AD4E;
}
.panel-yellow a:hover {
color: #000000;
Expand All @@ -234,7 +248,7 @@ textarea.noresize {
margin-right: 10px;
}
.errorClass {
border: 1px solid red;
border: 1px solid red;
}
.icon {
float: left;
Expand Down Expand Up @@ -277,7 +291,7 @@ textarea.noresize {
.modal:before {
display: inline-block;
height: 100%;
margin-right: -4px; /* Adjusts for spacing */
margin-right: -4px;/* Adjusts for spacing */
vertical-align: middle;
}
.modal-dialog {
Expand All @@ -303,7 +317,7 @@ table.table-small {
}
.zeroPadding {
padding: 0 !important;
background: #ffffff;
background: #FFFFFF;
}

/* Login form */
Expand All @@ -319,24 +333,24 @@ table.table-small {
font-weight: 300;
line-height: 50px;
color: #888;
-moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;
-moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none;
-o-transition: all .3s; -moz-transition: all .3s; -webkit-transition: all .3s; -ms-transition: all .3s; transition: all .3s;
-moz-border-radius: 4px;-webkit-border-radius: 4px;border-radius: 4px;
-moz-box-shadow: none;-webkit-box-shadow: none;box-shadow: none;
-o-transition: all .3s;-moz-transition: all .3s;-webkit-transition: all .3s;-ms-transition: all .3s;transition: all .3s;
}
.input-loginform:focus {
outline: 0;
background: #fff;
border: 2px solid #000;
-moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none;
-moz-box-shadow: none;-webkit-box-shadow: none;box-shadow: none;
}
.input-loginform:-moz-placeholder {
color: #888;
color: #888;
}
.input-loginform:-ms-input-placeholder {
color: #888;
color: #888;
}
.input-loginform::-webkit-input-placeholder {
color: #888;
color: #888;
}

.login-block {
Expand All @@ -347,30 +361,30 @@ table.table-small {
padding: 50px 0;
}
.banner-sec {
background: url("../images/login.jpg") no-repeat bottom;
background-size: cover;
min-height: 500px;
border-radius: 0 10px 10px 0;
background: url("../images/login.jpg") no-repeat bottom;
background-size: cover;
min-height: 500px;
border-radius: 0 10px 10px 0;
padding: 0;
}
.login-container {
background: #fff;
border-radius: 10px;
background: #fff;
border-radius: 10px;
box-shadow: 15px 20px 0px rgba(0,0,0,0.1);
}
.login-sec {
padding: 50px 30px;
padding: 50px 30px;
position: relative;
}
.login-sec h2 {
margin-bottom: 30px;
font-weight: 800;
font-size: 30px;
margin-bottom: 30px;
font-weight: 800;
font-size: 30px;
color: #54b948;
}
.login-sec h2:after {
content: " ";
width: 100px;
content: " ";
width: 100px;
height: 5px;
background: #cbeac8;
display: block;
Expand All @@ -380,7 +394,7 @@ table.table-small {
margin-right: auto;
}
.btn-login {
background: #54b948;
background: #54b948;
color: #fff;
font-weight:600;
}
5 changes: 3 additions & 2 deletions download.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
set_time_limit(0);
session_start();

function get_mime_type($filename) {
Expand Down Expand Up @@ -81,7 +82,7 @@ function get_mime_type($filename) {
$filename = basename($name);

/* Check if we have a MSG/PST/ZIP file */
if ($ext != "plain")
if ($ext != 'plain')
$filename .= '.' . $ext;

if(!is_file($file))
Expand All @@ -91,7 +92,7 @@ function get_mime_type($filename) {
header('Expires: 0');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');

if ($ext == "msg" || $ext == "pst") {
if ($ext == 'msg' || $ext == 'pst') {
header('Content-Encoding: UTF-8');
header('Content-Type: application/vnd.ms-outlook;charset=UTF-8');
header('Content-Type: application/octet-stream');
Expand Down
Loading

0 comments on commit cc0efbf

Please sign in to comment.