Changeset - 52afeb759a8e
[Not reviewed]
default
0 4 0
Dennis Fink - 11 years ago 2014-04-15 23:19:40
dennis.fink@c3l.lu
update
4 files changed with 7 insertions and 25 deletions:
0 comments (0 inline, 0 general)
ennstatus/__init__.py
Show inline comments
 
@@ -18,13 +18,13 @@ from ennstatus.root.views import root_pa
 
from ennstatus.api.views import api_page
 
from ennstatus.donate.views import donate_page
 
from ennstatus.status.views import status_page
 
from ennstatus.stats.views import stats_page
 
#from ennstatus.stats.views import stats_page
 

	
 
app.register_blueprint(root_page)
 
app.register_blueprint(api_page, url_prefix='/api')
 
app.register_blueprint(donate_page, url_prefix='/donate')
 
app.register_blueprint(status_page, url_prefix='/status')
 
app.register_blueprint(stats_page, url_prefix='/stats')
 
#app.register_blueprint(stats_page, url_prefix='/stats')
 

	
 

	
 
@app.errorhandler(404)
ennstatus/templates/base.html
Show inline comments
 
@@ -79,24 +79,6 @@
 
            <li><a href="{{ url_for('status.about') }}">Ënnstatus About</a></li>
 
          </ul>
 
        </li>
 
        <li class="dropdown">
 
          <a href="#" class="dropdown-toggle" data-toggle="dropdown">Statistics <b class="caret"></b></a>
 
          <ul class="dropdown-menu">
 
            <li><a href="{{ url_for('stats.index') }}">Statistics</a></li>
 
            <li class="divider"></li>
 
            <li class="dropdown-header">Traffic plots</li>
 
            <li class="divider"></li>
 
            <li class="dropdown-header">Total plots</li>
 
            <li><a href="{{ url_for('stats.totalpie') }}">Total traffic by server</a></li>
 
            <li><a href="{{ url_for('stats.totaltype') }}">Total traffic by server type</a></li>
 
            <li class="divider"></li>
 
            <li class="dropdown-header">Worldmaps</li>
 
            <li><a href="{{ url_for('stats.worldmap') }}">All nodes</a></li>
 
            <li><a href="{{ url_for('stats.worldmap', server_type='exit') }}">Exit nodes</a></li>
 
            <li><a href="{{ url_for('stats.worldmap', server_type='relay') }}">Relay nodes</a></li>
 
            <li><a href="{{ url_for('stats.worldmap', server_type='bridge') }}">Bridge nodes</a></li>
 
          </ul>
 
        </li>
 
     </ul>
 
    </div>
 
  </div>
requirements.in
Show inline comments
 
@@ -2,8 +2,8 @@ Flask-WTF==0.9.4
 
Flask-Bootstrap==3.0.3.1
 
Flask-Compress==1.0.0
 
Flask-Mail==0.9.0
 
Flask-SSLify==0.1.4
 
#Flask-SSLify==0.1.4
 
Flask==0.10.1
 
pygeoip==0.3.0
 
pygal==1.2.1
 
humanize==0.5
 
#pygal==1.2.1
 
#humanize==0.5
setup.py
Show inline comments
 
@@ -6,12 +6,12 @@ def _get_requirements():
 
    with open('requirements.in', encoding='utf-8') as f:
 
        lines = f.readlines()
 

	
 
    lines = [line[:-1] for line in lines]
 
    lines = [line[:-1] for line in lines if not line.startswith('#')]
 
    return lines
 

	
 

	
 
setup(name='Ennstatus',
 
      version='4.0.1',
 
      version='4.0.2',
 
      description=('Ennstatus provides the user with vital information about '
 
                   'the status of the organizations Tor servers.'),
 
      author='Frënn vun der Ënn',
0 comments (0 inline, 0 general)