summaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-25 18:44:37 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-25 18:44:37 +0800
commit2a2f025388b2f47cff4162adc207af2ba68d64d9 (patch)
treef3f3f732f5bcf9f1a74cac5723ff5c4eccc0fe99 /templates/repo
parent6e33e54e71cdb6a100b9048bd6d9567fea2e7c91 (diff)
downloadgitea-2a2f025388b2f47cff4162adc207af2ba68d64d9.tar.gz
gitea-2a2f025388b2f47cff4162adc207af2ba68d64d9.zip
change css name style
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/branches.tmpl4
-rw-r--r--templates/repo/commits.tmpl4
-rw-r--r--templates/repo/create.tmpl4
-rw-r--r--templates/repo/diff.tmpl4
-rw-r--r--templates/repo/issues.tmpl4
-rw-r--r--templates/repo/list.tmpl2
-rw-r--r--templates/repo/nav.tmpl8
-rw-r--r--templates/repo/pulls.tmpl4
-rw-r--r--templates/repo/setting.tmpl6
-rw-r--r--templates/repo/single.tmpl4
-rw-r--r--templates/repo/toolbar.tmpl2
11 files changed, 23 insertions, 23 deletions
diff --git a/templates/repo/branches.tmpl b/templates/repo/branches.tmpl
index 63e77ab924..8d2d59d7fd 100644
--- a/templates/repo/branches.tmpl
+++ b/templates/repo/branches.tmpl
@@ -2,8 +2,8 @@
{{template "base/navbar" .}}
{{template "repo/nav" .}}
{{template "repo/toolbar" .}}
-<div id="gogs-body" class="container">
- <div id="gogs-source">
+<div id="body" class="container">
+ <div id="source">
<div class="panel panel-default branch-box info-box">
<div class="panel-heading info-head">
<h4>Branches</h4>
diff --git a/templates/repo/commits.tmpl b/templates/repo/commits.tmpl
index 2e67a1200a..2f308a108d 100644
--- a/templates/repo/commits.tmpl
+++ b/templates/repo/commits.tmpl
@@ -2,8 +2,8 @@
{{template "base/navbar" .}}
{{template "repo/nav" .}}
{{template "repo/toolbar" .}}
-<div id="gogs-body" class="container">
- <div id="gogs-commits">
+<div id="body" class="container">
+ <div id="commits">
<div class="panel panel-default commit-box info-box">
<div class="panel-heading info-head">
<div class="search pull-right form">
diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl
index a43f510484..dc509fc1cc 100644
--- a/templates/repo/create.tmpl
+++ b/templates/repo/create.tmpl
@@ -1,7 +1,7 @@
{{template "base/head" .}}
{{template "base/navbar" .}}
-<div class="container" id="gogs-body">
- <form action="/repo/create" method="post" class="form-horizontal gogs-card" id="gogs-repo-create">
+<div class="container" id="body">
+ <form action="/repo/create" method="post" class="form-horizontal card" id="repo-create">
{{.CsrfTokenHtml}}
<h3>Create New Repository</h3>
<div class="alert alert-danger form-error{{if .HasError}}{{else}} hidden{{end}}">{{.ErrorMsg}}</div>
diff --git a/templates/repo/diff.tmpl b/templates/repo/diff.tmpl
index b0836127ff..6a3c5fb308 100644
--- a/templates/repo/diff.tmpl
+++ b/templates/repo/diff.tmpl
@@ -2,8 +2,8 @@
{{template "base/navbar" .}}
{{template "repo/nav" .}}
{{template "repo/toolbar" .}}
-<div id="gogs-body" class="container" data-page="repo">
- <div id="gogs-source">
+<div id="body" class="container" data-page="repo">
+ <div id="source">
<div class="panel panel-info diff-box diff-head-box">
<div class="panel-heading">
<a class="pull-right btn btn-primary btn-sm" href="#commit-source">Browse Source</a>
diff --git a/templates/repo/issues.tmpl b/templates/repo/issues.tmpl
index bf23ff83ff..df53197c36 100644
--- a/templates/repo/issues.tmpl
+++ b/templates/repo/issues.tmpl
@@ -2,8 +2,8 @@
{{template "base/navbar" .}}
{{template "repo/nav" .}}
{{template "repo/toolbar" .}}
-<div id="gogs-body" class="container">
- <div id="gogs-source">
+<div id="body" class="container">
+ <div id="source">
issues
</div>
</div>
diff --git a/templates/repo/list.tmpl b/templates/repo/list.tmpl
index 2c5432a174..403c62d62c 100644
--- a/templates/repo/list.tmpl
+++ b/templates/repo/list.tmpl
@@ -1,6 +1,6 @@
{{template "base/head" .}}
{{template "base/navbar" .}}
-<div class="container" id="gogs-body">
+<div class="container" id="body">
<ul>
{{range .Repos}}
<li>{{.Name}} stars: {{.NumStars}} forks: {{.NumForks}} watches:{{.NumWatchs}}</li>
diff --git a/templates/repo/nav.tmpl b/templates/repo/nav.tmpl
index 2770328cb1..e1b22b1c93 100644
--- a/templates/repo/nav.tmpl
+++ b/templates/repo/nav.tmpl
@@ -1,4 +1,4 @@
-<div id="gogs-body-nav" class="gogs-repo-nav">
+<div id="body-nav" class="repo-nav">
<div class="container">
<div class="row">
<div class="col-md-7">
@@ -7,13 +7,13 @@
</div>
<div class="col-md-5 actions text-right clone-group-btn">
{{if not .IsBareRepo}}
- <!--<div class="btn-group" id="gogs-repo-clone">
+ <!--<div class="btn-group" id="repo-clone">
<button type="button" class="btn btn-default"><i class="fa fa-download fa-lg fa-m"></i></button>
<button type="button" class="btn btn-default dropdown-toggle" data-container="body" data-toggle="popover" data-placement="bottom" data-content="<label>SSH:</label><div class='input-group'><input type='text' class='form-control' value='{{.CloneLink.SSH}}'></div>" data-html="1">
<span class="caret"></span>
</button>
</div>-->
- <div class="btn-group" id="gogs-repo-clone">
+ <div class="btn-group" id="repo-clone">
<button type="button" class="btn btn-default"><i class="fa fa-download fa-lg fa-m"></i></button>
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
@@ -36,7 +36,7 @@
</div>
</div>
</div>
- <div class="btn-group {{if .IsRepositoryWatching}}watching{{else}}no-watching{{end}}" id="gogs-repo-watching" data-watch="/{{.Owner.Name}}/{{.Repository.Name}}/action/watch" data-unwatch="/{{.Owner.Name}}/{{.Repository.Name}}/action/unwatch">
+ <div class="btn-group {{if .IsRepositoryWatching}}watching{{else}}no-watching{{end}}" id="repo-watching" data-watch="/{{.Owner.Name}}/{{.Repository.Name}}/action/watch" data-unwatch="/{{.Owner.Name}}/{{.Repository.Name}}/action/unwatch">
{{if .IsRepositoryWatching}}
<button type="button" class="btn btn-default"><i class="fa fa-eye fa-lg fa-m"></i></button>
{{else}}
diff --git a/templates/repo/pulls.tmpl b/templates/repo/pulls.tmpl
index daacc089c3..8c5d9376c8 100644
--- a/templates/repo/pulls.tmpl
+++ b/templates/repo/pulls.tmpl
@@ -2,8 +2,8 @@
{{template "base/navbar" .}}
{{template "repo/nav" .}}
{{template "repo/toolbar" .}}
-<div id="gogs-body" class="container">
- <div id="gogs-source">
+<div id="body" class="container">
+ <div id="source">
</div>
</div>
{{template "base/footer" .}} \ No newline at end of file
diff --git a/templates/repo/setting.tmpl b/templates/repo/setting.tmpl
index c826e55a77..d527dac3bc 100644
--- a/templates/repo/setting.tmpl
+++ b/templates/repo/setting.tmpl
@@ -2,8 +2,8 @@
{{template "base/navbar" .}}
{{template "repo/nav" .}}
{{template "repo/toolbar" .}}
-<div id="gogs-body" class="container">
- <div id="gogs-user-setting-nav" class="col-md-3">
+<div id="body" class="container">
+ <div id="user-setting-nav" class="col-md-3">
<ul class="list-group" data-init="tabs">
<li class="list-group-item active"><a href="/{{.Owner.Name}}/{{.Repository.Name}}/settings">Options</a></li>
<!--<li class="list-group-item"><a href="#">Collaborators</a></li>
@@ -11,7 +11,7 @@
</ul>
</div>
- <div id="gogs-repo-setting-container" class="col-md-9">
+ <div id="repo-setting-container" class="col-md-9">
{{if .IsSuccess}}<p class="alert alert-success">Repository option has been successfully updated.</p>{{else if .HasError}}<p class="alert alert-danger form-error">{{.ErrorMsg}}</p>{{end}}
<div class="panel panel-default">
<div class="panel-heading">
diff --git a/templates/repo/single.tmpl b/templates/repo/single.tmpl
index 56e6746c76..ed04be0779 100644
--- a/templates/repo/single.tmpl
+++ b/templates/repo/single.tmpl
@@ -2,8 +2,8 @@
{{template "base/navbar" .}}
{{template "repo/nav" .}}
{{template "repo/toolbar" .}}
-<div id="gogs-body" class="container">
- <div id="gogs-source">
+<div id="body" class="container">
+ <div id="source">
{{if .IsBareRepo}}
{{template "repo/single_bare" .}}
{{else}}
diff --git a/templates/repo/toolbar.tmpl b/templates/repo/toolbar.tmpl
index 415023d17f..1f8a70984c 100644
--- a/templates/repo/toolbar.tmpl
+++ b/templates/repo/toolbar.tmpl
@@ -1,4 +1,4 @@
-<div id="gogs-repo-toolbar">
+<div id="repo-toolbar">
<div class="container">
<nav class="navbar navbar-toolbar navbar-default" role="navigation">
<div class="collapse navbar-collapse">