Skip to content

Commit

Permalink
make this more dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
OmgImAlexis committed Jan 18, 2016
1 parent e314409 commit 9eabf81
Show file tree
Hide file tree
Showing 40 changed files with 1,419 additions and 10,893 deletions.
21 changes: 21 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Dot files #
######################
.DS_Store
.AppleDouble
.LSOverride
._*
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
Thumbs.db
ehthumbs.db
Desktop.ini

# Grunt #
######################
bower_components
node_modules
dist
21 changes: 21 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"maxerr": 2,
"bitwise": true,
"browser": true,
"camelcase": true,
"curly": true,
"eqeqeq": true,
"forin": true,
"freeze": true,
"indent": 4,
"latedef": true,
"noarg": true,
"node": true,
"noempty": true,
"nonbsp": true,
"undef": true,
"unused": true,
"globals": {
"$": true
}
}
125 changes: 125 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
module.exports = function(grunt) {
require('load-grunt-tasks')(grunt);

grunt.initConfig({
clean: {
dist: './dist/',
bower: './bower_components' // jshint ignore:line
},
bower: {
install: {
options: {
copy: false
}
}
},
bower_concat: { // jshint ignore:line
vender: {
dest: './dist/vender.js',
cssDest: './dist/vender.css',
bowerOptions: {
relative: false
},
mainFiles: {
'bootstrap': [
'dist/css/bootstrap.css',
"dist/js/bootstrap.js"
],
"font-awesome": [
"css/font-awesome.css"
]
},
dependencies: {
}
}
},
uglify: {
vender: {
files: {
'./js/vender.min.js': ['./dist/vender.js']
}
},
core: {
files: {
'./js/core.min.js': ['./js/core.js']
}
}
},
cssmin: {
options: {
shorthandCompacting: false,
roundingPrecision: -1
},
vender: {
files: {
'./css/vender.min.css': [
'./dist/vender.css'
]
}
},
core: {
files: {
'./css/core.min.css': [
'./css/core.css'
]
}
}
},
copy: {
vender: {
files: [{
expand: true,
dot: true,
cwd: 'bower_components/font-awesome',
src: [
'fonts/*.*'
],
dest: './'
},{
expand: true,
dot: true,
cwd: 'bower_components/bootstrap',
src: [
'fonts/*.*'
],
dest: './'
}]
},
PTSans: {
files: [{
expand: true,
dot: true,
cwd: 'bower_components/PTSans',
src: [
'*.ttf'
],
dest: './css/fonts/'
}]
}
}
});

grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-bower-task');
grunt.loadNpmTasks('grunt-bower-concat');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-cssmin');
grunt.loadNpmTasks('grunt-contrib-jshint');

grunt.registerTask('default', [
'clean:dist',
'bower_concat',
'uglify',
'cssmin',
'copy'
]);

grunt.registerTask('refresh', [
'clean',
'bower',
'bower_concat',
'uglify',
'cssmin',
'copy'
]);
};
25 changes: 25 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "Managethis",
"homepage": "https://github.com/OmgImAlexis/Managethis",
"authors": [
"X O <xo@wvvw.me>"
],
"description": "",
"main": "",
"moduleType": [],
"license": "MIT",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
],
"dependencies": {
"bootstrap": "~3.3.6",
"font-awesome": "~4.5.0",
"PTSans": "https://google-fonts.azurewebsites.net/googleFonts/PTSans?family=PT+Sans:400",
"reset-css": "~2.0.2011012602",
"modernizr-built": "~3.2.0"
}
}
68 changes: 68 additions & 0 deletions config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"services": [
{
"name": "couchpotato",
"icons": {
"nav": "fa fa-television fa-lg",
"landingpage": "fa fa-television fa-3x"
},
"url": "http://192.168.1.150:5050"
}, {
"name": "glances",
"icons": {
"nav": "glyphicon glyphicon-dashboard fa-lg",
"landingpage": "glyphicon glyphicon-dashboard fa-3x"
},
"url": ""
}, {
"name": "headphones",
"icons": {
"nav": "glyphicon glyphicon-headphones fa-lg",
"landingpage": "glyphicon glyphicon-headphones fa-3x"
},
"url": "http://192.168.1.150:8181"
}, {
"name": "nzbget",
"icons": {
"nav": "fa fa-download fa-lg",
"landingpage": "fa fa-download fa-3x"
},
"url": ""
}, {
"name": "plex",
"icons": {
"nav": "fa fa-play-circle fa-lg",
"landingpage": "fa fa-play-circle fa-3x"
},
"url": ""
}, {
"name": "plexpy",
"icons": {
"nav": "fa fa-server fa-lg",
"landingpage": "fa fa-server fa-3x"
},
"url": ""
}, {
"name": "plexrequests",
"icons": {
"nav": "glyphicon glyphicon-bullhorn fa-lg",
"landingpage": "glyphicon glyphicon-bullhorn fa-3x"
},
"url": ""
}, {
"name": "rutorrent",
"icons": {
"nav": "fa fa-globe fa-lg",
"landingpage": "fa fa-globe fa-3x"
},
"url": ""
}, {
"name": "sonarr",
"icons": {
"nav": "glyphicon glyphicon-calendar fa-lg",
"landingpage": "fa fa-calendar fa-3x"
},
"url": ""
}
]
}
50 changes: 22 additions & 28 deletions css/style.css → css/core.css
Original file line number Diff line number Diff line change
@@ -1,51 +1,46 @@
/* --------------------------------
Primary style
/*csslint universal-selector: false, box-sizing: false */
/* --------------------------------
Primary style
-------------------------------- */
*, *::after, *::before {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

*::after, *::before {
content: '';
content: '';
}

body {
font-size: 0px;
font-family: "PT Sans", sans-serif;
font-size: 0;
font-family: "PT Sans", sans-serif;
}

a {
text-decoration: none;
text-decoration: none;
}

a:hover, a:visited, a:link, a:active
{
a:hover, a:visited, a:link, a:active {
text-decoration: none;
}

/* --------------------------------
Main components
/* --------------------------------
Main components
-------------------------------- */

.cd-tabs nav {
overflow: auto;
-webkit-overflow-scrolling: touch;
box-shadow: inset 0 -2px 3px rgba(203, 196, 130, 0.06);
}
overflow: auto;
-webkit-overflow-scrolling: touch;
box-shadow: inset 0 -2px 3px rgba(203, 196, 130, 0.06);
}
@media only screen and (min-width: 0px) {
.cd-tabs nav {
position: relative;
float: none;
background: transparent;
box-shadow: none;
}
.cd-tabs nav {
position: relative;
float: none;
background: transparent;
box-shadow: none;
}
}

.cd-tabs-navigation {
Expand Down Expand Up @@ -168,4 +163,3 @@ Main components
margin: 0px;
padding: 0px;
}

1 change: 1 addition & 0 deletions css/core.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added css/fonts/HvzEKSJww3kCxuiAo2A.ttf
Binary file not shown.
5 changes: 1 addition & 4 deletions landing/style.css → css/iframe.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
@import url(https://fonts.googleapis.com/css?family=PT+Sans:200,300,400,700);
@import url(https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css);
@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css);
* {
margin: 0;
padding: 0;
}

html {
background: url(images/landing-bg.jpg) no-repeat center center fixed;
background: url(../images/landing-bg.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
Expand Down
Loading

0 comments on commit 9eabf81

Please sign in to comment.