2016-04-12 19:05:43 +09:00
|
|
|
$# This file is part of Vervis.
|
|
|
|
$#
|
2018-07-11 17:15:19 +09:00
|
|
|
$# Written in 2016, 2018 by fr33domlover <fr33domlover@riseup.net>.
|
2016-04-12 19:05:43 +09:00
|
|
|
$#
|
|
|
|
$# ♡ Copying is an act of love. Please copy, reuse and share.
|
|
|
|
$#
|
|
|
|
$# The author(s) have dedicated all copyright and related and neighboring
|
|
|
|
$# rights to this software to the public domain worldwide. This software is
|
|
|
|
$# distributed without any warranty.
|
|
|
|
$#
|
|
|
|
$# You should have received a copy of the CC0 Public Domain Dedication along
|
|
|
|
$# with this software. If not, see
|
|
|
|
$# <http://creativecommons.org/publicdomain/zero/1.0/>.
|
|
|
|
|
2016-04-13 08:38:21 +09:00
|
|
|
$maybe desc <- repoDesc repository
|
|
|
|
<p>#{desc}
|
|
|
|
|
2016-05-14 04:23:56 +09:00
|
|
|
<p>
|
2018-07-11 17:15:19 +09:00
|
|
|
^{buttonW DELETE "Delete this repo" (RepoR user repo)}
|
2016-05-14 04:23:56 +09:00
|
|
|
|
2016-06-06 15:55:46 +09:00
|
|
|
<p>
|
|
|
|
<a href=@{RepoDevsR user repo}>Collaborators
|
|
|
|
|
2016-04-13 08:38:21 +09:00
|
|
|
<p>
|
2016-05-06 01:30:30 +09:00
|
|
|
<a href=@{RepoHeadChangesR user repo}>Changes
|
2016-04-13 08:38:21 +09:00
|
|
|
|
2016-04-12 19:05:43 +09:00
|
|
|
<h2>Branches
|
2016-05-05 02:17:47 +09:00
|
|
|
|
2016-05-05 16:29:19 +09:00
|
|
|
<p>TODO
|
2016-04-12 19:05:43 +09:00
|
|
|
|
|
|
|
<h2>Tags
|
2016-05-05 02:17:47 +09:00
|
|
|
|
2016-05-05 16:29:19 +09:00
|
|
|
<p>TODO
|
2016-04-12 19:05:43 +09:00
|
|
|
|
2016-05-05 02:17:47 +09:00
|
|
|
<div>
|
|
|
|
$forall (piece, piecePath) <- dirs
|
2016-05-05 16:29:19 +09:00
|
|
|
<a href=@{RepoSourceR user repo piecePath}>#{piece}
|
2016-05-05 02:17:47 +09:00
|
|
|
/ #
|
|
|
|
|
|
|
|
$case sv
|
2016-05-05 16:29:19 +09:00
|
|
|
$of SourceFile (FileView name body)
|
2016-05-05 02:17:47 +09:00
|
|
|
<h2>#{name}
|
|
|
|
^{body}
|
2016-05-05 16:29:19 +09:00
|
|
|
$of SourceDir (DirectoryView mname ents mreadme)
|
2016-05-05 02:17:47 +09:00
|
|
|
<h2>#{fromMaybe "Files" mname}
|
2016-04-12 19:05:43 +09:00
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<th>Type
|
|
|
|
<th>Name
|
2016-05-05 16:29:19 +09:00
|
|
|
$forall DirEntry type' name <- ents
|
2016-04-12 19:05:43 +09:00
|
|
|
<tr>
|
2016-05-05 02:17:47 +09:00
|
|
|
<td>
|
|
|
|
$case type'
|
2016-05-05 16:29:19 +09:00
|
|
|
$of TypeBlob
|
2018-07-11 01:43:22 +09:00
|
|
|
🗎
|
2016-05-05 16:29:19 +09:00
|
|
|
$of TypeTree
|
2018-07-11 01:43:22 +09:00
|
|
|
🗀
|
2016-04-12 19:11:19 +09:00
|
|
|
<td>
|
2016-05-05 16:29:19 +09:00
|
|
|
<a href=@{RepoSourceR user repo (dir ++ [name])}>
|
2016-04-12 19:11:19 +09:00
|
|
|
#{name}
|
2016-04-14 01:17:34 +09:00
|
|
|
$maybe (readmeName, readmeWidget) <- mreadme
|
|
|
|
<h2>#{readmeName}
|
|
|
|
^{readmeWidget}
|