Initial Commit

This commit is contained in:
Quentin Rouland 2019-09-15 00:02:14 +02:00
commit 7d899a308b
15 changed files with 382 additions and 0 deletions

8
LICENSE Normal file
View File

@ -0,0 +1,8 @@
MIT License
Copyright (c) 2016 Quentin Rouland
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# Forge
Ma Forge sur rdrive.ovh

6
css/bootstrap.css vendored Normal file

File diff suppressed because one or more lines are too long

87
css/styles.css Normal file
View File

@ -0,0 +1,87 @@
/*
* Style tweaks
* --------------------------------------------------
*/
html,
body {
overflow-x: hidden; /* Prevent scroll on narrow devices */
}
body {
padding-top: 70px;
}
footer {
padding-top: 20px;
padding-bottom: 10px;
background-color:rgb(245, 245, 245);
}
.divMarginBot div {
margin-bottom: 20px;
}
/*
* Off Canvas
* --------------------------------------------------
*/
@media screen and (max-width: 767px) {
.row-offcanvas {
position: relative;
-webkit-transition: all .25s ease-out;
-o-transition: all .25s ease-out;
transition: all .25s ease-out;
}
.row-offcanvas-right {
right: 0;
}
.row-offcanvas-left {
left: 0;
}
.row-offcanvas-right
.sidebar-offcanvas {
right: -50%; /* 6 columns */
}
.row-offcanvas-left
.sidebar-offcanvas {
left: -50%; /* 6 columns */
}
.row-offcanvas-right.active {
right: 50%; /* 6 columns */
}
.row-offcanvas-left.active {
left: 50%; /* 6 columns */
}
.sidebar-offcanvas {
position: absolute;
top: 0;
width: 50%; /* 6 columns */
}
}
:root .container > .infoBoxList > .shareInfoBox
{ display: none !important; }
.services {
display:none;
}
#barprogress {
z-index: 9999999;
position: fixed;
top: 0;
left: 0;
height: 2px;
width: 100%;
margin: 0;
padding: 0;
}

BIN
images/git.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

BIN
images/jenkins.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

BIN
images/latex.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

BIN
images/owncloud.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
images/taiga.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

BIN
images/webmail.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

142
index.html Normal file
View File

@ -0,0 +1,142 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="generator" content="HTML Tidy for HTML5 for Linux version 5.2.0">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Forge</title>
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="css/bootstrap.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
<!--div id="barprogress"></div-->
<nav class="navbar navbar-fixed-top navbar-inverse ">
<div class="container">
<div class="navbar-header">
<a class="egg navbar-brand" href="#">Rdrive Portal</a>
</div>
</div><!-- /.container -->
</nav><!-- /.navbar -->
<div class="container">
<div class="row row-offcanvas row-offcanvas-right">
<div class="col-xs-12 col-sm-12 col-md-12">
<div class="row divMarginBot">
<div class="col-xs-12 col-sm-6 col-md-4" style="display:none;" >
<div class="center-block">
<center>
<a class="btn btn-default" href="https://latex.rdrive.ovh/"><img src="images/latex.png" class="img-responsive"></a>
</center>
</div>
</div>
<div class="col-xs-12 col-sm-6 col-md-4 services" >
<div class="center-block">
<center>
<a class="btn btn-default" href="https://taiga.rdrive.ovh/"><img src="images/taiga.png" class="img-responsive"></a>
</center>
</div>
</div>
<div class="col-xs-12 col-sm-6 col-md-4 services" >
<div class="center-block">
<center>
<a class="btn btn-default" href="https://git.rdrive.ovh/"><img src="images/git.png" class="img-responsive"></a>
</center>
</div>
</div>
<div class="col-xs-12 col-sm-6 col-md-4 services" >
<div class="center-block">
<center>
<a class="btn btn-default" href="https://ci.rdrive.ovh/"><img src="images/jenkins.png" class="img-responsive"></a>
</center>
</div>
</div>
<div class="col-xs-12 col-sm-6 col-md-4 services" >
<div class="center-block">
<center>
<a class="btn btn-default" href="https://nextcloud.rdrive.ovh/"><img src="images/owncloud.png" class="img-responsive"></a>
</center>
</div>
</div>
<div class="col-xs-12 col-sm-6 col-md-4" style="display:none;">
<div class="center-block">
<center>
<a class="btn btn-default" href="https://mail.rdrive.ovh/"><img src="images/webmail.png" class="img-responsive"></a>
</center>
</div>
</div>
</div>
</div>
</div>
<footer class="footer navbar-fixed-bottom text-center">
<a href="#">rdrive.ovh</p>
</footer>
</div><!--/.container-->
<!-- Progress Bar -- https://kimmobrunfeldt.github.io/progressbar.js/ -->
<script src="js/progressbar.min.js">
</script>
<script >
var bar = new ProgressBar.Line('#barprogress', {
strokeWidth: 4,
easing: 'easeInOut',
duration: 1400,
color: '#FFEA82',
trailColor: '#eee',
trailWidth: 1,
svgStyle: {width: '100%', height: '100%'},
text: {
style: {
// Text color.
// Default: same as stroke color (options.color)
color: '#999',
position: 'absolute',
right: '0',
top: '0px',
padding: 0,
margin: 0,
transform: null
},
autoStyleContainer: false
},
from: {color: '#FFEA82'},
to: {color: '#ED6A5A'},
step: (state, bar) => {
//bar.setText(Math.round(bar.value() * 100) + ' %');
}
});
bar.animate(1.0);
</script>
<!-- JQuery -->
<script src="js/jquery.js">
</script>
<!-- Bootstrap js -->
<script src="js/bootstrap.js">
</script>
<!-- Project filter -->
<script>
$.myShow = function(name){
var elements = $(name);
var elementCount = elements.size();
var i = 0;
while (i < elementCount) {
elements.eq(i).delay( i * 250 ).show({width:'toogle', height:'300px'}, 400);
++i;
}
}
$.myShow(".services");
</script>
</body>
</html>

