cmstyle 0.0.7 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
|
|
1
|
+
footer class="footer"
|
2
|
+
p class="pull-right"
|
3
|
+
| #{APPLICATION_NAME} #{APPLICATION_VERSION} (#{ link_to "Rev. xyz", "revision.log", :data => {:toggle=>"modal", :target=>"#Revision"}}) - Database (#{APPLICATION_DATABASE})
|
4
|
+
p
|
5
|
+
| Novartis Institutes for BioMedical Research © #{Time.now.strftime("%Y")}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
div class="navbar navbar-fixed-top"
|
2
|
+
div class="navbar-inner"
|
3
|
+
div class="container-fluid"
|
4
|
+
a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"
|
5
|
+
span class="icon-bar"
|
6
|
+
span class="icon-bar"
|
7
|
+
span class="icon-bar"
|
8
|
+
a id="brand" class="brand" href="/#"
|
9
|
+
img src="#{asset_path 'novartis-micro.png'}" height="25px"style="margin-top:-4px;" #{APPLICATION_NAME}
|
10
|
+
div class="nav-collapse"
|
11
|
+
ul class="nav pull-right"
|
12
|
+
= form_tag("/search", :method => "get", :class => 'navbar-search pull-left') do
|
13
|
+
div class="input-append"
|
14
|
+
= text_field_tag 'search-query', '', :class => "span2", :placeholder => 'Suchen...'
|
15
|
+
button type="submit" class="btn"
|
16
|
+
i class="icon-search icon-black"
|
17
|
+
li id="fat-menu" class="dropdown"
|
18
|
+
a href="#" class="dropdown-toggle" data-toggle="dropdown"
|
19
|
+
i class="icon-lock icon-black"
|
20
|
+
| Admin
|
21
|
+
b class="caret"
|
22
|
+
ul class="dropdown-menu"
|
23
|
+
li
|
24
|
+
a href="#settings"
|
25
|
+
i class="icon-eye-open icon-black"
|
26
|
+
| Settings
|
27
|
+
li id="fat-menu" class="dropdown"
|
28
|
+
a href="#" class="dropdown-toggle" data-toggle="dropdown"
|
29
|
+
i class="icon-question-sign icon-black"
|
30
|
+
| Help
|
31
|
+
b class="caret"
|
32
|
+
ul class="dropdown-menu"
|
33
|
+
li
|
34
|
+
a data-toggle="modal" id="contact" href="#Contact"
|
35
|
+
i class="icon-envelope icon-black"
|
36
|
+
| Contact
|
37
|
+
li
|
38
|
+
a data-toggle="modal" href="#About"
|
39
|
+
i class="icon-eye-open icon-black"
|
40
|
+
| About
|
@@ -0,0 +1,62 @@
|
|
1
|
+
div class="modal hide fade" id="Contact"
|
2
|
+
div class="modal-header"
|
3
|
+
<button class="close" data-dismiss="modal">×</button>
|
4
|
+
h3
|
5
|
+
== "Contact"
|
6
|
+
div style="" id="notice"
|
7
|
+
|
8
|
+
div class="modal-body"
|
9
|
+
= form_for @message, :remote => true, :url => contact_path, :html => { :class => 'form-horizontal', :id => 'contactform' } do |form|
|
10
|
+
- if @message.errors.any?
|
11
|
+
div id="errorExplanation"
|
12
|
+
h2 #{pluralize(@message.errors.count, "error")} prohibited this post from being saved:
|
13
|
+
ul
|
14
|
+
= @message.errors.full_messages.each do |msg|
|
15
|
+
li
|
16
|
+
= msg
|
17
|
+
fieldset
|
18
|
+
div class="control-group"
|
19
|
+
= form.label :name, :class => 'control-label', :for => :name
|
20
|
+
div class="controls"
|
21
|
+
= form.text_field :name, :class => 'required input-xlarge', :minlength => 2
|
22
|
+
div class="control-group"
|
23
|
+
= form.label :email, :class => 'control-label', :for => :email
|
24
|
+
div class="controls"
|
25
|
+
= form.email_field :email, :class => 'required email input-xlarge'
|
26
|
+
div class="control-group"
|
27
|
+
= form.label 'Subject', :class => 'control-label', :for => :subject
|
28
|
+
div class="controls"
|
29
|
+
= form.text_field :subject, :class => 'required input-xlarge', :minlength => 2
|
30
|
+
div class="control-group"
|
31
|
+
= form.label 'Message', :class => 'control-label', :for => :body
|
32
|
+
div class="controls"
|
33
|
+
= form.text_area :body, :class => 'required input-xlarge', :size => '10x5', :minlength => 10
|
34
|
+
|
35
|
+
div class="modal-footer"
|
36
|
+
<a href="#home" class="btn" data-dismiss="modal">Close</a>
|
37
|
+
|
38
|
+
|
39
|
+
div class="modal hide fade" id="Revision"
|
40
|
+
div class="modal-header"
|
41
|
+
<button class="close" data-dismiss="modal">×</button>
|
42
|
+
h3
|
43
|
+
== "Changelog"
|
44
|
+
div class="modal-body"
|
45
|
+
|
46
|
+
div class="modal-footer"
|
47
|
+
<a href="#home" class="btn" data-dismiss="modal">Close</a>
|
48
|
+
|
49
|
+
|
50
|
+
div id="About" class="modal hide fade" tabindex="-1" role="dialog"
|
51
|
+
div class="modal-header"
|
52
|
+
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
53
|
+
h3 id="myModalLabel"
|
54
|
+
== "Compound Management"
|
55
|
+
div class="modal-body"
|
56
|
+
p
|
57
|
+
== "Compound Management Web Applications & Tools"
|
58
|
+
br
|
59
|
+
p
|
60
|
+
== "Developed by Thomas Steiner & Patrick Kaddu"
|
61
|
+
div class="modal-footer"
|
62
|
+
<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
|
@@ -2151,7 +2151,7 @@ table th[class*="span"],
|
|
2151
2151
|
*margin-right: .3em;
|
2152
2152
|
line-height: 14px;
|
2153
2153
|
vertical-align: text-top;
|
2154
|
-
background-image: url("
|
2154
|
+
background-image: url("#{asset_path 'glyphicons-halflings.png'});
|
2155
2155
|
background-position: 14px 14px;
|
2156
2156
|
background-repeat: no-repeat;
|
2157
2157
|
}
|
@@ -2171,7 +2171,7 @@ table th[class*="span"],
|
|
2171
2171
|
.dropdown-menu > .active > a > [class*=" icon-"],
|
2172
2172
|
.dropdown-submenu:hover > a > [class^="icon-"],
|
2173
2173
|
.dropdown-submenu:hover > a > [class*=" icon-"] {
|
2174
|
-
background-image: url("
|
2174
|
+
background-image: url("#{asset_path 'glyphicons-halflings-white.png'}");
|
2175
2175
|
}
|
2176
2176
|
|
2177
2177
|
.icon-glass {
|
data/lib/cmstyle/version.rb
CHANGED
metadata
CHANGED
@@ -1,39 +1,49 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: cmstyle
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 11
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 10
|
10
|
+
version: 0.0.10
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Thomas Steiner
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2012-11-30 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
15
21
|
name: json
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ! '>='
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '0'
|
22
|
-
type: :development
|
23
22
|
prerelease: false
|
24
|
-
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
24
|
none: false
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 3
|
29
|
+
segments:
|
30
|
+
- 0
|
31
|
+
version: "0"
|
32
|
+
type: :development
|
33
|
+
version_requirements: *id001
|
30
34
|
description: CM specific styles
|
31
|
-
email:
|
35
|
+
email:
|
32
36
|
- thomas.steiner@ikey.ch
|
33
37
|
executables: []
|
38
|
+
|
34
39
|
extensions: []
|
40
|
+
|
35
41
|
extra_rdoc_files: []
|
36
|
-
|
42
|
+
|
43
|
+
files:
|
44
|
+
- lib/app/views/layouts/_footer.slim
|
45
|
+
- lib/app/views/layouts/_header.slim
|
46
|
+
- lib/app/views/layouts/_modals.slim
|
37
47
|
- lib/assets/images/glyphicons-halflings-white.png
|
38
48
|
- lib/assets/images/glyphicons-halflings.png
|
39
49
|
- lib/assets/javascripts/bootstrap.js
|
@@ -46,26 +56,36 @@ files:
|
|
46
56
|
- lib/cmstyle.rb
|
47
57
|
homepage: http://github.com/thomis/cmstyle
|
48
58
|
licenses: []
|
59
|
+
|
49
60
|
post_install_message:
|
50
61
|
rdoc_options: []
|
51
|
-
|
62
|
+
|
63
|
+
require_paths:
|
52
64
|
- lib
|
53
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
65
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
54
66
|
none: false
|
55
|
-
requirements:
|
56
|
-
- -
|
57
|
-
- !ruby/object:Gem::Version
|
58
|
-
|
59
|
-
|
67
|
+
requirements:
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
hash: 3
|
71
|
+
segments:
|
72
|
+
- 0
|
73
|
+
version: "0"
|
74
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
60
75
|
none: false
|
61
|
-
requirements:
|
62
|
-
- -
|
63
|
-
- !ruby/object:Gem::Version
|
64
|
-
|
76
|
+
requirements:
|
77
|
+
- - ">="
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
hash: 3
|
80
|
+
segments:
|
81
|
+
- 0
|
82
|
+
version: "0"
|
65
83
|
requirements: []
|
84
|
+
|
66
85
|
rubyforge_project:
|
67
|
-
rubygems_version: 1.8.
|
86
|
+
rubygems_version: 1.8.5
|
68
87
|
signing_key:
|
69
88
|
specification_version: 3
|
70
89
|
summary: CM specific styles
|
71
90
|
test_files: []
|
91
|
+
|