View | Details | Raw Unified | Return to bug 8593
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/css/mainpage.css (-6 / +13 lines)
Lines 140-151 ul.biglinks-list li a.icon_koha {background-image:url('/intranet-tmpl/prog/img/i Link Here
140
/* ==== PENDING - Start ==== */
140
/* ==== PENDING - Start ==== */
141
#area-pending {
141
#area-pending {
142
    /* Block containing links to pending tags, comments and suggestions */
142
    /* Block containing links to pending tags, comments and suggestions */
143
    width: 100%;
143
  
144
    border: solid 1px #b9d8d9;
144
}
145
#suggestions_pending {
146
    /* Block containing links to pending tags, comments and suggestions */
147
    width: 50%;
148
    width: 200px;
149
    height: 30px;
150
    border: solid 2px #b9d8d9;
151
    background-color: #F4F8F9;
145
    border-radius: 6px;
152
    border-radius: 6px;
146
    clear: left;
153
    clear: right;
154
    ;
147
}
155
}
148
149
.pending-info {
156
.pending-info {
150
    /* For the div containing a "pending" link (useful to preserve width of area-pending box width) */
157
    /* For the div containing a "pending" link (useful to preserve width of area-pending box width) */
151
    margin-top: 2px;
158
    margin-top: 2px;
Lines 155-162 ul.biglinks-list li a.icon_koha {background-image:url('/intranet-tmpl/prog/img/i Link Here
155
162
156
.pending-number-link {
163
.pending-number-link {
157
    /* Style for the "pending" links : the number of pending items appear bigger */
164
    /* Style for the "pending" links : the number of pending items appear bigger */
158
    font-weight: bold;
165
    font-weight: italic;
159
    font-size: 1.1em;
166
    font-size: 1.5em;
160
}
167
}
161
/* ==== PENDING - End ==== */
168
/* ==== PENDING - End ==== */
162
169
(-)a/koha-tmpl/intranet-tmpl/prog/en/css/mainpage.css~ (+179 lines)
Line 0 Link Here
1
/*
2
 * This file contains CSS styles used only on the front page of Koha
3
 *
4
 * COLORS
5
 * Very light blue  Module links background                 : #f4f8f9
6
 * Light blue       Navbar, breadcrumb                      : #e6f0f2
7
 * Blue             Module links and breadcrumb border      : #b9d8d9
8
 * Dark blue        Links                                   : #004d99
9
 * Green            Links:hover                             : #538200
10
 * These colors are used in staff-global.css too
11
 *
12
 */
13
14
#doc3 {
15
    /* Contains the news + both columns of links + pending box + userblock box */
16
    background-image:url('/intranet-tmpl/prog/img/background_koha_logo.png');
17
    background-repeat:no-repeat;
18
    background-position:left top;
19
    padding-top: 12px;
20
}
21
22
23
/* ==== NEWS - Start ==== */
24
25
#area-news {
26
    border: 1px solid #EEEEEE;
27
    border-radius: 6px 6px 6px 6px;
28
    margin: 0.2em;
29
}
30
31
#area-news h3 {
32
    /* Title section for the news block : transparency to let the koha logo appear */
33
    background-color: #EEEEEE;
34
    filter:alpha(opacity=70);   /* for IE */
35
    -moz-opacity: 0.7;          /* for Firefox before 0.9 */
36
    opacity: 0.7;
37
    padding : .3em; margin: 0;
38
}
39
40
.newsitem {
41
    /* Block for one News entry */
42
    padding: 3px;
43
    margin: .3em;
44
    border-bottom: 1px solid #EEE;
45
    background-color : #ffffff;
46
    border-radius: 6px;
47
    filter:alpha(opacity=75);
48
    -moz-opacity: 0.75;
49
    opacity: .75;
50
    }
51
52
.newsfooter {
53
    /* Footer containing the publication date and edition links for an News entry */
54
    font-size: 80%;
55
    color: #808080;
56
}
57
58
/* ==== NEWS - End ==== */
59
60
61
/* ==== MODULE LINKS - Start ==== */
62
63
ul.biglinks-list {
64
    /* List containing the module links */
65
    padding: 0px;
66
}
67
68
ul.biglinks-list li {
69
    /* Standard attributes for the list elements */
70
    list-style-type:none;
71
}
72
73
ul.biglinks-list li a.icon_general {
74
    /* Class used for each module link */
75
    display: block;
76
    float: left;
77
78
    width: 83%;
79
    max-width : 320px;
80
    height: 46px;
81
    margin: 0 1em 14px 0;
82
    padding-left:57px;
83
    padding-top:5px;
84
85
    border: solid 2px #b9d8d9;
86
    border-radius: 6px;
87
88
    text-decoration: none;
89
    font-family: verdana, arial;
90
    font-weight: bold;
91
    font-size: large;
92
    color: #000000;
93
94
    background-color:#f4f8f9;
95
    background-position: 5px 3px;
96
    background-repeat:no-repeat;
97
}
98
99
ul.biglinks-list li a:hover.icon_general {
100
    /* Class used for each module link hover state */
101
    background-position:5px -43px;
102
    color: #538200;
103
    border-color: #538200;
104
}
105
106
/* CSS Sprites
107
 * Each image contains the normal and the hover state of the icon
108
 * The hover part starts at 46px below the top:
109
 *
110
 *  46px
111
 * -------
112
 * |     |
113
 * |  N  | 46px \
114
 * |     |       |
115
 * -------        > 92px
116
 * |     |       |
117
 * |  H  | 46px /
118
 * |     |
119
 * -------
120
 *
121
 */
122
123
/* Classes used for each individual module link */
124
ul.biglinks-list li a.icon_circulation {background-image:url('/intranet-tmpl/prog/img/icon_circulation.png')}
125
ul.biglinks-list li a.icon_patrons {background-image:url('/intranet-tmpl/prog/img/icon_patrons.png')}
126
ul.biglinks-list li a.icon_search {background-image:url('/intranet-tmpl/prog/img/icon_search.png')}
127
ul.biglinks-list li a.icon_lists {background-image:url('/intranet-tmpl/prog/img/icon_lists.png')}
128
ul.biglinks-list li a.icon_cataloging {background-image:url('/intranet-tmpl/prog/img/icon_cataloging.png')}
129
ul.biglinks-list li a.icon_authorities {background-image:url('/intranet-tmpl/prog/img/icon_authorities.png')}
130
131
ul.biglinks-list li a.icon_serials {background-image:url('/intranet-tmpl/prog/img/icon_serials.png')}
132
ul.biglinks-list li a.icon_acquisitions {background-image:url('/intranet-tmpl/prog/img/icon_acquisitions.png')}
133
ul.biglinks-list li a.icon_reports {background-image:url('/intranet-tmpl/prog/img/icon_reports.png')}
134
ul.biglinks-list li a.icon_administration {background-image:url('/intranet-tmpl/prog/img/icon_administration.png')}
135
ul.biglinks-list li a.icon_tools {background-image:url('/intranet-tmpl/prog/img/icon_tools.png')}
136
ul.biglinks-list li a.icon_koha {background-image:url('/intranet-tmpl/prog/img/icon_koha.png')}
137
/* ==== MODULE LINKS - End ==== */
138
139
140
/* ==== PENDING - Start ==== */
141
#area-pending {
142
    /* Block containing links to pending tags, comments and suggestions */
143
  
144
}
145
#suggestions_pending {
146
    /* Block containing links to pending tags, comments and suggestions */
