Source

hbwebui / hbwebui / urls.py

from django.conf.urls import patterns, include, url

urlpatterns = patterns('hbwebui.views',
    url(r'^$', 'dashboard', name='dashboard'),
    url(r'^stats/binaries$', 'stats_binaries', name='stats_binaries'),
    url(r'^stats/source_ips$', 'stats_source_ips', name='stats_source_ips'),
    
    url(r'^r/stats/source_ips$', 'r_stats_source_ips', name='r_stats_source_ips'),
    url(r'^r/stats/source_ips/summary$', 'r_stats_source_ips_summary', name='r_stats_source_ips_summary'),
    
    url(r'^r/stats/binaries$', 'r_stats_binaries', name='r_stats_binaries'),
    url(r'^r/stats/binaries/summary$', 'r_stats_binaries_summary', name='r_stats_binaries_summary'),
    
    url(r'^r/myidents', 'myidents', name='myidents'),
    
    url(r'^r/sensoractivity_24', 'sensoractivity', {'hours': 24}, name='sensoractivity_24'),
    url(r'^r/sensoractivity_168', 'sensoractivity', {'hours': 168}, name='sensoractivity_168'),
    
    url(r'^r/ts/sensoractivity_x_168', 'ts_sensoractivity_x', {'hours': 168}, name='ts_sensoractivity_x_168'),    
    
)

urlpatterns += patterns('',
    url(r'^login$', 'django.contrib.auth.views.login',
        {
            'template_name': 'login.html',
        },
        name='login'
    ),
    url(r'^logout$', 'django.contrib.auth.views.logout',
        {
            'next_page': 'login'
        },
        name='logout'
    ),
)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.