Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
7efd59b5
Commit
7efd59b5
authored
Feb 23, 2017
by
Robert Lyon
Committed by
Gerrit Code Review
Feb 23, 2017
Browse files
Merge "Bug 1640308: Add some colour to the inactive auth instance"
parents
db6d133a
e4a4ba10
Changes
2
Hide whitespace changes
Inline
Side-by-side
htdocs/theme/raw/sass/_custom.scss
View file @
7efd59b5
...
...
@@ -440,6 +440,14 @@
width
:
90%
;
}
.authInstance
.authitem
{
padding
:
5px
;
&
.inactive
{
background
:
$state-warning-bg
;
color
:
$state-warning-text
;
}
}
.btn-search.btn.btn-primary.admin-groups.button.btn
{
margin-left
:
-13px
;
margin-top
:
2px
;
...
...
htdocs/theme/raw/templates/form/authlist.tpl
View file @
7efd59b5
...
...
@@ -191,9 +191,10 @@ IMPORTANT: do not introduce any new whitespace into the instanceList div.
<div
id=
"instanceList"
class=
"listrow"
>
{
{
foreach
$instancelist
instance
}
}
<div
class=
"authInstance"
id=
"instanceDiv{
{
$instance
->
id
}
}"
>
<span
class=
"authitem{
{
if
$instance
->
active
==
0
}
} inactive{
{/
if
}
}"
>
<label
class=
"authLabel"
>
<a
href=
""
onclick=
"editinstance({
{
$instance
->
id
}
},'{
{
$instance
->
authname
}
}'); return false;"
>
{
{
str
tag
=
"title"
section
=
"auth.`$instance->authname`"
}
}
</a>
{
{
str
tag
=
"title"
section
=
"auth.`$instance->authname`"
}
}
</a>
{
{
if
$instance
->
active
==
0
}
} ({
{
get_string
(
'off'
,
'mahara'
)
}
}){
{/
if
}
}
</label>
<span
class=
"authIcons"
id=
"arrows{
{
$instance
->
id
}
}"
>
{
{
if
$instance
->
index
+
1
<
$instance
->
total
}
}
...
...
@@ -213,6 +214,7 @@ IMPORTANT: do not introduce any new whitespace into the instanceList div.
<span
class=
"sr-only"
>
{
{
str
tag
=
deleteitem
}
}
</span>
</a>
</span>
</span>
</div>
{
{/
foreach
}
}
</div>
...
...
Write
Preview
Supports
Markdown
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