mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-15 12:44:03 +00:00
Get rid of the splashpage banner photo and "descriptions"
This commit is contained in:
parent
60ba81ab46
commit
30e8ab856c
23 changed files with 1235 additions and 184 deletions
|
|
@ -22,6 +22,8 @@
|
|||
//= require dashboard
|
||||
//= require ahoy
|
||||
//= require smoothscroll
|
||||
//= require trianglify.min
|
||||
//= require tinycolor
|
||||
//= require bootstrap-markdown
|
||||
//= require to-markdown
|
||||
//= require markdown
|
||||
|
|
@ -30,6 +32,7 @@
|
|||
//= require osem-datepickers
|
||||
//= require osem-datatables
|
||||
//= require osem-tickets
|
||||
//= require osem-splash
|
||||
|
||||
$(document).ready(function() {
|
||||
$('a[disabled=disabled]').click(function(event){
|
||||
|
|
|
|||
7
app/assets/javascripts/osem-splash.js
Normal file
7
app/assets/javascripts/osem-splash.js
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
$(function () {
|
||||
$(document).ready(function() {
|
||||
var t = new Trianglify({cellsize: 100, x_gradient: triangle_colors });
|
||||
var pattern = t.generate(document.body.clientWidth, ($( "#splash-banner" ).height() + 200 ));
|
||||
$('#splash-banner').css('background-image', pattern.dataUrl);
|
||||
});
|
||||
});
|
||||
1112
app/assets/javascripts/tinycolor.js
Normal file
1112
app/assets/javascripts/tinycolor.js
Normal file
File diff suppressed because it is too large
Load diff
1
app/assets/javascripts/trianglify.min.js
vendored
Normal file
1
app/assets/javascripts/trianglify.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue