mirror of
https://forge.pointfixe.fr/hubert/gitust.git
synced 2026-02-04 18:47:29 +01:00
ne compile pas encore
This commit is contained in:
@@ -97,6 +97,9 @@ async fn git_main(web::Path((owner, reponame, commitname, rootname)): web::Path<
|
|||||||
let user = User { name : "Hubert".to_string()};
|
let user = User { name : "Hubert".to_string()};
|
||||||
GitMainTemplate { repo, browse : browse, root : path, user_opt : Some(user)}
|
GitMainTemplate { repo, browse : browse, root : path, user_opt : Some(user)}
|
||||||
}
|
}
|
||||||
|
#[derive(Template)]
|
||||||
|
#[template(path = "fontawesome.css")]
|
||||||
|
struct CSSFontAwsome{}
|
||||||
|
|
||||||
#[post("/echo")]
|
#[post("/echo")]
|
||||||
async fn echo(req_body: String) -> impl Responder {
|
async fn echo(req_body: String) -> impl Responder {
|
||||||
|
|||||||
4619
static/fontawesome.css
vendored
Normal file
4619
static/fontawesome.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
4619
templates/fontawesome.css
vendored
Normal file
4619
templates/fontawesome.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@@ -3,7 +3,7 @@
|
|||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="w3-bar">
|
<div class="w3-bar">
|
||||||
|
|
||||||
<span class="w3-bar-item"><span class="w3-xxlarge">{{repo.owner.name}}/{{repo.name}}</span></span>
|
<span class="w3-bar-item"><span class="w3-xlarge">{{repo.owner.name}}/{{repo.name}}</span></span>
|
||||||
<span class="w3-bar-item w3-right"><button class="w3-button w3-round w3-border">Fork</button></span>
|
<span class="w3-bar-item w3-right"><button class="w3-button w3-round w3-border">Fork</button></span>
|
||||||
<span class="w3-bar-item w3-right"><button class="w3-button w3-round w3-border">Star</button></span>
|
<span class="w3-bar-item w3-right"><button class="w3-button w3-round w3-border">Star</button></span>
|
||||||
<span class="w3-bar-item w3-right"><button class="w3-button w3-round w3-border">Follow</button></span>
|
<span class="w3-bar-item w3-right"><button class="w3-button w3-round w3-border">Follow</button></span>
|
||||||
@@ -21,8 +21,22 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="Code" class="w3-container w3-border repoview">
|
<div id="Code" class="w3-container w3-border repoview">
|
||||||
<h2>Code</h2>
|
<p><a href="https://www.wikipedia.org">https://www.wikipedia.org</a></p>
|
||||||
<p>London is the capital city of England.</p>
|
<p>Repository description</p>
|
||||||
|
<div class="w3-cell-row">
|
||||||
|
<div class="w3-container w3-center w3-cell">
|
||||||
|
<i class="fa fa-history"></i> 112 revisions
|
||||||
|
</div>
|
||||||
|
<div class="w3-container w3-center w3-cell">
|
||||||
|
<i class="fa fa-code-branch"></i>\f126 10 branches
|
||||||
|
</div>
|
||||||
|
<div class="w3-container w3-center w3-cell">
|
||||||
|
<i class="fa fa-tag"></i> 5 tags
|
||||||
|
</div>
|
||||||
|
<div class="w3-container w3-center w3-cell">
|
||||||
|
<i class="fa fa-database"></i> 10 KiB
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="Issues" class="w3-container w3-border repoview" style="display:none">
|
<div id="Issues" class="w3-container w3-border repoview" style="display:none">
|
||||||
|
|||||||
Reference in New Issue
Block a user