147
   
148
    ;
149
}
150
.pending-info {
151
    /* For the div containing a "pending" link (useful to preserve width of area-pending box width) */
152
    margin-top: 2px;
153
    margin-bottom: 2px;
154
    margin-left: 8px;
155
}
156
157
.pending-number-link {
158
    /* Style for the "pending" links : the number of pending items appear bigger */
159
    font-weight: italic;
160
    font-size: 1.5em;
161
}
162
/* ==== PENDING - End ==== */
163
164
165
/* ==== USERBLOCK - Start ==== */
166
#area-userblock {
167
    /* Appears if the "IntranetmainUserblock" system preference is defined */
168
    margin-top: 10px;
169
    width: 100%;
170
    border: solid 1px #b9d8d9;
171
    border-radius: 6px;
172
173
}
174
175
.user-info {
176
    /* For the div containing the information (useful to preserve width of area-userblock box width) */
177
    margin: 8px;
178
}
179
/* ==== USERBLOCK - End ==== */
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt~ (-1 / +163 lines)
Line 0 Link Here
0
- 
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha staff client</title>
3
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/mainpage.css" />
4
[% INCLUDE 'doc-head-close.inc' %]
5
<style type="text/css"> </style>
6
7
</head>
8
<body id="main_intranet-main" class="main">
9
[% INCLUDE 'header.inc' %]
10
[% INCLUDE 'home-search.inc' %]
11
12
<div id="breadcrumbs" >Home</div>
13
14
15
<div id="doc3" class="yui-t3">
16
   <div id="bd" role="main">
17
    <div id="yui-main">
18
    <div class="yui-b"><div class="yui-g">
19
    <div class="yui-u first">
20
            <div id="area-list-left">
21
                <ul class="biglinks-list">
22
                    [% IF ( CAN_user_circulate ) %]
23
                    <li>
24
                        <a class="icon_general icon_circulation" href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
25
                    </li>
26
                    [% END %]
27
28
                    [% IF ( CAN_user_borrowers ) %]
29
                    <li>
30
                        <a class="icon_general icon_patrons" href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
31
                    </li>
32
                    [% END %]
33
34
                    [% IF ( CAN_user_catalogue ) %]
35
                    <li>
36
                        <a class="icon_general icon_search" href="/cgi-bin/koha/catalogue/search.pl">Advanced search</a>
37
                    </li>
38
                    [% END %]
39
40
                    <li>
41
                        <a class="icon_general icon_lists" href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a>
42
                    </li>
43
44
                    [% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items ) %]
45
                    <li>