7
js/bootstrap.js vendored Normal file

File diff suppressed because one or more lines are too long

6
js/jquery.js vendored Normal file

File diff suppressed because one or more lines are too long

117
js/jquery_cookie.js vendored Normal file
View File

@ -0,0 +1,117 @@
/*!
* jQuery Cookie Plugin v1.4.1
* https://github.com/carhartl/jquery-cookie
*
* Copyright 2013 Klaus Hartl
* Released under the MIT license
*/
(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD
define(['jquery'], factory);
} else if (typeof exports === 'object') {
// CommonJS
factory(require('jquery'));
} else {
// Browser globals
factory(jQuery);
}
}(function ($) {
var pluses = /\+/g;
function encode(s) {
return config.raw ? s : encodeURIComponent(s);
}
function decode(s) {
return config.raw ? s : decodeURIComponent(s);
}
function stringifyCookieValue(value) {
return encode(config.json ? JSON.stringify(value) : String(value));
}
function parseCookieValue(s) {
if (s.indexOf('"') === 0) {
// This is a quoted cookie as according to RFC2068, unescape...
s = s.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\');
}
try {
// Replace server-side written pluses with spaces.
// If we can't decode the cookie, ignore it, it's unusable.
// If we can't parse the cookie, ignore it, it's unusable.
s = decodeURIComponent(s.replace(pluses, ' '));
return config.json ? JSON.parse(s) : s;
} catch(e) {}
}
function read(s, converter) {
var value = config.raw ? s : parseCookieValue(s);
return $.isFunction(converter) ? converter(value) : value;
}
var config = $.cookie = function (key, value, options) {
// Write
if (value !== undefined && !$.isFunction(value)) {
options = $.extend({}, config.defaults, options);
if (typeof options.expires === 'number') {
var days = options.expires, t = options.expires = new Date();
t.setTime(+t + days * 864e+5);
}
return (document.cookie = [
encode(key), '=', stringifyCookieValue(value),
options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
options.path ? '; path=' + options.path : '',
options.domain ? '; domain=' + options.domain : '',
options.secure ? '; secure' : ''
].join(''));
}
// Read
var result = key ? undefined : {};
// To prevent the for loop in the first place assign an empty array
// in case there are no cookies at all. Also prevents odd result when
// calling $.cookie().
var cookies = document.cookie ? document.cookie.split('; ') : [];
for (var i = 0, l = cookies.length; i < l; i++) {
var parts = cookies[i].split('=');
var name = decode(parts.shift());
var cookie = parts.join('=');
if (key && key === name) {
// If second argument (value) is a function it's a converter...
result = read(cookie, value);
break;
}
// Prevent storing a cookie that we couldn't decode.
if (!key && (cookie = read(cookie)) !== undefined) {
result[name] = cookie;
}
}
return result;
};
config.defaults = {};
$.removeCookie = function (key, options) {
if ($.cookie(key) === undefined) {
return false;
}
// Must not alter options, thus extending a fresh object...
$.cookie(key, '', $.extend({}, options, { expires: -1 }));
return !$.cookie(key);
};
}));

6
js/progressbar.min.js vendored Normal file

File diff suppressed because one or more lines are too long