multiinsert 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +17 -15
- data/Gemfile +3 -48
- data/LICENSE.txt +22 -0
- data/README.md +28 -3
- data/Rakefile +1 -7
- data/lib/multiinsert.rb +38 -0
- data/lib/multiinsert/version.rb +3 -0
- data/multiinsert.gemspec +23 -0
- metadata +8 -180
- data/Gemfile.lock +0 -182
- data/README.rdoc +0 -261
- data/app/assets/images/Dashboard.jpg +0 -0
- data/app/assets/images/black.png +0 -0
- data/app/assets/images/giff.gif +0 -0
- data/app/assets/images/rails.png +0 -0
- data/app/assets/images/sprites.png +0 -0
- data/app/assets/javascripts/application.js +0 -15
- data/app/assets/javascripts/effects.js +0 -9
- data/app/assets/javascripts/evaluations.js.coffee +0 -3
- data/app/assets/javascripts/tabs_old.js +0 -42
- data/app/assets/stylesheets/application.css +0 -13
- data/app/assets/stylesheets/evaluations.css.scss +0 -3
- data/app/assets/stylesheets/style.css +0 -477
- data/app/assets/stylesheets/tab.css +0 -190
- data/app/controllers/application_controller.rb +0 -15
- data/app/controllers/employee_heirarchies_controller.rb +0 -2
- data/app/controllers/evaluations_controller.rb +0 -80
- data/app/controllers/sessions_controller.rb +0 -48
- data/app/helpers/application_helper.rb +0 -2
- data/app/helpers/employee_heirarchies_helper.rb +0 -2
- data/app/helpers/evaluations_helper.rb +0 -2
- data/app/mailers/.gitkeep +0 -0
- data/app/models/.gitkeep +0 -0
- data/app/models/employee.rb +0 -5
- data/app/models/employee_heirarchy.rb +0 -6
- data/app/models/evaluation.rb +0 -6
- data/app/models/evaluation_interval.rb +0 -5
- data/app/models/evaluation_period.rb +0 -6
- data/app/models/interval_format.rb +0 -4
- data/app/models/role.rb +0 -7
- data/app/models/score.rb +0 -3
- data/app/models/team.rb +0 -10
- data/app/models/team.rb~ +0 -10
- data/app/models/team_value.rb +0 -5
- data/app/models/user.rb +0 -49
- data/app/models/user.rb~ +0 -11
- data/app/models/user_history.rb +0 -6
- data/app/models/user_role.rb +0 -5
- data/app/models/value.rb +0 -8
- data/app/models/value.rb~ +0 -7
- data/app/views/devise/confirmations/new.html.erb +0 -12
- data/app/views/devise/mailer/confirmation_instructions.html.erb +0 -5
- data/app/views/devise/mailer/reset_password_instructions.html.erb +0 -8
- data/app/views/devise/mailer/unlock_instructions.html.erb +0 -7
- data/app/views/devise/passwords/edit.html.erb +0 -16
- data/app/views/devise/passwords/new.html.erb +0 -12
- data/app/views/devise/registrations/edit.html.erb +0 -29
- data/app/views/devise/registrations/new.html.erb +0 -36
- data/app/views/devise/sessions/new.html.erb +0 -17
- data/app/views/devise/shared/_links.erb +0 -25
- data/app/views/devise/unlocks/new.html.erb +0 -12
- data/app/views/evaluations/edit.html.erb +0 -21
- data/app/views/evaluations/first.html.erb +0 -5
- data/app/views/evaluations/index.html.erb +0 -7
- data/app/views/evaluations/new.html.erb +0 -15
- data/app/views/evaluations/show.html.erb +0 -21
- data/app/views/layouts/application.html.erb +0 -87
- data/config.ru +0 -4
- data/config/application.rb +0 -63
- data/config/boot.rb +0 -6
- data/config/database.yml +0 -31
- data/config/database.yml~ +0 -31
- data/config/environment.rb +0 -5
- data/config/environments/development.rb +0 -37
- data/config/environments/production.rb +0 -67
- data/config/environments/test.rb +0 -37
- data/config/initializers/backtrace_silencers.rb +0 -7
- data/config/initializers/devise.rb +0 -240
- data/config/initializers/inflections.rb +0 -15
- data/config/initializers/mime_types.rb +0 -5
- data/config/initializers/rails_admin.rb +0 -116
- data/config/initializers/secret_token.rb +0 -7
- data/config/initializers/session_store.rb +0 -8
- data/config/initializers/wrap_parameters.rb +0 -14
- data/config/locales/devise.en.yml +0 -59
- data/config/locales/en.yml +0 -5
- data/config/routes.rb +0 -70
- data/db/migrate/20130220053413_devise_create_users.rb +0 -52
- data/db/migrate/20130220055237_create_rails_admin_histories_table.rb +0 -18
- data/db/migrate/20130220060116_create_values.rb +0 -9
- data/db/migrate/20130220060116_create_values.rb~ +0 -8
- data/db/migrate/20130220060206_create_scores.rb +0 -9
- data/db/migrate/20130220060258_create_teams.rb +0 -8
- data/db/migrate/20130220060347_create_team_values.rb +0 -9
- data/db/migrate/20130220060347_create_team_values.rb~ +0 -10
- data/db/migrate/20130220060427_create_roles.rb +0 -8
- data/db/migrate/20130220060605_create_evaluation_periods.rb +0 -10
- data/db/migrate/20130220060807_create_evaluation_intervals.rb +0 -9
- data/db/migrate/20130220060902_create_interval_formats.rb +0 -9
- data/db/migrate/20130220061022_create_user_histories.rb +0 -13
- data/db/migrate/20130220061242_create_evaluations.rb +0 -16
- data/db/migrate/20130305063738_create_user_roles.rb +0 -9
- data/db/migrate/20130305091849_create_employees.rb +0 -12
- data/db/migrate/20130305144125_create_employee_heirarchies.rb +0 -13
- data/db/migrate/20130305150244_add_foreign_keys_to_employee_heirarchies.rb +0 -6
- data/db/migrate/20130307035139_addmanagerid_to_evaluations.rb +0 -9
- data/db/schema.rb +0 -175
- data/db/seeds.rb +0 -7
- data/doc/README_FOR_APP +0 -2
- data/lib/assets/.gitkeep +0 -0
- data/lib/tasks/.gitkeep +0 -0
- data/log/.gitkeep +0 -0
- data/public/404.html +0 -26
- data/public/422.html +0 -26
- data/public/500.html +0 -25
- data/public/favicon.ico +0 -0
- data/public/robots.txt +0 -5
- data/script/rails +0 -6
- data/test/fixtures/.gitkeep +0 -0
- data/test/fixtures/evaluation_intervals.yml +0 -9
- data/test/fixtures/evaluation_periods.yml +0 -11
- data/test/fixtures/evaluations.yml +0 -19
- data/test/fixtures/interval_formats.yml +0 -7
- data/test/fixtures/roles.yml +0 -7
- data/test/fixtures/scores.yml +0 -9
- data/test/fixtures/team_values.yml +0 -9
- data/test/fixtures/teams.yml +0 -9
- data/test/fixtures/user_histories.yml +0 -15
- data/test/fixtures/users.yml +0 -11
- data/test/fixtures/values.yml +0 -7
- data/test/functional/.gitkeep +0 -0
- data/test/functional/employee_heirarchies_controller_test.rb +0 -7
- data/test/functional/evaluations_controller_test.rb +0 -7
- data/test/integration/.gitkeep +0 -0
- data/test/performance/browsing_test.rb +0 -12
- data/test/test_helper.rb +0 -13
- data/test/unit/.gitkeep +0 -0
- data/test/unit/evaluation_interval_test.rb +0 -7
- data/test/unit/evaluation_period_test.rb +0 -7
- data/test/unit/evaluation_test.rb +0 -7
- data/test/unit/helpers/employee_heirarchies_helper_test.rb +0 -4
- data/test/unit/helpers/evaluations_helper_test.rb +0 -4
- data/test/unit/interval_format_test.rb +0 -7
- data/test/unit/role_test.rb +0 -7
- data/test/unit/score_test.rb +0 -7
- data/test/unit/team_test.rb +0 -7
- data/test/unit/team_value_test.rb +0 -7
- data/test/unit/user_history_test.rb +0 -7
- data/test/unit/user_test.rb +0 -7
- data/test/unit/value_test.rb +0 -7
- data/vendor/assets/javascripts/.gitkeep +0 -0
- data/vendor/assets/stylesheets/.gitkeep +0 -0
- data/vendor/plugins/.gitkeep +0 -0
data/README.rdoc
DELETED
@@ -1,261 +0,0 @@
|
|
1
|
-
== Welcome to Rails
|
2
|
-
|
3
|
-
Rails is a web-application framework that includes everything needed to create
|
4
|
-
database-backed web applications according to the Model-View-Control pattern.
|
5
|
-
|
6
|
-
This pattern splits the view (also called the presentation) into "dumb"
|
7
|
-
templates that are primarily responsible for inserting pre-built data in between
|
8
|
-
HTML tags. The model contains the "smart" domain objects (such as Account,
|
9
|
-
Product, Person, Post) that holds all the business logic and knows how to
|
10
|
-
persist themselves to a database. The controller handles the incoming requests
|
11
|
-
(such as Save New Account, Update Product, Show Post) by manipulating the model
|
12
|
-
and directing data to the view.
|
13
|
-
|
14
|
-
In Rails, the model is handled by what's called an object-relational mapping
|
15
|
-
layer entitled Active Record. This layer allows you to present the data from
|
16
|
-
database rows as objects and embellish these data objects with business logic
|
17
|
-
methods. You can read more about Active Record in
|
18
|
-
link:files/vendor/rails/activerecord/README.html.
|
19
|
-
|
20
|
-
The controller and view are handled by the Action Pack, which handles both
|
21
|
-
layers by its two parts: Action View and Action Controller. These two layers
|
22
|
-
are bundled in a single package due to their heavy interdependence. This is
|
23
|
-
unlike the relationship between the Active Record and Action Pack that is much
|
24
|
-
more separate. Each of these packages can be used independently outside of
|
25
|
-
Rails. You can read more about Action Pack in
|
26
|
-
link:files/vendor/rails/actionpack/README.html.
|
27
|
-
|
28
|
-
|
29
|
-
== Getting Started
|
30
|
-
|
31
|
-
1. At the command prompt, create a new Rails application:
|
32
|
-
<tt>rails new myapp</tt> (where <tt>myapp</tt> is the application name)
|
33
|
-
|
34
|
-
2. Change directory to <tt>myapp</tt> and start the web server:
|
35
|
-
<tt>cd myapp; rails server</tt> (run with --help for options)
|
36
|
-
|
37
|
-
3. Go to http://localhost:3000/ and you'll see:
|
38
|
-
"Welcome aboard: You're riding Ruby on Rails!"
|
39
|
-
|
40
|
-
4. Follow the guidelines to start developing your application. You can find
|
41
|
-
the following resources handy:
|
42
|
-
|
43
|
-
* The Getting Started Guide: http://guides.rubyonrails.org/getting_started.html
|
44
|
-
* Ruby on Rails Tutorial Book: http://www.railstutorial.org/
|
45
|
-
|
46
|
-
|
47
|
-
== Debugging Rails
|
48
|
-
|
49
|
-
Sometimes your application goes wrong. Fortunately there are a lot of tools that
|
50
|
-
will help you debug it and get it back on the rails.
|
51
|
-
|
52
|
-
First area to check is the application log files. Have "tail -f" commands
|
53
|
-
running on the server.log and development.log. Rails will automatically display
|
54
|
-
debugging and runtime information to these files. Debugging info will also be
|
55
|
-
shown in the browser on requests from 127.0.0.1.
|
56
|
-
|
57
|
-
You can also log your own messages directly into the log file from your code
|
58
|
-
using the Ruby logger class from inside your controllers. Example:
|
59
|
-
|
60
|
-
class WeblogController < ActionController::Base
|
61
|
-
def destroy
|
62
|
-
@weblog = Weblog.find(params[:id])
|
63
|
-
@weblog.destroy
|
64
|
-
logger.info("#{Time.now} Destroyed Weblog ID ##{@weblog.id}!")
|
65
|
-
end
|
66
|
-
end
|
67
|
-
|
68
|
-
The result will be a message in your log file along the lines of:
|
69
|
-
|
70
|
-
Mon Oct 08 14:22:29 +1000 2007 Destroyed Weblog ID #1!
|
71
|
-
|
72
|
-
More information on how to use the logger is at http://www.ruby-doc.org/core/
|
73
|
-
|
74
|
-
Also, Ruby documentation can be found at http://www.ruby-lang.org/. There are
|
75
|
-
several books available online as well:
|
76
|
-
|
77
|
-
* Programming Ruby: http://www.ruby-doc.org/docs/ProgrammingRuby/ (Pickaxe)
|
78
|
-
* Learn to Program: http://pine.fm/LearnToProgram/ (a beginners guide)
|
79
|
-
|
80
|
-
These two books will bring you up to speed on the Ruby language and also on
|
81
|
-
programming in general.
|
82
|
-
|
83
|
-
|
84
|
-
== Debugger
|
85
|
-
|
86
|
-
Debugger support is available through the debugger command when you start your
|
87
|
-
Mongrel or WEBrick server with --debugger. This means that you can break out of
|
88
|
-
execution at any point in the code, investigate and change the model, and then,
|
89
|
-
resume execution! You need to install ruby-debug to run the server in debugging
|
90
|
-
mode. With gems, use <tt>sudo gem install ruby-debug</tt>. Example:
|
91
|
-
|
92
|
-
class WeblogController < ActionController::Base
|
93
|
-
def index
|
94
|
-
@posts = Post.all
|
95
|
-
debugger
|
96
|
-
end
|
97
|
-
end
|
98
|
-
|
99
|
-
So the controller will accept the action, run the first line, then present you
|
100
|
-
with a IRB prompt in the server window. Here you can do things like:
|
101
|
-
|
102
|
-
>> @posts.inspect
|
103
|
-
=> "[#<Post:0x14a6be8
|
104
|
-
@attributes={"title"=>nil, "body"=>nil, "id"=>"1"}>,
|
105
|
-
#<Post:0x14a6620
|
106
|
-
@attributes={"title"=>"Rails", "body"=>"Only ten..", "id"=>"2"}>]"
|
107
|
-
>> @posts.first.title = "hello from a debugger"
|
108
|
-
=> "hello from a debugger"
|
109
|
-
|
110
|
-
...and even better, you can examine how your runtime objects actually work:
|
111
|
-
|
112
|
-
>> f = @posts.first
|
113
|
-
=> #<Post:0x13630c4 @attributes={"title"=>nil, "body"=>nil, "id"=>"1"}>
|
114
|
-
>> f.
|
115
|
-
Display all 152 possibilities? (y or n)
|
116
|
-
|
117
|
-
Finally, when you're ready to resume execution, you can enter "cont".
|
118
|
-
|
119
|
-
|
120
|
-
== Console
|
121
|
-
|
122
|
-
The console is a Ruby shell, which allows you to interact with your
|
123
|
-
application's domain model. Here you'll have all parts of the application
|
124
|
-
configured, just like it is when the application is running. You can inspect
|
125
|
-
domain models, change values, and save to the database. Starting the script
|
126
|
-
without arguments will launch it in the development environment.
|
127
|
-
|
128
|
-
To start the console, run <tt>rails console</tt> from the application
|
129
|
-
directory.
|
130
|
-
|
131
|
-
Options:
|
132
|
-
|
133
|
-
* Passing the <tt>-s, --sandbox</tt> argument will rollback any modifications
|
134
|
-
made to the database.
|
135
|
-
* Passing an environment name as an argument will load the corresponding
|
136
|
-
environment. Example: <tt>rails console production</tt>.
|
137
|
-
|
138
|
-
To reload your controllers and models after launching the console run
|
139
|
-
<tt>reload!</tt>
|
140
|
-
|
141
|
-
More information about irb can be found at:
|
142
|
-
link:http://www.rubycentral.org/pickaxe/irb.html
|
143
|
-
|
144
|
-
|
145
|
-
== dbconsole
|
146
|
-
|
147
|
-
You can go to the command line of your database directly through <tt>rails
|
148
|
-
dbconsole</tt>. You would be connected to the database with the credentials
|
149
|
-
defined in database.yml. Starting the script without arguments will connect you
|
150
|
-
to the development database. Passing an argument will connect you to a different
|
151
|
-
database, like <tt>rails dbconsole production</tt>. Currently works for MySQL,
|
152
|
-
PostgreSQL and SQLite 3.
|
153
|
-
|
154
|
-
== Description of Contents
|
155
|
-
|
156
|
-
The default directory structure of a generated Ruby on Rails application:
|
157
|
-
|
158
|
-
|-- app
|
159
|
-
| |-- assets
|
160
|
-
| |-- images
|
161
|
-
| |-- javascripts
|
162
|
-
| `-- stylesheets
|
163
|
-
| |-- controllers
|
164
|
-
| |-- helpers
|
165
|
-
| |-- mailers
|
166
|
-
| |-- models
|
167
|
-
| `-- views
|
168
|
-
| `-- layouts
|
169
|
-
|-- config
|
170
|
-
| |-- environments
|
171
|
-
| |-- initializers
|
172
|
-
| `-- locales
|
173
|
-
|-- db
|
174
|
-
|-- doc
|
175
|
-
|-- lib
|
176
|
-
| `-- tasks
|
177
|
-
|-- log
|
178
|
-
|-- public
|
179
|
-
|-- script
|
180
|
-
|-- test
|
181
|
-
| |-- fixtures
|
182
|
-
| |-- functional
|
183
|
-
| |-- integration
|
184
|
-
| |-- performance
|
185
|
-
| `-- unit
|
186
|
-
|-- tmp
|
187
|
-
| |-- cache
|
188
|
-
| |-- pids
|
189
|
-
| |-- sessions
|
190
|
-
| `-- sockets
|
191
|
-
`-- vendor
|
192
|
-
|-- assets
|
193
|
-
`-- stylesheets
|
194
|
-
`-- plugins
|
195
|
-
|
196
|
-
app
|
197
|
-
Holds all the code that's specific to this particular application.
|
198
|
-
|
199
|
-
app/assets
|
200
|
-
Contains subdirectories for images, stylesheets, and JavaScript files.
|
201
|
-
|
202
|
-
app/controllers
|
203
|
-
Holds controllers that should be named like weblogs_controller.rb for
|
204
|
-
automated URL mapping. All controllers should descend from
|
205
|
-
ApplicationController which itself descends from ActionController::Base.
|
206
|
-
|
207
|
-
app/models
|
208
|
-
Holds models that should be named like post.rb. Models descend from
|
209
|
-
ActiveRecord::Base by default.
|
210
|
-
|
211
|
-
app/views
|
212
|
-
Holds the template files for the view that should be named like
|
213
|
-
weblogs/index.html.erb for the WeblogsController#index action. All views use
|
214
|
-
eRuby syntax by default.
|
215
|
-
|
216
|
-
app/views/layouts
|
217
|
-
Holds the template files for layouts to be used with views. This models the
|
218
|
-
common header/footer method of wrapping views. In your views, define a layout
|
219
|
-
using the <tt>layout :default</tt> and create a file named default.html.erb.
|
220
|
-
Inside default.html.erb, call <% yield %> to render the view using this
|
221
|
-
layout.
|
222
|
-
|
223
|
-
app/helpers
|
224
|
-
Holds view helpers that should be named like weblogs_helper.rb. These are
|
225
|
-
generated for you automatically when using generators for controllers.
|
226
|
-
Helpers can be used to wrap functionality for your views into methods.
|
227
|
-
|
228
|
-
config
|
229
|
-
Configuration files for the Rails environment, the routing map, the database,
|
230
|
-
and other dependencies.
|
231
|
-
|
232
|
-
db
|
233
|
-
Contains the database schema in schema.rb. db/migrate contains all the
|
234
|
-
sequence of Migrations for your schema.
|
235
|
-
|
236
|
-
doc
|
237
|
-
This directory is where your application documentation will be stored when
|
238
|
-
generated using <tt>rake doc:app</tt>
|
239
|
-
|
240
|
-
lib
|
241
|
-
Application specific libraries. Basically, any kind of custom code that
|
242
|
-
doesn't belong under controllers, models, or helpers. This directory is in
|
243
|
-
the load path.
|
244
|
-
|
245
|
-
public
|
246
|
-
The directory available for the web server. Also contains the dispatchers and the
|
247
|
-
default HTML files. This should be set as the DOCUMENT_ROOT of your web
|
248
|
-
server.
|
249
|
-
|
250
|
-
script
|
251
|
-
Helper scripts for automation and generation.
|
252
|
-
|
253
|
-
test
|
254
|
-
Unit and functional tests along with fixtures. When using the rails generate
|
255
|
-
command, template test files will be generated for you and placed in this
|
256
|
-
directory.
|
257
|
-
|
258
|
-
vendor
|
259
|
-
External libraries that the application depends on. Also includes the plugins
|
260
|
-
subdirectory. If the app has frozen rails, those gems also go here, under
|
261
|
-
vendor/rails/. This directory is in the load path.
|
Binary file
|
data/app/assets/images/black.png
DELETED
Binary file
|
data/app/assets/images/giff.gif
DELETED
Binary file
|
data/app/assets/images/rails.png
DELETED
Binary file
|
Binary file
|
@@ -1,15 +0,0 @@
|
|
1
|
-
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
-
// listed below.
|
3
|
-
//
|
4
|
-
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
-
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
|
6
|
-
//
|
7
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
-
// the compiled file.
|
9
|
-
//
|
10
|
-
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
|
11
|
-
// GO AFTER THE REQUIRES BELOW.
|
12
|
-
//
|
13
|
-
//= require jquery
|
14
|
-
//= require jquery_ujs
|
15
|
-
//= require_tree .
|
@@ -1,9 +0,0 @@
|
|
1
|
-
// JavaScript Document
|
2
|
-
function showFrontLayer() {
|
3
|
-
document.getElementById('bg_mask').style.visibility='visible';
|
4
|
-
document.getElementById('frontlayer').style.visibility='visible';
|
5
|
-
}
|
6
|
-
function hideFrontLayer() {
|
7
|
-
document.getElementById('bg_mask').style.visibility='hidden';
|
8
|
-
document.getElementById('frontlayer').style.visibility='hidden';
|
9
|
-
}
|
@@ -1,42 +0,0 @@
|
|
1
|
-
window.onload=function() {
|
2
|
-
|
3
|
-
// get tab container
|
4
|
-
var container = document.getElementById("tabContainer");
|
5
|
-
var tabcon = document.getElementById("tabscontent");
|
6
|
-
//alert(tabcon.childNodes.item(1));
|
7
|
-
// set current tab
|
8
|
-
var navitem = document.getElementById("tabHeader_1");
|
9
|
-
|
10
|
-
//store which tab we are on
|
11
|
-
var ident = navitem.id.split("_")[1];
|
12
|
-
//alert(ident);
|
13
|
-
navitem.parentNode.setAttribute("data-current",ident);
|
14
|
-
//set current tab with class of activetabheader
|
15
|
-
navitem.setAttribute("class","tabActiveHeader");
|
16
|
-
|
17
|
-
//hide two tab contents we don't need
|
18
|
-
var pages = tabcon.getElementsByTagName("div");
|
19
|
-
for (var i = 1; i < pages.length; i++) {
|
20
|
-
pages.item(i).style.display="none";
|
21
|
-
};
|
22
|
-
|
23
|
-
//this adds click event to tabs
|
24
|
-
var tabs = container.getElementsByTagName("li");
|
25
|
-
for (var i = 0; i < tabs.length; i++) {
|
26
|
-
tabs[i].onclick=displayPage;
|
27
|
-
}
|
28
|
-
}
|
29
|
-
|
30
|
-
// on click of one of tabs
|
31
|
-
function displayPage() {
|
32
|
-
var current = this.parentNode.getAttribute("data-current");
|
33
|
-
//remove class of activetabheader and hide old contents
|
34
|
-
document.getElementById("tabHeader_" + current).removeAttribute("class");
|
35
|
-
document.getElementById("tabpage_" + current).style.display="none";
|
36
|
-
|
37
|
-
var ident = this.id.split("_")[1];
|
38
|
-
//add class of activetabheader to new active tab and show contents
|
39
|
-
this.setAttribute("class","tabActiveHeader");
|
40
|
-
document.getElementById("tabpage_" + ident).style.display="block";
|
41
|
-
this.parentNode.setAttribute("data-current",ident);
|
42
|
-
}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
-
* listed below.
|
4
|
-
*
|
5
|
-
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
-
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
7
|
-
*
|
8
|
-
* You're free to add application-wide styles to this file and they'll appear at the top of the
|
9
|
-
* compiled file, but it's generally better to create a new file per style scope.
|
10
|
-
*
|
11
|
-
*= require_self
|
12
|
-
*= require_tree .
|
13
|
-
*/
|
@@ -1,477 +0,0 @@
|
|
1
|
-
/* CSS Live the value */
|
2
|
-
|
3
|
-
* { padding:0;
|
4
|
-
margin:0;
|
5
|
-
}
|
6
|
-
html, body {
|
7
|
-
width:100%;
|
8
|
-
height:100%;
|
9
|
-
padding:o;
|
10
|
-
margin:0;
|
11
|
-
font-family:Arial, Helvetica, sans-serif;
|
12
|
-
}
|
13
|
-
.one {
|
14
|
-
height:100%;
|
15
|
-
width:100%;
|
16
|
-
}
|
17
|
-
.left {
|
18
|
-
width:12%;
|
19
|
-
min-height:100%;
|
20
|
-
position:fixed;
|
21
|
-
float:left;
|
22
|
-
z-index:1;
|
23
|
-
}
|
24
|
-
.right {
|
25
|
-
width:100%%;
|
26
|
-
min-height:100%;
|
27
|
-
float: right;
|
28
|
-
word-wrap:break-word;
|
29
|
-
}
|
30
|
-
.header {
|
31
|
-
height:100px;
|
32
|
-
width:100%;
|
33
|
-
background-color:#00FFFF;
|
34
|
-
}
|
35
|
-
.page_container {
|
36
|
-
width:100%;
|
37
|
-
height:100%;
|
38
|
-
}
|
39
|
-
.logo_menu_container {
|
40
|
-
height:100%;
|
41
|
-
width:165px;
|
42
|
-
border-right:solid 1px #CCCCCC;
|
43
|
-
background-color:#f7f7f7;
|
44
|
-
float:left;
|
45
|
-
position:fixed;
|
46
|
-
}
|
47
|
-
.logo {
|
48
|
-
background-image: url(../assets/sprites.png);
|
49
|
-
background-repeat:repeat;
|
50
|
-
background-position:-6px -7px;
|
51
|
-
width:165px;
|
52
|
-
height:150px;
|
53
|
-
}
|
54
|
-
.logo:hover {
|
55
|
-
background-image: url(../assets/sprites.png);
|
56
|
-
background-repeat:repeat;
|
57
|
-
background-position:-180px -7px;
|
58
|
-
width:165px;
|
59
|
-
height:150px;
|
60
|
-
cursor:pointer;
|
61
|
-
}
|
62
|
-
.menu_container {
|
63
|
-
width:100%;
|
64
|
-
}
|
65
|
-
.right_container {
|
66
|
-
width:88%;
|
67
|
-
height:100%;
|
68
|
-
word-wrap:
|
69
|
-
break-word;
|
70
|
-
margin-left:162px;
|
71
|
-
/* top:0;
|
72
|
-
position:relative;
|
73
|
-
overflow:auto;*/
|
74
|
-
}
|
75
|
-
.top_bar {
|
76
|
-
width:100%;
|
77
|
-
height:60.2px;
|
78
|
-
background-color:#f1f1f1;
|
79
|
-
-moz-box-shadow: 2px 2px 13px 2px #ccc;
|
80
|
-
-webkit-box-shadow: 2px 2px 13px 2px #ccc;
|
81
|
-
box-shadow: 2px 2px 13px 2px #ccc;
|
82
|
-
}
|
83
|
-
.value {
|
84
|
-
width:100px;
|
85
|
-
float:left;
|
86
|
-
padding:15px 0 0 10px;
|
87
|
-
padding-left:170px;
|
88
|
-
}
|
89
|
-
.value_btn {
|
90
|
-
padding:5px 5px 3px 20px;
|
91
|
-
background-image:url(../assets/sprites.png);
|
92
|
-
background-position:-410px -8px;
|
93
|
-
background-repeat:no-repeat;
|
94
|
-
border:solid 1px #CCCCCC;
|
95
|
-
width:80px;
|
96
|
-
height:29px;
|
97
|
-
background-color:#efefef;
|
98
|
-
}
|
99
|
-
.value_btn:hover {
|
100
|
-
border:solid 1px #B0B0B0;
|
101
|
-
cursor:pointer;
|
102
|
-
}
|
103
|
-
.user_details {
|
104
|
-
font-family:Arial, Helvetica, sans-serif;
|
105
|
-
font-size:13px;
|
106
|
-
float:right;
|
107
|
-
width:175px;
|
108
|
-
padding-top:13px;
|
109
|
-
color:#727272;
|
110
|
-
}
|
111
|
-
.user_name {
|
112
|
-
float:left;
|
113
|
-
padding-top:7px;
|
114
|
-
}
|
115
|
-
.user_photo {
|
116
|
-
background-image:url(../assets/sprites.png);
|
117
|
-
background-position:-355px -8px;
|
118
|
-
height:30px;
|
119
|
-
width:30px;
|
120
|
-
float: left;
|
121
|
-
margin-left:10px;
|
122
|
-
}
|
123
|
-
.expand_arrow {
|
124
|
-
background-image:url(../assets/sprites.png);
|
125
|
-
background-position:-392px -11px;
|
126
|
-
width:10px;
|
127
|
-
height:12px;
|
128
|
-
float:left;
|
129
|
-
margin-left:6px;
|
130
|
-
margin-top:10px;
|
131
|
-
}
|
132
|
-
#box1 {
|
133
|
-
width:11px; height:11px;
|
134
|
-
}
|
135
|
-
#box1 > img {
|
136
|
-
position:absolute;
|
137
|
-
z-index:2000;
|
138
|
-
width:200px;
|
139
|
-
max-height:200px;
|
140
|
-
}
|
141
|
-
#box1 > a {
|
142
|
-
display: none;
|
143
|
-
position:absolute;
|
144
|
-
margin:10px 0px 0px -121px; /* margin:top right btm left; */
|
145
|
-
z-index:3000;
|
146
|
-
background: #F0F0F0;
|
147
|
-
border:#666 1px solid;
|
148
|
-
border-radius:3px;
|
149
|
-
padding:5px;
|
150
|
-
font-size:12px;
|
151
|
-
text-decoration:none;
|
152
|
-
color:#333;
|
153
|
-
height:87px;
|
154
|
-
width:127px;
|
155
|
-
}
|
156
|
-
#box1:hover a {
|
157
|
-
display: block;
|
158
|
-
}
|
159
|
-
#bg_mask {
|
160
|
-
position: absolute;
|
161
|
-
top: 0;
|
162
|
-
right: 0;
|
163
|
-
bottom: 0;
|
164
|
-
left: 0;
|
165
|
-
margin: auto;
|
166
|
-
margin-top: 0px;
|
167
|
-
z-index: 0;
|
168
|
-
visibility: hidden;
|
169
|
-
}
|
170
|
-
#frontlayer {
|
171
|
-
float:right;
|
172
|
-
margin-top: 60px;
|
173
|
-
padding :10px;
|
174
|
-
width: 300px;
|
175
|
-
height:111px;
|
176
|
-
background-color: #FFFFFF;
|
177
|
-
visibility: hidden;
|
178
|
-
border: 1px solid #CCCCCC;
|
179
|
-
z-index: 1;
|
180
|
-
margin-right: 6px;
|
181
|
-
}
|
182
|
-
.photo_user {
|
183
|
-
width:100px;
|
184
|
-
height:100px;
|
185
|
-
background-image:url(../assets/sprites.png);
|
186
|
-
background-position:-378px -59px;
|
187
|
-
float:left;
|
188
|
-
}
|
189
|
-
.user_options {
|
190
|
-
float:right;
|
191
|
-
width:170px;
|
192
|
-
font:Arial, Helvetica, sans-serif;
|
193
|
-
font-size:13px;
|
194
|
-
color: #999999;
|
195
|
-
}
|
196
|
-
.user_option_list{
|
197
|
-
width:110px;
|
198
|
-
height:20px;
|
199
|
-
padding:5px;
|
200
|
-
cursor:pointer;
|
201
|
-
}
|
202
|
-
.user_option_list:hover{
|
203
|
-
background-color:
|
204
|
-
#fabcd5;color:
|
205
|
-
#FFFFFF;}
|
206
|
-
.user_option_logout{
|
207
|
-
width:110px;
|
208
|
-
height:20px;
|
209
|
-
padding:6px;
|
210
|
-
cursor:pointer;
|
211
|
-
color: #FFFFFF;
|
212
|
-
background-color:#fabcd5;
|
213
|
-
font-weight:bold;
|
214
|
-
}
|
215
|
-
.user_option_logout:hover{
|
216
|
-
color: #FFFFFF;
|
217
|
-
background-color:#fdc7dd;
|
218
|
-
}
|
219
|
-
.arw_butt {
|
220
|
-
background-image:url(../assets/sprites.png);
|
221
|
-
background-position:-392px -11px;
|
222
|
-
width:10px;
|
223
|
-
height:12px; padding:5px;
|
224
|
-
border: none; cursor:pointer;
|
225
|
-
background-color:#efefef;
|
226
|
-
}
|
227
|
-
.content {
|
228
|
-
padding:15px;
|
229
|
-
padding-bottom: 98px;
|
230
|
-
margin-left:165px;
|
231
|
-
}
|
232
|
-
.menu_div {
|
233
|
-
width:155px;
|
234
|
-
height:25px;
|
235
|
-
background-image:url(../assets/sprites.png);
|
236
|
-
background-position:-496px -3px;
|
237
|
-
border-top:#c5c5c5 solid 1px;
|
238
|
-
padding-left:10px;
|
239
|
-
padding-top:10px;
|
240
|
-
}
|
241
|
-
.menu_div:hover {
|
242
|
-
width:168px;
|
243
|
-
background-image:url(../assets/sprites.png);
|
244
|
-
background-position:-729px -7px;
|
245
|
-
border-top:#FFFFFF solid 1px;
|
246
|
-
}
|
247
|
-
a.menu_a:link {
|
248
|
-
display:block;
|
249
|
-
width:186px;
|
250
|
-
height:35px;
|
251
|
-
text-decoration:none;
|
252
|
-
font-size:12px;
|
253
|
-
padding-top:2px;
|
254
|
-
color:#3d3c3c;
|
255
|
-
font-weight:bold;
|
256
|
-
}
|
257
|
-
a.menu_a:hover {
|
258
|
-
color:#FFFFFF;
|
259
|
-
}
|
260
|
-
a.dashboard:link {
|
261
|
-
display:block;
|
262
|
-
width:110px;
|
263
|
-
height:35px;
|
264
|
-
text-decoration:none;
|
265
|
-
font-size:12px;
|
266
|
-
padding-top:2px;
|
267
|
-
color:#3d3c3c;
|
268
|
-
font-weight:bold;
|
269
|
-
background-image:url(../assets/sprites.png);
|
270
|
-
background-position:-925px -14px;
|
271
|
-
padding-left:36px;
|
272
|
-
|
273
|
-
}
|
274
|
-
a.dashboard:hover {
|
275
|
-
color:#FFFFFF;
|
276
|
-
}
|
277
|
-
|
278
|
-
a.myprof:link {
|
279
|
-
display:block;
|
280
|
-
width:110px;
|
281
|
-
height:35px;
|
282
|
-
text-decoration:none;
|
283
|
-
font-size:12px;
|
284
|
-
padding-top:2px;
|
285
|
-
color:#3d3c3c;
|
286
|
-
font-weight:bold;
|
287
|
-
background-image:url(../assets/sprites.png);
|
288
|
-
background-position: -925px -41px;
|
289
|
-
padding-left:36px;
|
290
|
-
background-repeat:no-repeat;
|
291
|
-
|
292
|
-
}
|
293
|
-
a.myprof:hover {
|
294
|
-
color:#FFFFFF;
|
295
|
-
}
|
296
|
-
a.restpswd:link {
|
297
|
-
display:block;
|
298
|
-
width:110px;
|
299
|
-
height:35px;
|
300
|
-
text-decoration:none;
|
301
|
-
font-size:12px;
|
302
|
-
padding-top:2px;
|
303
|
-
color:#3d3c3c;
|
304
|
-
font-weight:bold;
|
305
|
-
background-image:url(../assets/sprites.png);
|
306
|
-
background-position: -925px -66px;
|
307
|
-
padding-left:36px;
|
308
|
-
background-repeat:no-repeat;
|
309
|
-
|
310
|
-
}
|
311
|
-
a.restpswd:hover {
|
312
|
-
color:#FFFFFF;
|
313
|
-
}
|
314
|
-
|
315
|
-
a.preview:link {
|
316
|
-
display:block;
|
317
|
-
width:110px;
|
318
|
-
height:35px;
|
319
|
-
text-decoration:none;
|
320
|
-
font-size:12px;
|
321
|
-
padding-top:2px;
|
322
|
-
color:#3d3c3c;
|
323
|
-
font-weight:bold;
|
324
|
-
background-image:url(../assets/sprites.png);
|
325
|
-
background-position: -925px -92px;
|
326
|
-
padding-left:36px;
|
327
|
-
background-repeat:no-repeat;
|
328
|
-
|
329
|
-
}
|
330
|
-
a.preview:hover {
|
331
|
-
color:#FFFFFF;
|
332
|
-
}
|
333
|
-
a.final:link {
|
334
|
-
display:block;
|
335
|
-
width:110px;
|
336
|
-
height:35px;
|
337
|
-
text-decoration:none;
|
338
|
-
font-size:12px;
|
339
|
-
padding-top:2px;
|
340
|
-
color:#3d3c3c;
|
341
|
-
font-weight:bold;
|
342
|
-
background-image:url(../assets/sprites.png);
|
343
|
-
background-position: -925px -116px;
|
344
|
-
padding-left:36px;
|
345
|
-
background-repeat:no-repeat;
|
346
|
-
|
347
|
-
}
|
348
|
-
a.final:hover {
|
349
|
-
color:#FFFFFF;
|
350
|
-
}
|
351
|
-
|
352
|
-
a.self:link {
|
353
|
-
display:block;
|
354
|
-
width:110px;
|
355
|
-
height:35px;
|
356
|
-
text-decoration:none;
|
357
|
-
font-size:12px;
|
358
|
-
padding-top:2px;
|
359
|
-
color:#3d3c3c;
|
360
|
-
font-weight:bold;
|
361
|
-
background-image:url(../assets/sprites.png);
|
362
|
-
background-position: -925px -140px;
|
363
|
-
padding-left:36px;
|
364
|
-
background-repeat:no-repeat;
|
365
|
-
|
366
|
-
}
|
367
|
-
a.self:hover {
|
368
|
-
color:#FFFFFF;
|
369
|
-
}
|
370
|
-
a.more:link {
|
371
|
-
display:block;
|
372
|
-
width:110px;
|
373
|
-
height:35px;
|
374
|
-
text-decoration:none;
|
375
|
-
font-size:12px;
|
376
|
-
padding-top:2px;
|
377
|
-
color:#3d3c3c;
|
378
|
-
font-weight:bold;
|
379
|
-
background-image:url(../assets/sprites.png);
|
380
|
-
background-position: -925px -165px;
|
381
|
-
padding-left:36px;
|
382
|
-
background-repeat:no-repeat;
|
383
|
-
|
384
|
-
}
|
385
|
-
a.more:hover {
|
386
|
-
color:#FFFFFF;
|
387
|
-
}
|
388
|
-
a.mng:link {
|
389
|
-
display:block;
|
390
|
-
width:110px;
|
391
|
-
height:35px;
|
392
|
-
text-decoration:none;
|
393
|
-
font-size:12px;
|
394
|
-
padding-top:2px;
|
395
|
-
color:#3d3c3c;
|
396
|
-
font-weight:bold;
|
397
|
-
background-image:url(../assets/sprites.png);
|
398
|
-
background-position: -925px -191px;
|
399
|
-
padding-left:36px;
|
400
|
-
background-repeat:no-repeat;
|
401
|
-
|
402
|
-
}
|
403
|
-
a.mng:hover {
|
404
|
-
color:#FFFFFF;
|
405
|
-
}
|
406
|
-
.dash_board_caption{
|
407
|
-
background-image:url(../assets/sprites.png);
|
408
|
-
background-position: -128px -191px;
|
409
|
-
height: 36px;
|
410
|
-
width: 42px;
|
411
|
-
}
|
412
|
-
h1.captn {
|
413
|
-
font-size: 19px;
|
414
|
-
color: #666666;
|
415
|
-
padding-left: 48px;
|
416
|
-
padding-top: 12px;
|
417
|
-
float: left;
|
418
|
-
font-weight: normal;
|
419
|
-
}
|
420
|
-
.black_lay{
|
421
|
-
position:absolute;
|
422
|
-
z-index:2;
|
423
|
-
width:100%; height:100%;
|
424
|
-
background-image:url(../assets/black.png);
|
425
|
-
position:fixed;}
|
426
|
-
.giff_img {
|
427
|
-
display: block;
|
428
|
-
margin-left: auto;
|
429
|
-
margin-right: auto;
|
430
|
-
margin-top:25%;
|
431
|
-
}
|
432
|
-
.save_btn{
|
433
|
-
background: #f763a1; /* Old browsers */
|
434
|
-
background: -moz-linear-gradient(top, #f763a1 0%, #e32981 87%); /* FF3.6+ */
|
435
|
-
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f763a1), color-stop(87%,#e32981)); /* Chrome,Safari4+ */
|
436
|
-
background: -webkit-linear-gradient(top, #f763a1 0%,#e32981 87%); /* Chrome10+,Safari5.1+ */
|
437
|
-
background: -o-linear-gradient(top, #f763a1 0%,#e32981 87%); /* Opera 11.10+ */
|
438
|
-
background: -ms-linear-gradient(top, #f763a1 0%,#e32981 87%); /* IE10+ */
|
439
|
-
background: linear-gradient(to bottom, #f763a1 0%,#e32981 87%); /* W3C */
|
440
|
-
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f763a1', endColorstr='#e32981',GradientType=0 ); /* IE6-9 */
|
441
|
-
border:none;
|
442
|
-
padding:3px 10px 5px 10px;
|
443
|
-
border-radius:10px 10px 10px 10px;
|
444
|
-
color:#FFFFFF;
|
445
|
-
float:right; z-index:5;
|
446
|
-
}
|
447
|
-
.save_btn:hover{
|
448
|
-
color: #F9F9F9;
|
449
|
-
cursor:pointer;
|
450
|
-
}
|
451
|
-
.cmts {
|
452
|
-
font-style:italic;
|
453
|
-
font-weight:normal;
|
454
|
-
}
|
455
|
-
.cmt_txt_ar {
|
456
|
-
max-width:200px;}
|
457
|
-
.footer {
|
458
|
-
background-color: #FF0000;
|
459
|
-
height:40px;
|
460
|
-
background-color:#f1f1f1;
|
461
|
-
font-family:Arial, Helvetica, sans-serif;
|
462
|
-
font-size:12px;
|
463
|
-
color:#727272;
|
464
|
-
bottom:0;
|
465
|
-
width:100%;
|
466
|
-
position: fixed;
|
467
|
-
}
|
468
|
-
.copy_right {
|
469
|
-
float:left;
|
470
|
-
padding-top:15px;
|
471
|
-
padding-left:180px;
|
472
|
-
}
|
473
|
-
.copy_right_ruby {
|
474
|
-
float:right;
|
475
|
-
padding-top:15px;
|
476
|
-
padding-right:20px;
|
477
|
-
}
|