46
                        <a class="icon_general icon_cataloging" href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>
47
                    </li>
48
                    [% END %]
49
50
                    [% IF ( CAN_user_editauthorities ) %]
51
                    <li>
52
                        <a class="icon_general icon_authorities" href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a>
53
                    </li>
54
                    [% END %]
55
                </ul>
56
            </div><!-- /area-list-left -->
57
        </div><!-- /yui-u first -->
58
    <div class="yui-u">
59
            <div id="area-list-right">
60
                <ul class="biglinks-list">
61
                    [% IF ( CAN_user_serials ) %]
62
                    <li>
63
                        <a class="icon_general icon_serials" href="/cgi-bin/koha/serials/serials-home.pl">Serials</a>
64
                        <span class="biglink"></span>
65
                    </li>
66
                    [% END %]
67
68
                    [% IF ( CAN_user_acquisition ) %]
69
                    <li>
70
                        <a class="icon_general icon_acquisitions" href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
71
                        <span class="biglink"></span>
72
                    </li>
73
                    [% END %]
74
75
                    [% IF ( CAN_user_reports ) %]
76
                    <li>
77
                        <a class="icon_general icon_reports" href="/cgi-bin/koha/reports/reports-home.pl">Reports</a>
78
                    </li>
79
                    [% END %]
80
81
                    [% IF ( CAN_user_parameters ) %]
82
                    <li>
83
                        <a class="icon_general icon_administration" href="/cgi-bin/koha/admin/admin-home.pl">Koha administration</a>
84
                    </li>
85
                    [% END %]
86
87
                    [% IF ( CAN_user_tools ) %]
88
                    <li>
89
                        <a class="icon_general icon_tools" href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
90
                    </li>
91
                    [% END %]
92
93
                    <li>
94
                        <a class="icon_general icon_koha" href="/cgi-bin/koha/about.pl">About Koha</a>
95
                    </li>
96
                </ul>
97
            </div><!-- /area-list-right -->
98
        </div><!-- /yui-u -->
99
</div><!-- /yui-g -->
100
<div class="yui-g">
101
            [% IF ( ( CAN_user_tools_moderate_comments  && pendingcomments ) 
102
                    || ( CAN_user_tools_moderate_tags && pendingtags )
103
                    || ( CAN_user_acquisition && pendingsuggestions ) ) %]
104
                <div id="area-pending">
105
                    [% IF ( CAN_user_acquisition && pendingsuggestions ) %]
106
                    <div class="pending-info" id="suggestions_pending">
107
		
108
                        <a href="/cgi-bin/koha/suggestion/suggestion.pl">Suggestions pending approval</a>:
109
                        <span class="pending-number-link">[% pendingsuggestions %]</span>
110
                    </div>
111
                    [% END %]
112
113
                    [% IF ( CAN_user_tools_moderate_comments  && pendingcomments ) %]
114
                    <div class="pending-info">
115
                        <a href="/cgi-bin/koha/reviews/reviewswaiting.pl">Comments pending approval</a>:
116
                        <span class="pending-number-link">[% pendingcomments %]</span>
117
                    </div>
118
                    [% END %]
119
120
                    [% IF ( CAN_user_tools_moderate_tags && pendingtags ) %]
121
                    <div class="pending-info">
122
                        <a href="/cgi-bin/koha/tags/review.pl">Tags pending approval</a>:
123
                        <span class="pending-number-link">[% pendingtags %]</span>
124
                    </div>
125
                    [% END %]
126
                </div>
127
            [% END %]
128
129
130
</div>
131
            [% IF ( IntranetmainUserblock ) %]
132
                <div class="yui-g" id="area-userblock">
133
                    <div class="user-info">
134
                        [% IntranetmainUserblock %]
135
                    </div>
136
                </div>
137
            [% END %]
138
</div>
139
    </div>
140
    <div class="yui-b"><!-- YOUR NAVIGATION GOES HERE -->
141
    [% IF ( koha_news_count ) %]
142
        <div id="area-news">
143
            <h3><span="news_title">News</span></h3>
144
            [% FOREACH koha_new IN koha_news %]
145
                <div class="newsitem" id="news[% koha_new.idnew %]"><h4>[% koha_new.title %]</h4>
146
                    <p>[% koha_new.new %]</p>
147
                    <p class="newsfooter"> Posted on [% koha_new.newdate %]
148
                        [% IF ( CAN_user_tools ) %]
149
                            <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&amp;id=[% koha_new.idnew %]">Edit</a>
150
                             | <a href="/cgi-bin/koha/tools/koha-news.pl?op=del&amp;ids=[% koha_new.idnew %]">Delete</a>
151
                             | <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form">New</a>
152
                        [% END %]
153
                    </p>
154
                </div>
155
            [% END %]
156
        </div><!-- /koha-news -->
157
    [% END %]
158
    </div>
159
    </div>
160
</div>
161
162
<!-- the main div is closed in intranet-bottom.inc -->
163
[% INCLUDE 'intranet-bottom.inc' %]

Return to bug 8593