Git didn't include these for some reason x.x
This commit is contained in:
parent
2c6a20f259
commit
a1253907c8
|
@ -26,6 +26,7 @@ CREATE TABLE `topics`(
|
||||||
`tid` int not null AUTO_INCREMENT,
|
`tid` int not null AUTO_INCREMENT,
|
||||||
`title` varchar(100) not null,
|
`title` varchar(100) not null,
|
||||||
`content` text not null,
|
`content` text not null,
|
||||||
|
`parsed_content` text not null,
|
||||||
`createdAt` datetime not null,
|
`createdAt` datetime not null,
|
||||||
`lastReplyAt` datetime not null,
|
`lastReplyAt` datetime not null,
|
||||||
`createdBy` int not null,
|
`createdBy` int not null,
|
||||||
|
@ -39,6 +40,7 @@ CREATE TABLE `replies`(
|
||||||
`rid` int not null AUTO_INCREMENT,
|
`rid` int not null AUTO_INCREMENT,
|
||||||
`tid` int not null,
|
`tid` int not null,
|
||||||
`content` text not null,
|
`content` text not null,
|
||||||
|
`parsed_content` text not null,
|
||||||
`createdAt` datetime not null,
|
`createdAt` datetime not null,
|
||||||
`createdBy` int not null,
|
`createdBy` int not null,
|
||||||
`lastEdit` int not null,
|
`lastEdit` int not null,
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
<div class="alert_success">Your data was successfully updated</div>
|
<div class="alert_success">Your data was successfully updated</div>
|
||||||
<div class="colblock_left">
|
<div class="colblock_left">
|
||||||
<div class="rowitem"><a>My Account</a></div>
|
<div class="rowitem"><a>My Account</a></div>
|
||||||
<div class="rowitem passive"><a href="/user/edit/critical/">Edit Password</a></div>
|
|
||||||
<div class="rowitem passive"><a href="/user/edit/avatar/">Edit Avatar</a></div>
|
<div class="rowitem passive"><a href="/user/edit/avatar/">Edit Avatar</a></div>
|
||||||
|
<div class="rowitem passive"><a href="/user/edit/critical/">Edit Password</a></div>
|
||||||
<div class="rowitem passive"><a>Coming Soon</a></div>
|
<div class="rowitem passive"><a>Coming Soon</a></div>
|
||||||
<div class="rowitem passive"><a>Coming Soon</a></div>
|
<div class="rowitem passive"><a>Coming Soon</a></div>
|
||||||
<div class="rowitem passive"><a>Coming Soon</a></div>
|
<div class="rowitem passive"><a>Coming Soon</a></div>
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
<div class="alert_success">Your data was successfully updated</div>
|
<div class="alert_success">Your data was successfully updated</div>
|
||||||
<div class="colblock_left">
|
<div class="colblock_left">
|
||||||
<div class="rowitem"><a>My Account</a></div>
|
<div class="rowitem"><a>My Account</a></div>
|
||||||
<div class="rowitem passive"><a href="/user/edit/critical/">Edit Password</a></div>
|
|
||||||
<div class="rowitem passive"><a href="/user/edit/avatar/">Edit Avatar</a></div>
|
<div class="rowitem passive"><a href="/user/edit/avatar/">Edit Avatar</a></div>
|
||||||
|
<div class="rowitem passive"><a href="/user/edit/critical/">Edit Password</a></div>
|
||||||
<div class="rowitem passive"><a>Coming Soon</a></div>
|
<div class="rowitem passive"><a>Coming Soon</a></div>
|
||||||
<div class="rowitem passive"><a>Coming Soon</a></div>
|
<div class="rowitem passive"><a>Coming Soon</a></div>
|
||||||
<div class="rowitem passive"><a>Coming Soon</a></div>
|
<div class="rowitem passive"><a>Coming Soon</a></div>
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{{template "header.html" . }}
|
{{template "header.html" . }}
|
||||||
<div class="colblock_left">
|
<div class="colblock_left">
|
||||||
<div class="rowitem"><a>My Account</a></div>
|
<div class="rowitem"><a>My Account</a></div>
|
||||||
<div class="rowitem passive"><a href="/user/edit/critical/">Edit Password</a></div>
|
|
||||||
<div class="rowitem passive"><a href="/user/edit/avatar/">Edit Avatar</a></div>
|
<div class="rowitem passive"><a href="/user/edit/avatar/">Edit Avatar</a></div>
|
||||||
|
<div class="rowitem passive"><a href="/user/edit/critical/">Edit Password</a></div>
|
||||||
<div class="rowitem passive"><a>Coming Soon</a></div>
|
<div class="rowitem passive"><a>Coming Soon</a></div>
|
||||||
<div class="rowitem passive"><a>Coming Soon</a></div>
|
<div class="rowitem passive"><a>Coming Soon</a></div>
|
||||||
<div class="rowitem passive"><a>Coming Soon</a></div>
|
<div class="rowitem passive"><a>Coming Soon</a></div>
|
||||||
|
|
15
src/topic.go
15
src/topic.go
|
@ -13,3 +13,18 @@ type Topic struct
|
||||||
Status string
|
Status string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type TopicUser struct
|
||||||
|
{
|
||||||
|
ID int
|
||||||
|
Title string
|
||||||
|
Content interface{}
|
||||||
|
CreatedBy int
|
||||||
|
Is_Closed bool
|
||||||
|
Sticky bool
|
||||||
|
CreatedAt string
|
||||||
|
ParentID int
|
||||||
|
Status string
|
||||||
|
|
||||||
|
CreatedByName string
|
||||||
|
Avatar string
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue