Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
23b0795d
Commit
23b0795d
authored
Aug 21, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ux: minor button changes
parent
a95d587c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
4 deletions
+6
-4
pkg/api/login.go
+2
-0
public/app/features/plugins/partials/ds_edit.html
+1
-1
public/sass/_variables.scss
+2
-2
public/sass/mixins/_buttons.scss
+1
-1
No files found.
pkg/api/login.go
View file @
23b0795d
...
...
@@ -137,6 +137,8 @@ func loginUserWithUser(user *m.User, c *middleware.Context) {
log
.
Error
(
3
,
"User login with nil user"
)
}
c
.
Resp
.
Header
()
.
Del
(
"Set-Cookie"
)
days
:=
86400
*
setting
.
LogInRememberDays
if
days
>
0
{
c
.
SetCookie
(
setting
.
CookieUserName
,
user
.
Login
,
days
,
setting
.
AppSubUrl
+
"/"
)
...
...
public/app/features/plugins/partials/ds_edit.html
View file @
23b0795d
...
...
@@ -66,7 +66,7 @@
</div>
<div
class=
"gf-form-button-row"
>
<button
type=
"submit"
class=
"btn btn-success"
ng-
show=
"!ctrl.isNew"
ng-
click=
"ctrl.saveChanges()"
>
Save
</button>
<button
type=
"submit"
class=
"btn btn-success"
ng-click=
"ctrl.saveChanges()"
>
Save
</button>
<button
type=
"submit"
class=
"btn btn-danger"
ng-show=
"!ctrl.isNew"
ng-click=
"ctrl.delete()"
>
Delete
</button>
...
...
public/sass/_variables.scss
View file @
23b0795d
...
...
@@ -206,8 +206,8 @@ $zindex-modal: 1050;
//
$btn-padding-x
:
1rem
!
default
;
$btn-padding-y
:
.
6
rem
!
default
;
$btn-line-height
:
1
.25
!
default
;
$btn-padding-y
:
.
8
rem
!
default
;
$btn-line-height
:
1
!
default
;
$btn-font-weight
:
500
!
default
;
$btn-padding-x-sm
:
.5rem
!
default
;
...
...
public/sass/mixins/_buttons.scss
View file @
23b0795d
// Button backgrounds
// ------------------
@mixin
buttonBackground
(
$startColor
,
$endColor
,
$text-color
:
#fff
,
$textShadow
:
0px
1px
0
rgba
(
0
,
0
,
0
,.
5
))
{
@mixin
buttonBackground
(
$startColor
,
$endColor
,
$text-color
:
#fff
,
$textShadow
:
0px
1px
0
rgba
(
0
,
0
,
0
,.
1
))
{
// gradientBar will set the background to a pleasing blend of these, to support IE<=9
@include
gradientBar
(
$startColor
,
$endColor
,
$text-color
,
$textShadow
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment