Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
ulakbus-ui
Project
Project
Details
Activity
Releases
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
ulakbus
ulakbus-ui
Commits
1bc3a3df
Commit
1bc3a3df
authored
Oct 21, 2016
by
Mücahit Büyükyılmaz
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/develop' into develop
parents
bf8d629a
2499beb6
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
13 deletions
+7
-13
dashboard_controller.js
app/components/dashboard/dashboard_controller.js
+2
-0
directives.js
app/shared/directives.js
+0
-4
datefield.html
app/shared/templates/datefield.html
+1
-1
header-notification.html
app/shared/templates/directives/header-notification.html
+2
-2
form_service.js
app/zetalib/form_service.js
+2
-6
No files found.
app/components/dashboard/dashboard_controller.js
View file @
1bc3a3df
...
...
@@ -115,6 +115,8 @@ angular.module('ulakbus.dashboard', [])
* removes selected user
*/
$scope
.
deselectUser
=
function
()
{
jQuery
(
".right-sidebar"
).
css
(
"width"
,
"0px"
);
jQuery
(
".manager-view-inner"
).
css
(
"width"
,
""
);
delete
$scope
.
selectedUser
;
delete
$scope
.
selectedMenuItems
;
};
...
...
app/shared/directives.js
View file @
1bc3a3df
...
...
@@ -357,10 +357,6 @@ angular.module('ulakbus')
$scope
.
selectedUser
=
data
;
});
$scope
.
deselectUser
=
function
()
{
delete
$scope
.
selectedUser
;
delete
$scope
.
selectedMenuItems
;
};
// $scope.openSidebar = function () {
// if ($window.innerWidth > '768') {
...
...
app/shared/templates/datefield.html
View file @
1bc3a3df
...
...
@@ -18,7 +18,7 @@
id=
"{{form.key.slice(-1)[0]}}"
ng-model-options=
"form.ngModelOptions"
ng-model=
"$$value$$"
ng-disabled=
"form.is_disabled()"
readonly
schema-validate=
"form"
name=
"{{form.key.slice(-1)[0]}}"
aria-describedby=
"{{form.key.slice(-1)[0] + 'Status'}}"
...
...
app/shared/templates/directives/header-notification.html
View file @
1bc3a3df
...
...
@@ -133,8 +133,8 @@
<ul
class=
"dropdown-menu dropdown-user"
>
<li><a
role=
"button"
><i
class=
"fa fa-user fa-fw"
></i>
Profil
</a></li>
<li
class=
"divider"
></li>
<
li><a
role=
"button"
><i
class=
"fa fa-gear fa-fw"
></i>
Ayarlar
</a></li
>
<li><a
href=
"#/dev/settings"
><i
class=
"fa fa-gear fa-fw"
></i>
Ayarlar
(Dev)
</a></li>
<
!--<li><a role="button"><i class="fa fa-gear fa-fw"></i> Ayarlar</a></li>--
>
<li><a
href=
"#/dev/settings"
><i
class=
"fa fa-gear fa-fw"
></i>
Ayarlar
</a></li>
<li
class=
"divider"
></li>
<li><a
ui-sref=
"login"
href=
"javascript:void(0);"
logout
><i
class=
"fa fa-sign-out fa-fw"
></i>
Çıkış
</a></li>
</ul>
...
...
app/zetalib/form_service.js
View file @
1bc3a3df
...
...
@@ -739,10 +739,6 @@ angular.module('ulakbus.formService', ['ui.bootstrap'])
return
deferred
.
promise
;
}
},
disabled
:
false
,
is_disabled
:
function
()
{
return
this
.
disabled
;
},
status
:
{
opened
:
false
},
open
:
function
(
$event
)
{
this
.
disabled
=
true
;
...
...
@@ -755,8 +751,8 @@ angular.module('ulakbus.formService', ['ui.bootstrap'])
},
format
:
'dd.MM.yyyy'
,
onSelect
:
function
()
{
this
.
disabled
=
false
;
scope
.
model
[
k
]
=
angular
.
copy
(
generator
.
dateformatter
(
scope
.
model
[
k
]));
return
false
;
}
};
}
...
...
@@ -984,7 +980,7 @@ angular.module('ulakbus.formService', ['ui.bootstrap'])
*/
generator
.
dateformatter
=
function
(
formObject
)
{
var
ndate
=
new
Date
(
formObject
);
if
(
isNaN
(
ndate
))
{
if
(
isNaN
(
ndate
)
||
formObject
===
null
)
{
return
''
;
}
else
{
var
newdatearray
=
Moment
(
ndate
).
format
(
'DD.MM.YYYY'
);
...
...
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