Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
d8dca203
Commit
d8dca203
authored
Aug 17, 2014
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated
parent
efed13b9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
55 deletions
+0
-55
'
+0
-51
pkg/api/api.go
+0
-4
No files found.
'
deleted
100644 → 0
View file @
efed13b9
<div class="navbar navbar-static-top">
<div class="navbar-inner">
<div class="container-fluid">
<span class="brand">
<i class="icon-gears" style=""></i>
<span style="color: white; padding-left: 4px;">Grafana</span>
<ul class="nav" ng-controller='DashboardNavCtrl' ng-init="init()">
</span>
</ul>
</div>
</div>
</div>
<section class="pro-sidemenu-items">
<div class="dropdown pro-side-menu-user">
<img src="https://secure.gravatar.com/avatar/c8656e8972626f01e1703681d5e55f92?s=90&default=blank">
<a class="dropdown-toggle pro-sidemenu-link " data-toggle="dropdown">
torkelo
<i class="icon-caret-down"></i>
</a>
<ul class="dropdown-menu">
<li><a href="/logout" target="_blank">Logout</a></li>
</ul>
</div>
<a class="pro-sidemenu-link" href="/dashboard/db/home">
<i class="icon-th-large"></i>
Dashboards
</a>
<a class="pro-sidemenu-link" href="/charts">
<i class="icon-signal"></i>
Graphs
</a>
<a class="pro-sidemenu-link" href="/charts">
<i class="icon-bolt" style="padding-right: 23px"></i>
Alerts
</a>
<a class="pro-sidemenu-link" href="/admin/datasources">
<i class="icon-sitemap"></i>
Data sources
</a>
<a class="pro-sidemenu-link" href="/admin">
<i class="icon-tasks"></i>
Global options
</a>
<a class="pro-sidemenu-link" href="/admin">
<i class="icon-user"></i>
User accounts
</a>
</section>
</div>
pkg/api/api.go
View file @
d8dca203
...
@@ -20,10 +20,6 @@ type HttpServer struct {
...
@@ -20,10 +20,6 @@ type HttpServer struct {
var
sessionStore
=
sessions
.
NewCookieStore
([]
byte
(
"something-very-secret"
))
var
sessionStore
=
sessions
.
NewCookieStore
([]
byte
(
"something-very-secret"
))
// var hashKey = []byte("very-secret")
// var blockKey = []byte("a-lot-secret")
// var s = securecookie.New(hashKey, blockKey)
func
NewHttpServer
(
port
string
,
store
stores
.
Store
)
*
HttpServer
{
func
NewHttpServer
(
port
string
,
store
stores
.
Store
)
*
HttpServer
{
self
:=
&
HttpServer
{}
self
:=
&
HttpServer
{}
self
.
port
=
port
self
.
port
=
port
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment