diff options
Diffstat (limited to 'templates/user')
-rw-r--r-- | templates/user/active.tmpl | 4 | ||||
-rw-r--r-- | templates/user/dashboard.tmpl | 8 | ||||
-rw-r--r-- | templates/user/delete.tmpl | 10 | ||||
-rw-r--r-- | templates/user/issues.tmpl | 4 | ||||
-rw-r--r-- | templates/user/notification.tmpl | 4 | ||||
-rw-r--r-- | templates/user/password.tmpl | 8 | ||||
-rw-r--r-- | templates/user/profile.tmpl | 12 | ||||
-rw-r--r-- | templates/user/publickey.tmpl | 12 | ||||
-rw-r--r-- | templates/user/pulls.tmpl | 4 | ||||
-rw-r--r-- | templates/user/security.tmpl | 4 | ||||
-rw-r--r-- | templates/user/setting.tmpl | 8 | ||||
-rw-r--r-- | templates/user/setting_nav.tmpl | 2 | ||||
-rw-r--r-- | templates/user/signin.tmpl | 6 | ||||
-rw-r--r-- | templates/user/signup.tmpl | 4 | ||||
-rw-r--r-- | templates/user/stars.tmpl | 4 |
15 files changed, 47 insertions, 47 deletions
diff --git a/templates/user/active.tmpl b/templates/user/active.tmpl index 0df116cb40..9cac069dce 100644 --- a/templates/user/active.tmpl +++ b/templates/user/active.tmpl @@ -1,7 +1,7 @@ {{template "base/head" .}} {{template "base/navbar" .}} -<div id="gogs-body" class="container"> - <form action="/user/activate" method="post" class="form-horizontal gogs-card" id="gogs-login-card"> +<div id="body" class="container"> + <form action="/user/activate" method="post" class="form-horizontal card" id="login-card"> {{.CsrfTokenHtml}} <h3>Activate Your Account</h3> {{if .IsActivatePage}} diff --git a/templates/user/dashboard.tmpl b/templates/user/dashboard.tmpl index ca5fecf268..bc0853fb0d 100644 --- a/templates/user/dashboard.tmpl +++ b/templates/user/dashboard.tmpl @@ -1,6 +1,6 @@ {{template "base/head" .}} {{template "base/navbar" .}} -<div id="gogs-body-nav"> +<div id="body-nav"> <div class="container"> <ul class="nav nav-pills pull-right"> <li class="active"><a href="/">Feed</a></li> @@ -11,9 +11,9 @@ <h3>News Feed</h3> </div> </div> -<div id="gogs-body" class="container" data-page="user"> +<div id="body" class="container" data-page="user"> {{if .HasInfo}}<div class="alert alert-info">{{.InfoMsg}}</div>{{end}} - <div id="gogs-feed-left" class="col-md-8"> + <div id="feed-left" class="col-md-8"> <ul class="list-unstyled activity-list"> {{range .Feeds}} <li> @@ -26,7 +26,7 @@ {{end}} </ul> </div> - <div id="gogs-feed-right" class="col-md-4"> + <div id="feed-right" class="col-md-4"> <div class="panel panel-default repo-panel"> <div class="panel-heading">Your Repositories <a class="btn btn-success pull-right btn-sm" href="/repo/create"><i class="fa fa-plus-square"></i>New Repo</a> diff --git a/templates/user/delete.tmpl b/templates/user/delete.tmpl index 46376672d4..a0f20fa2ca 100644 --- a/templates/user/delete.tmpl +++ b/templates/user/delete.tmpl @@ -1,7 +1,7 @@ {{template "base/head" .}} {{template "base/navbar" .}} -<div id="gogs-body" class="container" data-page="user"> - <div id="gogs-user-setting-nav" class="col-md-3"> +<div id="body" class="container" data-page="user"> + <div id="user-setting-nav" class="col-md-3"> <h4>Account Setting</h4> <ul class="list-group"> <li class="list-group-item"><a href="/user/setting">Account Profile</a></li> @@ -12,16 +12,16 @@ <li class="list-group-item list-group-item-success"><a href="/user/delete">Delete Account</a></li> </ul> </div> - <div id="gogs-user-setting-container" class="col-md-9"> + <div id="user-setting-container" class="col-md-9"> <h4>Delete Account</h4> <p class="alert alert-danger">{{if not .HasError}}The operation will delete your account permanently. Sorry to see you go, but we know you'll back soon.{{else}}{{.ErrorMsg}}{{end}}</p> <div class="form-group"> - <button type="submit" class="btn btn-danger btn-lg" href="#delete-account-modal" id="gogs-delete-account" data-toggle="modal">Delete Account</button> + <button type="submit" class="btn btn-danger btn-lg" href="#delete-account-modal" id="delete-account" data-toggle="modal">Delete Account</button> </div> </div> <div class="modal fade" id="delete-account-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> - <form action="/user/delete" method="post" class="modal-content" id="gogs-user-delete"> + <form action="/user/delete" method="post" class="modal-content" id="user-delete"> {{.CsrfTokenHtml}} <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> diff --git a/templates/user/issues.tmpl b/templates/user/issues.tmpl index e28af5bec6..dd17b667d1 100644 --- a/templates/user/issues.tmpl +++ b/templates/user/issues.tmpl @@ -1,6 +1,6 @@ {{template "base/head" .}} {{template "base/navbar" .}} -<div id="gogs-body-nav"> +<div id="body-nav"> <div class="container"> <ul class="nav nav-pills pull-right"> <li><a href="/">Feed</a></li> @@ -11,7 +11,7 @@ <h3>Issues</h3> </div> </div> -<div id="gogs-body" class="container" data-page="user"> +<div id="body" class="container" data-page="user"> {{if .HasInfo}}<div class="alert alert-info">{{.InfoMsg}}</div>{{end}} </div> {{template "base/footer" .}}
\ No newline at end of file diff --git a/templates/user/notification.tmpl b/templates/user/notification.tmpl index 7911c0fd5f..7c2e8425d4 100644 --- a/templates/user/notification.tmpl +++ b/templates/user/notification.tmpl @@ -1,8 +1,8 @@ {{template "base/head" .}} {{template "base/navbar" .}} -<div id="gogs-body" class="container" data-page="user"> +<div id="body" class="container" data-page="user"> {{template "user/setting_nav" .}} - <div id="gogs-user-setting-container" class="col-md-9"> + <div id="user-setting-container" class="col-md-9"> <h4>Notification</h4> </div> </div> diff --git a/templates/user/password.tmpl b/templates/user/password.tmpl index 936ec4b124..b2cdc72d9e 100644 --- a/templates/user/password.tmpl +++ b/templates/user/password.tmpl @@ -1,11 +1,11 @@ {{template "base/head" .}} {{template "base/navbar" .}} -<div id="gogs-body" class="container" data-page="user"> +<div id="body" class="container" data-page="user"> {{template "user/setting_nav" .}} - <div id="gogs-user-setting-container" class="col-md-9"> - <div id="gogs-setting-pwd"> + <div id="user-setting-container" class="col-md-9"> + <div id="setting-pwd"> <h4>Password</h4> - <form class="form-horizontal" id="gogs-password-form" method="post" action="/user/setting/password"> + <form class="form-horizontal" id="password-form" method="post" action="/user/setting/password"> {{.CsrfTokenHtml}} {{if .IsSuccess}} <p class="alert alert-success">Password is changed successfully. You can now sign in via new password.</p>{{else if .HasError}}<p class="alert alert-danger form-error">{{.ErrorMsg}}</p>{{end}} diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl index 3422361474..7762ad2c6c 100644 --- a/templates/user/profile.tmpl +++ b/templates/user/profile.tmpl @@ -1,12 +1,12 @@ {{template "base/head" .}} {{template "base/navbar" .}} -<div id="gogs-body" class="container" data-page="user"> - <div id="gogs-user-profile" class="col-md-3"> +<div id="body" class="container" data-page="user"> + <div id="user-profile" class="col-md-3"> <div class="profile-avatar text-center"> <a href="http://gravatar.com/emails/" class="center-block" data-toggle="tooltip" data-placement="bottom" title="Change your avatar at gravatar.com"> - <img id="gogs-user-avatar" src="{{.Owner.AvatarLink}}?s=200" alt="user-avatar" title="{{.Owner.Name}}"/> + <img id="user-avatar" src="{{.Owner.AvatarLink}}?s=200" alt="user-avatar" title="{{.Owner.Name}}"/> </a> - <span id="gogs-user-name" class="center-block">{{.Owner.Name}}</span> + <span id="user-name" class="center-block">{{.Owner.Name}}</span> </div> <div class="profile-info"> <ul class="list-group"> @@ -23,8 +23,8 @@ </ul> </div> </div> - <div id="gogs-user-activity" class="col-md-9"> - <ul class="nav nav-tabs" id="gogs-user-act-tabs" data-init="tabs"> + <div id="user-activity" class="col-md-9"> + <ul class="nav nav-tabs" id="user-act-tabs" data-init="tabs"> <li{{if not .TabName}} class="active"{{end}}><a href="{{.Owner.HomeLink}}"><i class="fa fa-gittip"></i>Repositories</a></li> <li{{if eq .TabName "activity"}} class="active"{{end}}><a href="{{.Owner.HomeLink}}?tab=activity"><i class="fa fa-rss"></i>Public Activity</a></li> </ul> diff --git a/templates/user/publickey.tmpl b/templates/user/publickey.tmpl index e645e1a84b..ecdeb035d2 100644 --- a/templates/user/publickey.tmpl +++ b/templates/user/publickey.tmpl @@ -1,12 +1,12 @@ {{template "base/head" .}} {{template "base/navbar" .}} -<div id="gogs-body" class="container" data-page="user"> +<div id="body" class="container" data-page="user"> {{template "user/setting_nav" .}} - <div id="gogs-user-setting-container" class="col-md-9"> - <div id="gogs-ssh-keys"> + <div id="user-setting-container" class="col-md-9"> + <div id="ssh-keys"> <h4>SSH Keys</h4>{{if .AddSSHKeySuccess}} <p class="alert alert-success">New SSH Key has been added !</p>{{else if .HasError}}<p class="alert alert-danger">{{.ErrorMsg}}</p>{{end}} - <ul id="gogs-ssh-keys-list" class="list-group"> + <ul id="ssh-keys-list" class="list-group"> <li class="list-group-item"><span class="name">SSH Key's name</span></li> {{range .Keys}} <li class="list-group-item"> @@ -16,12 +16,12 @@ </li> {{end}} <li class="list-group-item"> - <a class="btn btn-link btn-primary" href="#ssh-add-modal" id="gogs-ssh-add" data-toggle="modal">Add SSH Key</a> + <a class="btn btn-link btn-primary" href="#ssh-add-modal" id="ssh-add" data-toggle="modal">Add SSH Key</a> </li> </ul> <div class="modal fade" id="ssh-add-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> - <form class="modal-content form-horizontal" id="gogs-ssh-form" method="post" action="/user/setting/ssh/"> + <form class="modal-content form-horizontal" id="ssh-form" method="post" action="/user/setting/ssh/"> {{.CsrfTokenHtml}} <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> diff --git a/templates/user/pulls.tmpl b/templates/user/pulls.tmpl index 0891f5e850..47462a9be6 100644 --- a/templates/user/pulls.tmpl +++ b/templates/user/pulls.tmpl @@ -1,6 +1,6 @@ {{template "base/head" .}} {{template "base/navbar" .}} -<div id="gogs-body-nav"> +<div id="body-nav"> <div class="container"> <ul class="nav nav-pills pull-right"> <li><a href="/">Feed</a></li> @@ -11,7 +11,7 @@ <h3>Pull Requests</h3> </div> </div> -<div id="gogs-body" class="container" data-page="user"> +<div id="body" class="container" data-page="user"> {{if .HasInfo}}<div class="alert alert-info">{{.InfoMsg}}</div>{{end}} </div> {{template "base/footer" .}}
\ No newline at end of file diff --git a/templates/user/security.tmpl b/templates/user/security.tmpl index a7506b5086..7de41ebd35 100644 --- a/templates/user/security.tmpl +++ b/templates/user/security.tmpl @@ -1,8 +1,8 @@ {{template "base/head" .}} {{template "base/navbar" .}} -<div id="gogs-body" class="container" data-page="user"> +<div id="body" class="container" data-page="user"> {{template "user/setting_nav" .}} - <div id="gogs-user-setting-container" class="col-md-9"> + <div id="user-setting-container" class="col-md-9"> <h4>Security</h4> </div> </div> diff --git a/templates/user/setting.tmpl b/templates/user/setting.tmpl index 30c9529b12..283a8df8bf 100644 --- a/templates/user/setting.tmpl +++ b/templates/user/setting.tmpl @@ -1,11 +1,11 @@ {{template "base/head" .}} {{template "base/navbar" .}} -<div id="gogs-body" class="container" data-page="user"> +<div id="body" class="container" data-page="user"> {{template "user/setting_nav" .}} - <div id="gogs-user-setting-container" class="col-md-9"> - <div id="gogs-setting-pwd"> + <div id="user-setting-container" class="col-md-9"> + <div id="setting-pwd"> <h4>Account Profile</h4> - <form class="form-horizontal" id="gogs-password-form" method="post" action="/user/setting"> + <form class="form-horizontal" id="password-form" method="post" action="/user/setting"> {{.CsrfTokenHtml}} {{if .IsSuccess}}<p class="alert alert-success">Your profile has been successfully updated.</p>{{else if .HasError}}<p class="alert alert-danger form-error">{{.ErrorMsg}}</p>{{end}} <p>Your Email will be public and used for Account related notifications and any web based operations made via the web.</p> diff --git a/templates/user/setting_nav.tmpl b/templates/user/setting_nav.tmpl index 2905f2825c..c0f2ae03dd 100644 --- a/templates/user/setting_nav.tmpl +++ b/templates/user/setting_nav.tmpl @@ -1,4 +1,4 @@ -<div id="gogs-user-setting-nav" class="col-md-3"> +<div id="user-setting-nav" class="col-md-3"> <h4>Account Setting</h4> <ul class="list-group"> <li class="list-group-item{{if .IsUserPageSetting}} list-group-item-success{{end}}"><a href="/user/setting">Account Profile</a></li> diff --git a/templates/user/signin.tmpl b/templates/user/signin.tmpl index 1cd3275cce..49a2262633 100644 --- a/templates/user/signin.tmpl +++ b/templates/user/signin.tmpl @@ -1,7 +1,7 @@ {{template "base/head" .}} {{template "base/navbar" .}} -<div class="container" id="gogs-body" data-page="user-signin"> - <form action="/user/login" method="post" class="form-horizontal gogs-card" id="gogs-login-card"> +<div class="container" id="body" data-page="user-signin"> + <form action="/user/login" method="post" class="form-horizontal card" id="login-card"> {{.CsrfTokenHtml}} <h3>Log in</h3> <div class="alert alert-danger form-error{{if .HasError}}{{else}} hidden{{end}}">{{.ErrorMsg}}</div> @@ -43,7 +43,7 @@ </div> </div> - <div class="form-group text-center" id="gogs-social-login"> + <div class="form-group text-center" id="social-login"> <a class="btn btn-danger btn-lg">Register new account</a> </div> </form> diff --git a/templates/user/signup.tmpl b/templates/user/signup.tmpl index fbfc4cadcc..6ed595a350 100644 --- a/templates/user/signup.tmpl +++ b/templates/user/signup.tmpl @@ -1,7 +1,7 @@ {{template "base/head" .}} {{template "base/navbar" .}} -<div class="container" id="gogs-body" data-page="user-signup"> - <form action="/user/sign_up" method="post" class="form-horizontal gogs-card" id="gogs-login-card"> +<div class="container" id="body" data-page="user-signup"> + <form action="/user/sign_up" method="post" class="form-horizontal card" id="login-card"> {{.CsrfTokenHtml}} {{if .DisenableRegisteration}} Sorry, registeration has been disenabled, you can only get account from administrator. diff --git a/templates/user/stars.tmpl b/templates/user/stars.tmpl index 4e6f0c92fc..253efd6eec 100644 --- a/templates/user/stars.tmpl +++ b/templates/user/stars.tmpl @@ -1,6 +1,6 @@ {{template "base/head" .}} {{template "base/navbar" .}} -<div id="gogs-body-nav"> +<div id="body-nav"> <div class="container"> <ul class="nav nav-pills pull-right"> <li><a href="/">Feed</a></li> @@ -11,7 +11,7 @@ <h3>Stars</h3> </div> </div> -<div id="gogs-body" class="container" data-page="user"> +<div id="body" class="container" data-page="user"> {{if .HasInfo}}<div class="alert alert-info">{{.InfoMsg}}</div>{{end}} </div> {{template "base/footer" .}}
\ No newline at end of file |