Skip to content

Commit

Permalink
develop
Browse files Browse the repository at this point in the history
  • Loading branch information
0c34 committed Oct 23, 2017
1 parent 306533a commit 31a8888
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 109 deletions.
2 changes: 2 additions & 0 deletions app.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ func indexHandler(w http.ResponseWriter, r *http.Request, _ httprouter.Params) {

s := session.New()
uname := s.GetSession(r, "uname")
id := s.GetSession(r, "id")

data["level"] = cookie
data["title"] = "Index"
data["weburl"] = util.Fullurl
data["uname"] = uname
data["uid"] = id

fmt.Println(r.FormValue("govwa_session"))
util.SafeRender(w,"template.index", data)
Expand Down
6 changes: 6 additions & 0 deletions public/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,12 @@ html,body {
transition: all 2s ease; */
}

.nav-side-menu li span{
font-family: verdana;
font-size: 12px;
font-weight: 200;
color: #18191A;
}
@media (max-width: 767px) {
.nav-side-menu {
position: relative;
Expand Down
3 changes: 0 additions & 3 deletions templates/template.sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@
<i class="fa fa-sign-out fa-lg"></i> Logout
</a>
</li>
<li style="height:35px">
<span>tes</span>
</li>
</ul>
</div>
</div>
Expand Down
24 changes: 24 additions & 0 deletions templates/template.sqli.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{{define "template.index"}}
{{template "template.header" .}}
{{template "template.sidebar" .}}
<div class="col-md-9">
<div class="panel panel-primary">
<div class="panel-heading">SQL Injection</div>
<div class="panel-body">
<div class="pnl">
<span class="subheader">SQL Injection Vulnerability</span>
<p>
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,
when an unknown printer took a galley of type and scrambled it to make a type
specimen book. It has survived not only five centuries, but also the leap into
electronic typesetting, remaining essentially unchanged. It was popularised in
the 1960s with the release of Letraset sheets containing Lorem Ipsum passages,
and more recently with desktop publishing software like Aldus PageMaker including
versions of Lorem Ipsum.
</p>
</div>
</div>
</div>
</div>
{{template "template.footer"}} {{ end }}
106 changes: 0 additions & 106 deletions templates/tes.html

This file was deleted.

0 comments on commit 31a8888

Please sign in to comment.