ソースを参照

Removed Inbox

Yoginth 7 年 前
コミット
e7db23f433
3 ファイル変更0 行追加47 行削除
  1. 0 1
      cmd/web.go
  2. 0 42
      templates/admin/inbox.tmpl
  3. 0 4
      templates/admin/navbar.tmpl

+ 0 - 1
cmd/web.go

@@ -261,7 +261,6 @@ func runWeb(c *cli.Context) error {
 		m.Get("/config", admin.Config)
 		m.Post("/config/test_mail", admin.SendTestMail)
 		m.Get("/monitor", admin.Monitor)
-		m.Get("/inbox", admin.Inbox)
 		
 		m.Group("/news", func() {
 			m.Get("", admin.News)

+ 0 - 42
templates/admin/inbox.tmpl

@@ -1,42 +0,0 @@
-{{/** WIP - Alpha **/}}
-{{template "base/head" .}}
-<div class="admin monitor">
-	<div class="ui container">
-		<div class="ui grid">
-			{{template "admin/navbar" .}}
-			<div class="twelve wide column content">
-				{{template "base/alert" .}}
-				<h4 class="ui top attached header">
-					Inbox 📬 <span class="ui red label small">Alpha</span>
-				</h4>
-				<div class="ui unstackable attached table segment">
-					<table class="ui unstackable very basic striped table">
-						<thead>
-							<tr>
-								<th>Name</th>
-								<th>Email</th>
-								<th>Subject</th>
-								<th>Op.</th>
-							</tr>
-						</thead>
-						<tbody>
-							{{/** {{range .Entries}} **/}}
-								<tr>
-									<td>
-									    <a class="ui image label" href="{{AppSubURL}}/example">
-											<img src="https://secure.gravatar.com/avatar/554506e208edaf6c95dc896105b898f0?s=40&d=identicon"> Example
-										</a>
-									</td>
-									<td><b>me@example.com</td>
-									<td>My Account Suspended</td>
-									<td><a href="#"><i class="eye icon view-detail" data-content="{{.Description}}"></i></a></td>
-								</tr>
-							{{/** {{end}} **/}}
-						</tbody>
-					</table>
-				</div>
-			</div>
-		</div>
-	</div>
-</div>
-{{template "base/footer" .}}

+ 0 - 4
templates/admin/navbar.tmpl

@@ -30,10 +30,6 @@
 		<a class="{{if .PageIsAdminNotices}}active{{end}} item" href="{{AppSubURL}}/admin/notices">
 			📜 System Notices
 		</a>
-		<a class="{{if .PageIsAdminInbox}}active{{end}} item" href="{{AppSubURL}}/admin/inbox">
-			📬 Inbox
-			<span class="ui red basic label small">Alpha</span>
-		</a>
 		<a class="{{if .PageIsAdminMonitor}}active{{end}} item" href="{{AppSubURL}}/admin/monitor">
 			💻 Monitoring
 		</a>