Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
yii2
Commits
a6248b4a
Commit
a6248b4a
authored
Aug 22, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactored hint feature.
parent
2a152cb5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
gii.js
framework/yii/gii/assets/gii.js
+2
-2
main.css
framework/yii/gii/assets/main.css
+5
-0
No files found.
framework/yii/gii/assets/gii.js
View file @
a6248b4a
...
...
@@ -4,9 +4,9 @@ yii.gii = (function ($) {
var
initHintBlocks
=
function
()
{
$
(
'.hint-block'
).
each
(
function
()
{
var
$hint
=
$
(
this
);
$hint
.
parent
().
find
(
'
input,select,textarea
'
).
popover
({
$hint
.
parent
().
find
(
'
label'
).
addClass
(
'help
'
).
popover
({
html
:
true
,
trigger
:
'
focus
'
,
trigger
:
'
hover
'
,
placement
:
'right'
,
content
:
$hint
.
html
()
});
...
...
framework/yii/gii/assets/main.css
View file @
a6248b4a
...
...
@@ -47,6 +47,11 @@ body {
overflow
:
auto
;
}
.default-view
.form-group
label
.help
{
border-bottom
:
1px
dashed
#888
;
cursor
:
help
;
}
.default-view
.modal-dialog
{
width
:
800px
;
}
...
...
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