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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
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 ($) {
...
@@ -4,9 +4,9 @@ yii.gii = (function ($) {
var
initHintBlocks
=
function
()
{
var
initHintBlocks
=
function
()
{
$
(
'.hint-block'
).
each
(
function
()
{
$
(
'.hint-block'
).
each
(
function
()
{
var
$hint
=
$
(
this
);
var
$hint
=
$
(
this
);
$hint
.
parent
().
find
(
'
input,select,textarea
'
).
popover
({
$hint
.
parent
().
find
(
'
label'
).
addClass
(
'help
'
).
popover
({
html
:
true
,
html
:
true
,
trigger
:
'
focus
'
,
trigger
:
'
hover
'
,
placement
:
'right'
,
placement
:
'right'
,
content
:
$hint
.
html
()
content
:
$hint
.
html
()
});
});
...
...
framework/yii/gii/assets/main.css
View file @
a6248b4a
...
@@ -47,6 +47,11 @@ body {
...
@@ -47,6 +47,11 @@ body {
overflow
:
auto
;
overflow
:
auto
;
}
}
.default-view
.form-group
label
.help
{
border-bottom
:
1px
dashed
#888
;
cursor
:
help
;
}
.default-view
.modal-dialog
{
.default-view
.modal-dialog
{
width
:
800px
;
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