Skip to content

Commit 11768f4

Browse files
committed
Add license comments.
1 parent 4e2026e commit 11768f4

File tree

8 files changed

+51
-0
lines changed

8 files changed

+51
-0
lines changed

__init__.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# scms Copyright (C) 2020 - nomike <[email protected]>
2+
# This program comes with ABSOLUTELY NO WARRANTY; for details see LICENSE.
3+
# This is free software, and you are welcome to redistribute it
4+
# under certain conditions
5+
6+
"""
7+
Creates a Flask application which serves the scms.
8+
"""
9+
110
import os
211
from flask import Flask
312
import flask

passenger_wsgi.py.example

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
#!/home/<dreamhostuser>/venv/bin/python
2+
3+
# scms Copyright (C) 2020 - nomike <[email protected]>
4+
# This program comes with ABSOLUTELY NO WARRANTY; for details see LICENSE.
5+
# This is free software, and you are welcome to redistribute it
6+
# under certain conditions; type `show c' for details.
7+
28
import sys, os
39
INTERP = os.path.join(os.environ['HOME'], 'venv', 'bin', 'python')
410
if sys.executable != INTERP:

static/design.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
scms Copyright (C) 2020 - nomike <[email protected]>
3+
This program comes with ABSOLUTELY NO WARRANTY; for details see LICENSE.
4+
This is free software, and you are welcome to redistribute it
5+
under certain conditions
6+
*/
17
body {
28
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
39
margin: 0;

static/powerline.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
/*
2+
scms Copyright (C) 2020 - nomike <[email protected]>
3+
This program comes with ABSOLUTELY NO WARRANTY; for details see LICENSE.
4+
This is free software, and you are welcome to redistribute it
5+
under certain conditions
6+
7+
This is based on:
8+
29
Name: Powerline.css
310
Author: @vivekascoder (Github/Facebook/Instagram/Gmail)
411

templatehelper.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# scms Copyright (C) 2020 - nomike <[email protected]>
2+
# This program comes with ABSOLUTELY NO WARRANTY; for details see LICENSE.
3+
# This is free software, and you are welcome to redistribute it
4+
# under certain conditions
5+
16
"""
27
Contains helper functions to be used within templates.
38
All functions and imports defined in here, are accessible from within Jinja2 templates.

templates/base.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
{#
2+
scms Copyright (C) 2020 - nomike <nomike@nomike.com>
3+
This program comes with ABSOLUTELY NO WARRANTY; for details see LICENSE.
4+
This is free software, and you are welcome to redistribute it
5+
under certain conditions
6+
#}
17
{% if not templatehelper.os.path.exists(templatehelper.os.path.join('public', path, '.scmsnotemplate')): %}
28
<!DOCTYPE html>
39
<html>

templates/directory.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
{#
2+
scms Copyright (C) 2020 - nomike <nomike@nomike.com>
3+
This program comes with ABSOLUTELY NO WARRANTY; for details see LICENSE.
4+
This is free software, and you are welcome to redistribute it
5+
under certain conditions
6+
#}
17
{% extends 'base.html' %}
28
{% block title %}/{{ path }}{% endblock %}\
39
{% block menu %}

templates/error.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
{#
2+
scms Copyright (C) 2020 - nomike <nomike@nomike.com>
3+
This program comes with ABSOLUTELY NO WARRANTY; for details see LICENSE.
4+
This is free software, and you are welcome to redistribute it
5+
under certain conditions
6+
#}
17
{% extends 'base.html' %}
28
{% block content %}
39
<h1>Error: {{ code }}</h1>

0 commit comments

Comments
 (0)