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
0b5f048f
Commit
0b5f048f
authored
Dec 23, 2015
by
Evren Kutar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
missing translation
quick menu fix
parent
dd34c80c
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
72 additions
and
43 deletions
+72
-43
crud.html
app/components/crud/templates/crud.html
+1
-1
list.html
app/components/crud/templates/list.html
+1
-1
dashboard.html
app/components/dashboard/dashboard.html
+33
-19
directives.js
app/shared/directives.js
+1
-0
app.js
dist/app.js
+1
-1
templates.js
dist/templates.js
+35
-21
No files found.
app/components/crud/templates/crud.html
View file @
0b5f048f
<div
class=
"
row
"
>
<div
class=
"
container-fluid
"
>
<div
ng-class=
"{'col-md-8': meta.allow_filters}"
>
<div
ng-class=
"{'col-md-8': meta.allow_filters}"
>
<h3>
{{ schema.title }}
</h3>
<h3>
{{ schema.title }}
</h3>
<crud-show-directive
ng-if=
"object"
></crud-show-directive>
<crud-show-directive
ng-if=
"object"
></crud-show-directive>
...
...
app/components/crud/templates/list.html
View file @
0b5f048f
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
</td>
</td>
<td
ng-repeat=
"value in objects[0] track by $index"
ng-if=
"objects[0]!='-1'"
>
{{value}}
</td>
<td
ng-repeat=
"value in objects[0] track by $index"
ng-if=
"objects[0]!='-1'"
>
{{value}}
</td>
<td
ng-if=
"objects[0]=='-1'"
>
{{ schema.title||model}}
</td>
<td
ng-if=
"objects[0]=='-1'"
>
{{ schema.title||model}}
</td>
<td>
action
</td>
<td>
İşlem
</td>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
...
...
app/components/dashboard/dashboard.html
View file @
0b5f048f
...
@@ -28,8 +28,9 @@
...
@@ -28,8 +28,9 @@
<div
class=
"panel-title"
>
Hızlı İşlemler
</div>
<div
class=
"panel-title"
>
Hızlı İşlemler
</div>
</div>
</div>
<div
class=
"panel-body"
>
<div
class=
"panel-body"
>
<div
class=
"col-md-6 text-center link-buttons"
ng-repeat=
"menu in $root.quick_menu"
>
<div
class=
"col-md-6 text-center link-buttons"
<a
ng-repeat=
"item in menu"
ng-repeat=
"item in $root.quick_menu track by $index"
>
<a
ng-href=
"#/{{item.wf}}/{{item.model}}?{{item.param}}={{selectedUser.key}}"
>
ng-href=
"#/{{item.wf}}/{{item.model}}?{{item.param}}={{selectedUser.key}}"
>
{{item.text}}
{{item.text}}
</a>
</a>
...
@@ -114,7 +115,9 @@
...
@@ -114,7 +115,9 @@
<div
class=
"panel-title"
>
Duyurular
</div>
<div
class=
"panel-title"
>
Duyurular
</div>
</div>
</div>
<div
class=
"panel-body"
>
<div
class=
"panel-body"
>
<a
ng-click=
"markAsRead(notify)"
ng-repeat=
"notify in notifications[3] | limitTo:5"
>
{{notify
.body}}
</a>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -134,6 +137,7 @@
...
@@ -134,6 +137,7 @@
<span><a
role=
"button"
>
Tüm Mesajlar
</a></span>
<span><a
role=
"button"
>
Tüm Mesajlar
</a></span>
</div>
</div>
<!-- end of right-sidebar-title -->
<!-- end of right-sidebar-title -->
<p
ng-show=
"notifications[2].length === 0"
class=
"text-center"
>
Görüntülenecek içerik yok.
</p>
<div
class=
"right-sidebar-message-block"
ng-repeat=
"notify in notifications[2] | limitTo:5"
>
<div
class=
"right-sidebar-message-block"
ng-repeat=
"notify in notifications[2] | limitTo:5"
>
<a
class=
"clearfix"
ng-click=
"markAsRead(notify)"
>
<a
class=
"clearfix"
ng-click=
"markAsRead(notify)"
>
...
@@ -162,6 +166,8 @@
...
@@ -162,6 +166,8 @@
<span><a
role=
"button"
>
Tüm Görevler
</a></span>
<span><a
role=
"button"
>
Tüm Görevler
</a></span>
</div>
</div>
<p
ng-show=
"notifications[1].length === 0"
class=
"text-center"
>
Görüntülenecek içerik yok.
</p>
<div
class=
"right-sidebar-task-block"
>
<div
class=
"right-sidebar-task-block"
>
<!--<div class="task-type">Onay Bekleyen Görevler</div>-->
<!--<div class="task-type">Onay Bekleyen Görevler</div>-->
<a
ng-click=
"markAsRead(notify)"
ng-repeat=
"notify in notifications[1] | limitTo:5"
>
<a
ng-click=
"markAsRead(notify)"
ng-repeat=
"notify in notifications[1] | limitTo:5"
>
...
@@ -176,25 +182,25 @@
...
@@ -176,25 +182,25 @@
<!-- end of right-sidebar-box -->
<!-- end of right-sidebar-box -->
<
div
class=
"right-sidebar-box"
>
<
!--<div class="right-sidebar-box">--
>
<
div
class=
"right-sidebar-announcements"
>
<
!--<div class="right-sidebar-announcements">--
>
<
div
class=
"right-sidebar-title clearfix"
>
<
!--<div class="right-sidebar-title clearfix">--
>
<
h3>
Duyurular
</h3
>
<
!--<h3>Duyurular</h3>--
>
<
span><a
role=
"button"
>
Tüm Duyurular
</a></span
>
<
!--<span><a role="button">Tüm Duyurular</a></span>--
>
<
/div
>
<
!--</div>--
>
<!--
end of right-sidebar-title
-->
<!--
<!– end of right-sidebar-title –>
-->
<
div
class=
"right-sidebar-announcement-block"
>
<
!--<div class="right-sidebar-announcement-block">--
>
<
a
ng-click=
"markAsRead(notify)"
<
!--<a ng-click="markAsRead(notify)"-->
ng-repeat=
"notify in notifications[3] | limitTo:5"
>
{{notify
<!--ng-repeat="notify in notifications[3] | limitTo:5">{{notify-->
.body}}
</a
>
<!--.body}}</a>--
>
<
/div
>
<
!--</div>--
>
<!--
end of right-sidebar-status-block
-->
<!--
<!– end of right-sidebar-status-block –>
-->
<
/div
>
<
!--</div>--
>
<!--
end of right-sidebar-status
-->
<!--
<!– end of right-sidebar-status –>
-->
<
/div
>
<
!--</div>--
>
<!-- end of right-sidebar-box -->
<!-- end of right-sidebar-box -->
...
@@ -206,6 +212,14 @@
...
@@ -206,6 +212,14 @@
<span><a
role=
"button"
>
Tüm İşlemler
</a></span>
<span><a
role=
"button"
>
Tüm İşlemler
</a></span>
</div>
</div>
<p
class=
"text-center"
>
Görüntülenecek içerik yok.
</p>
<div
class=
"right-sidebar-task-block"
>
<a>
<div
class=
"task-title"
></div>
</a>
</div>
</div>
</div>
<!-- end of right-sidebar-status -->
<!-- end of right-sidebar-status -->
</div>
</div>
...
...
app/shared/directives.js
View file @
0b5f048f
...
@@ -347,6 +347,7 @@ app.directive('logout', function ($http, $location, RESTURL) {
...
@@ -347,6 +347,7 @@ app.directive('logout', function ($http, $location, RESTURL) {
// quick menus to dashboard via rootscope
// quick menus to dashboard via rootscope
$rootScope
.
quick_menu
=
reGroupMenuItems
(
data
.
quick_menu
,
'quick_menus'
);
$rootScope
.
quick_menu
=
reGroupMenuItems
(
data
.
quick_menu
,
'quick_menus'
);
$rootScope
.
quick_menu
=
data
.
quick_menu
;
delete
data
.
quick_menu
;
delete
data
.
quick_menu
;
$log
.
debug
(
'quick menu'
,
$rootScope
.
quick_menu
);
$log
.
debug
(
'quick menu'
,
$rootScope
.
quick_menu
);
...
...
dist/app.js
View file @
0b5f048f
This diff is collapsed.
Click to expand it.
dist/templates.js
View file @
0b5f048f
...
@@ -21,7 +21,7 @@ angular.module("components/auth/login.html", []).run(["$templateCache", function
...
@@ -21,7 +21,7 @@ angular.module("components/auth/login.html", []).run(["$templateCache", function
angular
.
module
(
"components/crud/templates/crud.html"
,
[]).
run
([
"$templateCache"
,
function
(
$templateCache
)
{
angular
.
module
(
"components/crud/templates/crud.html"
,
[]).
run
([
"$templateCache"
,
function
(
$templateCache
)
{
$templateCache
.
put
(
"components/crud/templates/crud.html"
,
$templateCache
.
put
(
"components/crud/templates/crud.html"
,
"<div class=
\"
row
\"
>
\n
"
+
"<div class=
\"
container-fluid
\"
>
\n
"
+
" <div ng-class=
\"
{'col-md-8': meta.allow_filters}
\"
>
\n
"
+
" <div ng-class=
\"
{'col-md-8': meta.allow_filters}
\"
>
\n
"
+
" <h3>{{ schema.title }}</h3>
\n
"
+
" <h3>{{ schema.title }}</h3>
\n
"
+
" <crud-show-directive ng-if=
\"
object
\"
></crud-show-directive>
\n
"
+
" <crud-show-directive ng-if=
\"
object
\"
></crud-show-directive>
\n
"
+
...
@@ -182,7 +182,7 @@ angular.module("components/crud/templates/list.html", []).run(["$templateCache",
...
@@ -182,7 +182,7 @@ angular.module("components/crud/templates/list.html", []).run(["$templateCache",
" </td>
\n
"
+
" </td>
\n
"
+
" <td ng-repeat=
\"
value in objects[0] track by $index
\"
ng-if=
\"
objects[0]!='-1'
\"
>{{value}}</td>
\n
"
+
" <td ng-repeat=
\"
value in objects[0] track by $index
\"
ng-if=
\"
objects[0]!='-1'
\"
>{{value}}</td>
\n
"
+
" <td ng-if=
\"
objects[0]=='-1'
\"
>{{ schema.title||model}}</td>
\n
"
+
" <td ng-if=
\"
objects[0]=='-1'
\"
>{{ schema.title||model}}</td>
\n
"
+
" <td>
action
</td>
\n
"
+
" <td>
İşlem
</td>
\n
"
+
" </tr>
\n
"
+
" </tr>
\n
"
+
" </thead>
\n
"
+
" </thead>
\n
"
+
" <tbody>
\n
"
+
" <tbody>
\n
"
+
...
@@ -299,8 +299,9 @@ angular.module("components/dashboard/dashboard.html", []).run(["$templateCache",
...
@@ -299,8 +299,9 @@ angular.module("components/dashboard/dashboard.html", []).run(["$templateCache",
" <div class=
\"
panel-title
\"
>Hızlı İşlemler</div>
\n
"
+
" <div class=
\"
panel-title
\"
>Hızlı İşlemler</div>
\n
"
+
" </div>
\n
"
+
" </div>
\n
"
+
" <div class=
\"
panel-body
\"
>
\n
"
+
" <div class=
\"
panel-body
\"
>
\n
"
+
" <div class=
\"
col-md-6 text-center link-buttons
\"
ng-repeat=
\"
menu in $root.quick_menu
\"
>
\n
"
+
" <div class=
\"
col-md-6 text-center link-buttons
\"\n
"
+
" <a ng-repeat=
\"
item in menu
\"\n
"
+
" ng-repeat=
\"
item in $root.quick_menu track by $index
\"
>
\n
"
+
" <a
\n
"
+
" ng-href=
\"
#/{{item.wf}}/{{item.model}}?{{item.param}}={{selectedUser.key}}
\"
>
\n
"
+
" ng-href=
\"
#/{{item.wf}}/{{item.model}}?{{item.param}}={{selectedUser.key}}
\"
>
\n
"
+
" {{item.text}}
\n
"
+
" {{item.text}}
\n
"
+
" </a>
\n
"
+
" </a>
\n
"
+
...
@@ -385,7 +386,9 @@ angular.module("components/dashboard/dashboard.html", []).run(["$templateCache",
...
@@ -385,7 +386,9 @@ angular.module("components/dashboard/dashboard.html", []).run(["$templateCache",
" <div class=
\"
panel-title
\"
>Duyurular</div>
\n
"
+
" <div class=
\"
panel-title
\"
>Duyurular</div>
\n
"
+
" </div>
\n
"
+
" </div>
\n
"
+
" <div class=
\"
panel-body
\"
>
\n
"
+
" <div class=
\"
panel-body
\"
>
\n
"
+
"
\n
"
+
" <a ng-click=
\"
markAsRead(notify)
\"\n
"
+
" ng-repeat=
\"
notify in notifications[3] | limitTo:5
\"
>{{notify
\n
"
+
" .body}}</a>
\n
"
+
" </div>
\n
"
+
" </div>
\n
"
+
" </div>
\n
"
+
" </div>
\n
"
+
" </div>
\n
"
+
" </div>
\n
"
+
...
@@ -405,6 +408,7 @@ angular.module("components/dashboard/dashboard.html", []).run(["$templateCache",
...
@@ -405,6 +408,7 @@ angular.module("components/dashboard/dashboard.html", []).run(["$templateCache",
" <span><a role=
\"
button
\"
>Tüm Mesajlar</a></span>
\n
"
+
" <span><a role=
\"
button
\"
>Tüm Mesajlar</a></span>
\n
"
+
" </div>
\n
"
+
" </div>
\n
"
+
" <!-- end of right-sidebar-title -->
\n
"
+
" <!-- end of right-sidebar-title -->
\n
"
+
" <p ng-show=
\"
notifications[2].length === 0
\"
class=
\"
text-center
\"
>Görüntülenecek içerik yok.</p>
\n
"
+
"
\n
"
+
"
\n
"
+
" <div class=
\"
right-sidebar-message-block
\"
ng-repeat=
\"
notify in notifications[2] | limitTo:5
\"
>
\n
"
+
" <div class=
\"
right-sidebar-message-block
\"
ng-repeat=
\"
notify in notifications[2] | limitTo:5
\"
>
\n
"
+
" <a class=
\"
clearfix
\"
ng-click=
\"
markAsRead(notify)
\"
>
\n
"
+
" <a class=
\"
clearfix
\"
ng-click=
\"
markAsRead(notify)
\"
>
\n
"
+
...
@@ -433,6 +437,8 @@ angular.module("components/dashboard/dashboard.html", []).run(["$templateCache",
...
@@ -433,6 +437,8 @@ angular.module("components/dashboard/dashboard.html", []).run(["$templateCache",
" <span><a role=
\"
button
\"
>Tüm Görevler</a></span>
\n
"
+
" <span><a role=
\"
button
\"
>Tüm Görevler</a></span>
\n
"
+
" </div>
\n
"
+
" </div>
\n
"
+
"
\n
"
+
"
\n
"
+
" <p ng-show=
\"
notifications[1].length === 0
\"
class=
\"
text-center
\"
>Görüntülenecek içerik yok.</p>
\n
"
+
"
\n
"
+
" <div class=
\"
right-sidebar-task-block
\"
>
\n
"
+
" <div class=
\"
right-sidebar-task-block
\"
>
\n
"
+
" <!--<div class=
\"
task-type
\"
>Onay Bekleyen Görevler</div>-->
\n
"
+
" <!--<div class=
\"
task-type
\"
>Onay Bekleyen Görevler</div>-->
\n
"
+
" <a ng-click=
\"
markAsRead(notify)
\"
ng-repeat=
\"
notify in notifications[1] | limitTo:5
\"
>
\n
"
+
" <a ng-click=
\"
markAsRead(notify)
\"
ng-repeat=
\"
notify in notifications[1] | limitTo:5
\"
>
\n
"
+
...
@@ -447,25 +453,25 @@ angular.module("components/dashboard/dashboard.html", []).run(["$templateCache",
...
@@ -447,25 +453,25 @@ angular.module("components/dashboard/dashboard.html", []).run(["$templateCache",
" <!-- end of right-sidebar-box -->
\n
"
+
" <!-- end of right-sidebar-box -->
\n
"
+
"
\n
"
+
"
\n
"
+
"
\n
"
+
"
\n
"
+
" <
div class=
\"
right-sidebar-box
\"
>
\n
"
+
" <
!--<div class=
\"
right-sidebar-box
\"
>--
>
\n
"
+
" <
div class=
\"
right-sidebar-announcements
\"
>
\n
"
+
" <
!--<div class=
\"
right-sidebar-announcements
\"
>--
>
\n
"
+
"
\n
"
+
"
\n
"
+
" <
div class=
\"
right-sidebar-title clearfix
\"
>
\n
"
+
" <
!--<div class=
\"
right-sidebar-title clearfix
\"
>--
>
\n
"
+
" <
h3>Duyurular</h3
>
\n
"
+
" <
!--<h3>Duyurular</h3>--
>
\n
"
+
" <
span><a role=
\"
button
\"
>Tüm Duyurular</a></span
>
\n
"
+
" <
!--<span><a role=
\"
button
\"
>Tüm Duyurular</a></span>--
>
\n
"
+
" <
/div
>
\n
"
+
" <
!--</div>--
>
\n
"
+
" <!--
end of right-sidebar-title
-->
\n
"
+
" <!--
<!– end of right-sidebar-title –>
-->
\n
"
+
"
\n
"
+
"
\n
"
+
" <
div class=
\"
right-sidebar-announcement-block
\"
>
\n
"
+
" <
!--<div class=
\"
right-sidebar-announcement-block
\"
>--
>
\n
"
+
" <
a ng-click=
\"
markAsRead(notify)
\"
\n
"
+
" <
!--<a ng-click=
\"
markAsRead(notify)
\"
-->
\n
"
+
"
ng-repeat=
\"
notify in notifications[3] | limitTo:5
\"
>{{notify
\n
"
+
"
<!--ng-repeat=
\"
notify in notifications[3] | limitTo:5
\"
>{{notify-->
\n
"
+
"
.body}}</a
>
\n
"
+
"
<!--.body}}</a>--
>
\n
"
+
" <
/div
>
\n
"
+
" <
!--</div>--
>
\n
"
+
" <!--
end of right-sidebar-status-block
-->
\n
"
+
" <!--
<!– end of right-sidebar-status-block –>
-->
\n
"
+
"
\n
"
+
"
\n
"
+
" <
/div
>
\n
"
+
" <
!--</div>--
>
\n
"
+
" <!--
end of right-sidebar-status
-->
\n
"
+
" <!--
<!– end of right-sidebar-status –>
-->
\n
"
+
" <
/div
>
\n
"
+
" <
!--</div>--
>
\n
"
+
" <!-- end of right-sidebar-box -->
\n
"
+
" <!-- end of right-sidebar-box -->
\n
"
+
"
\n
"
+
"
\n
"
+
"
\n
"
+
"
\n
"
+
...
@@ -477,6 +483,14 @@ angular.module("components/dashboard/dashboard.html", []).run(["$templateCache",
...
@@ -477,6 +483,14 @@ angular.module("components/dashboard/dashboard.html", []).run(["$templateCache",
" <span><a role=
\"
button
\"
>Tüm İşlemler</a></span>
\n
"
+
" <span><a role=
\"
button
\"
>Tüm İşlemler</a></span>
\n
"
+
" </div>
\n
"
+
" </div>
\n
"
+
"
\n
"
+
"
\n
"
+
" <p class=
\"
text-center
\"
>Görüntülenecek içerik yok.</p>
\n
"
+
"
\n
"
+
" <div class=
\"
right-sidebar-task-block
\"
>
\n
"
+
" <a>
\n
"
+
" <div class=
\"
task-title
\"
></div>
\n
"
+
" </a>
\n
"
+
" </div>
\n
"
+
"
\n
"
+
" </div>
\n
"
+
" </div>
\n
"
+
" <!-- end of right-sidebar-status -->
\n
"
+
" <!-- end of right-sidebar-status -->
\n
"
+
" </div>
\n
"
+
" </div>
\n
"
+
...
...
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