Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert new site theme to Bootstrap #353

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
152 commits
Select commit Hold shift + click to select a range
01d4015
Check in front-end dependencies
areynold Sep 18, 2015
ddc2bed
Enable multiple sass load-dirs
areynold Sep 18, 2015
e4746f4
Create initial sass stylesheet
areynold Sep 18, 2015
ef35f92
Import bootstrap styles
areynold Sep 18, 2015
42479ec
Move old css file to avoid conflict
areynold Sep 18, 2015
b2bad75
Fix scss/jekyll syntax errors
areynold Sep 18, 2015
3daf22c
Add page language to header
areynold Sep 18, 2015
57b7973
Add meta viewport
areynold Sep 18, 2015
a71fbf8
Add navbar classes to nav element
areynold Sep 18, 2015
75a47d9
Lay out color bar
areynold Sep 19, 2015
4bc5163
Use twbs classes for navbar
areynold Sep 19, 2015
28eaebf
Include twbs.js in header
areynold Sep 19, 2015
3006a1a
Merge asset directories
areynold Sep 19, 2015
3dd27bb
Fix nav syntax
areynold Sep 21, 2015
e10b259
DEV: stash big directories to speed build
areynold Sep 22, 2015
96a8117
Position language switcher in nav
areynold Sep 22, 2015
b48affd
Override colors on top level nav - CHECK FOR VAR
areynold Sep 22, 2015
e5079b0
Duplicate twbs variables for override
areynold Sep 22, 2015
27dd8e6
Use variables for .nav-plain-text
areynold Sep 22, 2015
70d1dee
Add custom typography stylesheet
areynold Sep 22, 2015
1e8566c
Use AsapRegular
areynold Sep 22, 2015
4719fb5
Disable unused vendor variables
areynold Sep 22, 2015
86c3493
Remove duplicate home link
areynold Sep 22, 2015
7ef6615
Match .navbar-brand font size to commtech template
areynold Sep 22, 2015
94ca9ac
Don't round corners by default
areynold Sep 22, 2015
0036a85
turn off header image temporarily
areynold Sep 22, 2015
199fef1
Remove unused code
areynold Sep 24, 2015
0a93254
Rename navbar include for accuracy
areynold Sep 24, 2015
2f3add6
Re-indent header
areynold Sep 24, 2015
20a128e
use header tag
areynold Sep 24, 2015
b9c230a
Use twbs grid for main header
areynold Sep 24, 2015
3e5107f
Recenter header text/image
areynold Sep 24, 2015
8e73bba
Add arrow-down under header
areynold Sep 24, 2015
94312e7
Pad bottom of header
areynold Sep 24, 2015
a8796d9
Remove width param from layouts header include
areynold Sep 24, 2015
412a8d0
Reforemat front layout
areynold Sep 24, 2015
7237893
Add todo note re: front page tiles
areynold Sep 24, 2015
d66c090
Add note for fine-tuning header styles
areynold Sep 25, 2015
f34c39a
Convert front page grid to twbs
areynold Sep 25, 2015
8bc1e9c
Put borders on tiles
areynold Sep 25, 2015
68ccfad
Import old tile css
areynold Sep 28, 2015
f769f0d
Clean up tile styles
areynold Sep 28, 2015
66ddcc5
Improve tile media rules
areynold Sep 28, 2015
0c9acf2
Use twbs vars in tile media rules
areynold Sep 28, 2015
a9ec803
Update blog link styles
areynold Sep 28, 2015
8f65e47
Prep footer for new styles
areynold Sep 28, 2015
e30224a
Fix footer arrow
areynold Sep 28, 2015
b665523
Import basic body styles
areynold Sep 28, 2015
4186acf
Prevent link style conflict
areynold Sep 28, 2015
9eb9ac9
Remove unused script tag
areynold Sep 29, 2015
1fedf7c
Remove unused cc image
areynold Sep 29, 2015
a7cfc64
Fix comment syntax
areynold Sep 29, 2015
821288d
Pull blog link left
areynold Sep 29, 2015
d3faae1
Add issue button styles
areynold Sep 29, 2015
5a55107
Apply twbs styles to default layout
areynold Sep 29, 2015
f7feb7a
Enable sidemenu styles
areynold Sep 29, 2015
64c3300
Disable sidemenu border bottom
areynold Sep 29, 2015
9a5b0aa
Set sidebar font weight
areynold Sep 29, 2015
b0c9d63
Set sidemenu heading
areynold Sep 29, 2015
d516e71
Condense sidemenu styles
areynold Sep 29, 2015
69237db
Remove gap between heading and nav
areynold Sep 29, 2015
4f0df57
re-enable remaining sidemenu styles
areynold Sep 29, 2015
3baa9ee
Fix navbar home link
areynold Sep 29, 2015
faa2efa
Add twbs to downloads menu
areynold Sep 29, 2015
4094089
Fix broken android download link
areynold Sep 29, 2015
eb17d90
add container to downloads layout
areynold Sep 29, 2015
c6e5b2e
Begin warning label styles
areynold Sep 29, 2015
6d1458a
Begin warning label styles
areynold Sep 29, 2015
b997ae4
Use twbs mixin for alert generation
areynold Sep 29, 2015
c4c6727
Use downloads layout for /download
areynold Sep 29, 2015
ca4515c
Extend .alert for warning label
areynold Sep 29, 2015
00e53af
Missed download layout change
areynold Sep 29, 2015
2dde29b
Pad warning label
areynold Sep 29, 2015
73203c7
Retag android download
areynold Sep 29, 2015
66dd05f
Apply twbs to android download
areynold Sep 29, 2015
e6cca78
Move warning label to include; apply to template
areynold Sep 29, 2015
58687cf
Change heading level
areynold Sep 29, 2015
815c474
Update download table styles
areynold Sep 29, 2015
d391c95
retag router download
areynold Sep 30, 2015
9d1e7a0
Docs menu to twbs
areynold Sep 30, 2015
763a7cd
apply twbs to cck submenus
areynold Sep 30, 2015
e0aface
minor cleanup, build docs
areynold Sep 30, 2015
32c2af4
Use img-responsive on cck
areynold Sep 30, 2015
c559fa4
Use img-responsive in cck
areynold Sep 30, 2015
8d7dd0d
apply img-responsive to get-started
areynold Sep 30, 2015
d809e2c
Switch server setup layout
areynold Sep 30, 2015
9a55971
Apply img-responsive to guides-howtos
areynold Sep 30, 2015
5bf56b5
Apply table formatting to supported devices
areynold Sep 30, 2015
5ee6aec
Fix nil value error in hig frontmatter
areynold Sep 30, 2015
f76edaa
Re-enable blog posts and translations
areynold Sep 30, 2015
3db7929
restructure remaining layouts
areynold Oct 1, 2015
a278903
Remove conflicting row class
areynold Oct 1, 2015
40000bc
Fix blog tile positioning
areynold Oct 1, 2015
9ebf716
Remove duplicate heading
areynold Oct 1, 2015
dc46394
WORKAROUND: Manually grid _include content
areynold Oct 1, 2015
bb460ed
Remove mixed twbs from front page
areynold Oct 1, 2015
9c69948
Increase main content top/bottom margins
areynold Oct 1, 2015
3f16cce
Set basic blog sidebar styles
areynold Oct 1, 2015
e156580
Create directories and rules for scss organization
areynold Oct 2, 2015
a3875a4
Create blog list group
areynold Oct 2, 2015
e165adc
Badgify tag cloud
areynold Oct 2, 2015
a074c56
Clean up blog sidebar classes
areynold Oct 2, 2015
7e3fd03
Remove heading colons
areynold Oct 2, 2015
1f56a80
Disable obviously unused twbs modules
areynold Oct 2, 2015
537aa20
Disable additional unused twbs imports
areynold Oct 2, 2015
7e19e6e
Component animations used in menu collapse
areynold Oct 2, 2015
48f60c9
Begin organizing sass styles
areynold Oct 19, 2015
232e652
Move header, footer sass to layout
areynold Oct 19, 2015
3657e8e
Coarsely organize mixed stylesheets
areynold Oct 19, 2015
78f4b7f
Remove disabled import
areynold Oct 19, 2015
485d241
Reorganize style imports
areynold Oct 19, 2015
a77e8d5
Rename _oti stylesheet
areynold Oct 19, 2015
55b0e1e
Split sidemenu module from body
areynold Oct 19, 2015
f03e533
Delete unused styles
areynold Oct 19, 2015
fa519c5
Clean up variable stylesheets
areynold Oct 19, 2015
3464bbc
Pull navbar modules out of header file
areynold Oct 19, 2015
44f90ad
Fix readme typo
areynold Oct 19, 2015
e1e5c22
Add untracked sass file
areynold Oct 19, 2015
7b903ac
Merge branch 'staging' into theme-update/bootstrap-bower
areynold Oct 26, 2015
98b779e
Fix scss frontmatter
areynold Oct 26, 2015
be2dfc9
Switch es blog index layout
areynold Oct 26, 2015
e673c05
Remove es merge conflict remnants
areynold Oct 26, 2015
8283656
Untabify index
areynold Oct 28, 2015
7afb4e9
Select posts by page language
areynold Oct 28, 2015
ef90ca9
Begin converting es frontpage
areynold Nov 2, 2015
ecafbeb
Fix conversion errors in es/index
areynold Nov 3, 2015
86b0489
remove english grid caption
areynold Nov 3, 2015
8e870cb
Switch to new es blog pages
areynold Nov 3, 2015
aa1f69c
Apply twbs styles to es docs
areynold Nov 4, 2015
b550326
add twbs classes to spanish cck
areynold Nov 5, 2015
44f10b5
remove old lockfiles
areynold Nov 6, 2015
c896f28
Add twbs classes to es cck
areynold Nov 6, 2015
5a5abc1
remove lockfile
areynold Nov 6, 2015
76f3dc0
Switch es download template
areynold Nov 6, 2015
dacb1db
create dir for translated includes
areynold Nov 6, 2015
69e189e
Move en download includes to subdir
areynold Nov 6, 2015
eb272e8
Use lang switch on download includes
areynold Nov 6, 2015
39f2b42
Move es warning label to include
areynold Nov 6, 2015
12ce809
Request include translation
areynold Nov 6, 2015
89bb525
Convert es download to twbs
areynold Nov 6, 2015
af0fc13
Remove lockfiles
areynold Nov 10, 2015
e69eaf3
Remove extra div
areynold Nov 10, 2015
8bf1d0c
Convert fr about to twbs
areynold Nov 10, 2015
aca7c12
Update fr blog classes
areynold Nov 10, 2015
5042ff0
convert fr hig to twbs
areynold Nov 10, 2015
d95cfd8
Bulk import untranslated fr/docs
areynold Nov 11, 2015
f2b5aae
Add twbs classes to fr cck
areynold Nov 11, 2015
5a1f595
Finish converting fr/docs/ to twbs
areynold Nov 11, 2015
7a6016f
Create fr main index (untranslated)
areynold Nov 13, 2015
dd74e77
Note use of bootstrap and sass
areynold Nov 13, 2015
ae33928
Fix broken navbar link
areynold Nov 13, 2015
b31366a
Remove unused stylesheet
areynold Nov 13, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ The three core branches of commotion-docs are "test", "staging" and "master", wh
## Contribute Using Feature Branches
Use standard feature branches for updates to test and staging. Create a sub-branch from "staging" if you're working on a content change, and from "test" if you're working on a template or CSS.

### Styling Pages

The Commotion site uses [Bootstrap](http://getbootstrap.com/) as a stylesheet base and [SASS](http://sass-lang.com/) for customization. Most common styles are already available as css classes, and are documented at [http://getbootstrap.com]. Commotion-specific styles are stored as modules in the `/_sass` directory. New SASS modules must be added to `/css/Main.scss` in order to be built when the site is published.

## Testing Updates, Pull Requests from Feature branch to Staging/Test
The best way to preview feature branch changes is to preview the site using a local Jekyll installation as described above. When your work is ready, push your feature branch to github and create a pull request for staging or test.

Expand Down
6 changes: 6 additions & 0 deletions commotionwireless.net/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,9 @@ permalink: /:categories/blog/:year/:month/:day/:title
tag_dir: /blog/tag
# paginate: 10
# paginate_path: "blog/page-:num"

sass:
load_paths:
- assets/bower_components/bootstrap-sass/assets/stylesheets
- _sass

2 changes: 1 addition & 1 deletion commotionwireless.net/_includes/about_menu.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div id="subsection-menu">
<h3 class="heading"><a href="/about" class="simple">About</a></h3>
<ul>
<ul class="nav nav-stacked">
<li {% if page.url == '/about/' %} class="active" {% endif %}><a href="/about">About Commotion</a></li>
<li {% if page.url contains '/about/contributors' %} class="active" {% endif %}><a href="/about/contributors">Commotion Contributors</a></li>
<li {% if page.url contains '/about/faq' %} class="active" {% endif %}><a href="/about/faq">FAQ</a></li>
Expand Down
7 changes: 2 additions & 5 deletions commotionwireless.net/_includes/blog-sidebar-menu.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
<div class="post-calendar">
{% include posts-by-date-min.html %}
</div>

{% include site-tag-cloud.html %}
{% include posts-by-date-min.html %}
{% include site-tag-cloud.html %}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<ul class="submenu">
<ul class="submenu nav">
<li {% if page.url contains '/docs/cck/building-mounting/plan-wireless-sites' %} class="active" {% endif %}><a href="{% if page.lang != 'en' %}/{{ page.lang }}{% endif %}/docs/cck/building-mounting/plan-wireless-sites">Plan Wireless Sites</a></li>
<li {% if page.url contains '/docs/cck/building-mounting/gather-tools-and-wireless-equipment' %} class="active" {% endif %}><a href="{% if page.lang != 'en' %}/{{ page.lang }}{% endif %}/docs/cck/building-mounting/gather-tools-and-wireless-equipment">Gather Tools and Equipment</a></li>
<li {% if page.url contains '/docs/cck/building-mounting/learn-rooftop-basics' %} class="active" {% endif %}><a href="{% if page.lang != 'en' %}/{{ page.lang }}{% endif %}/docs/cck/building-mounting/learn-rooftop-basics">Learn Rooftop Basics</a></li>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<ul class="submenu">
<ul class="submenu nav">
<li {% if page.url contains '/docs/cck/installing-configuring/what-is-a-firmware' %} class="active" {% endif %}><a href="{% if page.lang != 'en' %}/{{ page.lang }}{% endif %}/docs/cck/installing-configuring/what-is-a-firmware">What in the world is a firmware?</a></li>
<li {% if page.url contains '/docs/cck/installing-configuring/install-ubiquiti-router' %} class="active" {% endif %}><a href="{% if page.lang != 'en' %}/{{ page.lang }}{% endif %}/docs/cck/installing-configuring/install-ubiquiti-router">Install on Ubiquiti AirMax</a></li>
<li {% if page.url contains '/docs/cck/installing-configuring/install-unfi-router' %} class="active" {% endif %}><a href="{% if page.lang != 'en' %}/{{ page.lang }}{% endif %}/docs/cck/installing-configuring/install-unifi-router">Install on Ubiquiti UniFi</a></li>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<ul class="submenu">
<ul class="submenu nav">
<li {% if page.url contains '/docs/cck/local-applications/what-is-an-app' %} class="active" {% endif %}><a href="{% if page.lang != 'en' %}/{{ page.lang }}{% endif %}/docs/cck/local-applications/what-is-an-app">What is an app?</a></li>
<li {% if page.url contains '/docs/cck/local-applications/locating-a-local-server' %} class="active" {% endif %}><a href="{% if page.lang != 'en' %}/{{ page.lang }}{% endif %}/docs/cck/local-applications/locating-a-local-server">Locating a Local Server</a></li>
</ul>
2 changes: 1 addition & 1 deletion commotionwireless.net/_includes/docs_cck_mainmenu.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<ul class="submenu">
<ul class="submenu nav">
<li {% if page.url contains '/docs/cck/planning' %} class="active" {% endif %}><a href="{% if page.lang != 'en' %}/{{ page.lang }}{% endif %}/docs/cck/planning">Planning</a>
{% if page.sub_section contains 'cck-planning' %}
{% include docs_cck_planning_menu.html %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<ul class="submenu">
<ul class="submenu nav">
<li {% if page.url contains '/docs/cck/networking/intro-to-mesh' %} class="active" {% endif %}><a href="{% if page.lang != 'en' %}/{{ page.lang }}{% endif %}/docs/cck/networking/intro-to-mesh">Introduction to Mesh</a></li>
<li {% if page.url contains '/docs/cck/networking/learn-networking-basics' %} class="active" {% endif %}><a href="{% if page.lang != 'en' %}/{{ page.lang }}{% endif %}/docs/cck/networking/learn-networking-basics">Learn Networking Basics</a></li>
<li {% if page.url contains '/docs/cck/networking/learn-wireless-basics' %} class="active" {% endif %}><a href="{% if page.lang != 'en' %}/{{ page.lang }}{% endif %}/docs/cck/networking/learn-wireless-basics">Learn Wireless Basics</a></li>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<ul class="submenu">
<ul class="submenu nav">
<li {% if page.url contains '/docs/cck/planning/design-your-network-every-network-tells-story' %} class="active" {% endif %}><a href="{% if page.lang != 'en' %}/{{ page.lang }}{% endif %}/docs/cck/planning/design-your-network-every-network-tells-story">Design Your Network</a></li>
<li {% if page.url contains '/docs/cck/planning/survey-your-neighbors' %} class="active" {% endif %}><a href="{% if page.lang != 'en' %}/{{ page.lang }}{% endif %}/docs/cck/planning/survey-your-neighbors">Survey Your Neighbors</a></li>
<li {% if page.url contains '/docs/cck/planning/get-word-out-flyer-design' %} class="active" {% endif %}><a href="{% if page.lang != 'en' %}/{{ page.lang }}{% endif %}/docs/cck/planning/get-word-out-flyer-design">Get the Word Out: Flyer Design</a></li>
Expand Down
26 changes: 13 additions & 13 deletions commotionwireless.net/_includes/docs_menu.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<div id="subsection-menu">
<h3 class="heading"><a href="/{% if page.lang != 'en' %}{{ page.lang }}/{% endif %}docs" class="simple">Documentation</a></h3>
<ul>
<li {% if page.url contains '/docs/get-started' %} class="active" {% endif %}><a href="/docs/get-started">Get Started</a></li>
<li {% if page.url contains '/docs/get-involved' %} class="active" {% endif %}><a href="/docs/get-involved">Get Involved</a></li>
<li {% if page.url contains '/docs/supported-devices' %} class="active" {% endif %}><a href="/docs/supported-devices">Supported Devices</a></li>
<li {% if page.url contains '/docs/guides-howtos' %} class="active" {% endif %}><a href="/docs/guides-howtos">Guides and How-tos</a></li>
<li {% if page.url contains '/docs/cck' %} class="active" {% endif %}><a href="/docs/cck">Commotion Construction Kit</a>
{% if page.sub_section contains 'cck' %}
{% include docs_cck_mainmenu.html %}
{% endif %}
</li>
<li {% if page.url contains '/docs/localization' %} class="active" {% endif %}><a href="/docs/localization">Commotion Localization</a></li>
</ul>
<h3 class="heading"><a href="/{% if page.lang != 'en' %}{{ page.lang }}/{% endif %}docs" class="simple">Documentation</a></h3>
<ul class="nav nav-stacked">
<li {% if page.url contains '/docs/get-started' %} class="active" {% endif %}><a href="/docs/get-started">Get Started</a></li>
<li {% if page.url contains '/docs/get-involved' %} class="active" {% endif %}><a href="/docs/get-involved">Get Involved</a></li>
<li {% if page.url contains '/docs/supported-devices' %} class="active" {% endif %}><a href="/docs/supported-devices">Supported Devices</a></li>
<li {% if page.url contains '/docs/guides-howtos' %} class="active" {% endif %}><a href="/docs/guides-howtos">Guides and How-tos</a></li>
<li {% if page.url contains '/docs/cck' %} class="active" {% endif %}><a href="/docs/cck">Commotion Construction Kit</a>
{% if page.sub_section contains 'cck' %}
{% include docs_cck_mainmenu.html %}
{% endif %}
</li>
<li {% if page.url contains '/docs/localization' %} class="active" {% endif %}><a href="/docs/localization">Commotion Localization</a></li>
</ul>
</div>
2 changes: 1 addition & 1 deletion commotionwireless.net/_includes/downloads_menu.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div id="subsection-menu">
<h3 class="heading"><a href="/download" class="simple">Download</a></h3>
<ul>
<ul class="nav nav-stacked">
<li {% if page.url contains '/download/index.html' %} class="active" {% endif %}><a href="/download">Download Commotion</a></li>
<li {% if page.url contains '/download/routers' %} class="active" {% endif %}><a href="/download/routers">Routers</a></li>
<li {% if page.url contains '/download/phones' %} class="active" {% endif %}><a href="/download/android">Phones</a></li>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="verifying-downloads-block">
<h4>Verifying Downloads</h4>
<h2>Verifying Downloads</h2>
<div>
<p>We use the best practice of using GPG signatures to sign our downloads. This allows you to verify that the files you download here were released by us if you choose to.</p>

Expand Down
17 changes: 17 additions & 0 deletions commotionwireless.net/_includes/en/warning-label.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<div class="warning-label">
<div class="alert alert-warning-label">
<h2><i class="fa fa-exclamation-triangle"></i> WARNING</h2>
</div>

<div class="warning-bottom">
<h2>Commotion</h2>

<ul>
<li><a href="http://commotionwireless.net/understanding-commotions-warning-label#anonymity">Cannot hide your identity</a></li>
<li><a href="http://commotionwireless.net/understanding-commotions-warning-label#internet">Does not prevent monitoring of internet traffic</a></li>
<li><a href="http://commotionwireless.net/understanding-commotions-warning-label#monitoring">Does not provide strong security against monitoring over the mesh</a></li>
<li><a href="http://commotionwireless.net/understanding-commotions-warning-label#jamming">Can be jammed with radio/data-interference</a></li>
</ul>
<a href="/understanding-commotions-warning-label">For More Info Click Here</a>
</div>
</div>
15 changes: 15 additions & 0 deletions commotionwireless.net/_includes/es/verifying-downloads.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<div class="verifying-downloads-block alert alert-warning">
<div class="alert alert-warning"><h2>Translation Needed</h1></div>
<h2>Verifying Downloads</h2>
<div>
<p>We use the best practice of using GPG signatures to sign our downloads. This allows you to verify that the files you download here were released by us if you choose to.</p>

<p>To verify our downloads (optional), you'll need the<br />
<br />
<a class="button" href="http://downloads.commotionwireless.net/DR2/CE994850.asc" target="_blank">Commotion Signing Key</a><br />
<br />
and the GPG signature for the downloaded file. This image links to each download's GPG signature: <img src="/icons/seal.png" /></p>

<p><a href="/es/download/verify-signatures">Find out more</a> on our <a href="/es/download/verify-signatures">Verifying Downloads</a> page.</p>
</div>
</div>
17 changes: 17 additions & 0 deletions commotionwireless.net/_includes/es/warning-label.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<div class="warning-label">
<div class="alert alert-warning-label">
<h2><i class="fa fa-exclamation-triangle"></i> ADVERTENCIA</h2>
</div>

<div class="warning-bottom">
<h2>Commotion</h2>

<ul>
<li><a href="http://commotionwireless.net/es/understanding-commotions-warning-label#anonymity">No puede esconder tu identidad</a></li>
<li><a href="http://commotionwireless.net/es/understanding-commotions-warning-label#internet">No previene el monitoreo del tráfico de internet</a></li>
<li><a href="http://commotionwireless.net/es/understanding-commotions-warning-label#monitoring">No provee fuerte seguridad contra el monitoreo sobre el enmallado</a></li>
<li><a href="http://commotionwireless.net/es/understanding-commotions-warning-label#jamming">Puede atorarse con interferencias de radio/datos</a></li>
</ul>
<a href="/understanding-commotions-warning-label">Para Mayor Información Da Click Aquí</a></div>
</div>
</div>
8 changes: 3 additions & 5 deletions commotionwireless.net/_includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
</div> <! end main content div !>
</div> <!-- end main content div -->

<div id="footer_wrap" class="outer">
<div id="footer_wrap" class="container-fluid template-footer">

<div class="center-arrow-down-ft" align="center"></div>

<div class="inner home-width">
<div class="container">

<p><strong>Contributors:</strong></p>
<p>
Expand All @@ -15,12 +15,10 @@
</p>
<div style="margin-top: 30px; padding-top: 30px; border-top:thin solid gray">
<p><a href="http://creativecommons.org/licenses/by-sa/4.0/"></a>
<!--<img alt="Creative Commons License" src="http://i.creativecommons.org/l/by-sa/4.0/88x31.png" /></a>-->
<p>Documentation is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>.</p><p>Please share any derivative works.</p>
</div>
</div>

</div>
</body>
<script src="/js/menu-dropdown.js"></script>
</html>
80 changes: 37 additions & 43 deletions commotionwireless.net/_includes/header.html
Original file line number Diff line number Diff line change
@@ -1,58 +1,52 @@
<!DOCTYPE html>
<html>
<html lang="{{page.lang}}">

<head>
<meta charset='utf-8'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="description" content="Community Technology Field Guide: (Re)Building Technology">
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" media="screen" href="{{site.baseurl}}/css/main.css">
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
<!-- <script src="/js/jquery-ui/jquery-ui.min.js"></script> -->
<script src="{{site.baseurl}}/assets/bower_components/bootstrap-sass/assets/javascripts/bootstrap.min.js"></script>
<title>{{ include.title }}</title>
</head>

<body>
<div id="header">
<!-- NAV TITLE BAR -->
<nav>
<div class="color-bar">
<div class="color0">&nbsp;</div>
<div class="color1">&nbsp;</div>
<div class="color2">&nbsp;</div>
<div class="color3">&nbsp;</div>
<div class="color4">&nbsp;</div>
<header class="template-header">
<!-- NAV TITLE BAR -->
<nav class="navbar navbar-inverse">
<div class="color-bar">
<div class="commotion-pink">&nbsp;</div>
<div class="commotion-blue">&nbsp;</div>
<div class="commotion-gold">&nbsp;</div>
<div class="commotion-yellow">&nbsp;</div>
<div class="commotion-purple">&nbsp;</div>
</div>
<!-- Main navbar -->
{% include menu-navbar-main.html %}
</nav>

<div class="container">
<div id="header_wrap" class="row">
<div class="col-md-2 col-md-offset-1">
<img src="{{site.baseurl}}/icons/commotion_full_web_inverse.svg" alt="The Commotion Wireless Project logo." class="project_logo img-responsive">
</div>
<header class="col-md-8">
<h1 id="project_title">{{ include.title }}</h1>
<h2 id="project_tagline" class="small">{{ include.subtitle }}</h2>
{% if page.abstract %}
<section id="header-text">
<p>{{ page.abstract }}</p>
</section>
{% endif %}
</header>
<div class="col-md-1">
<!-- placeholder div to balance offset -->
</div>
</div>
</div>

<!-- Drop down bars: menu-dropdown.css -->
{% include menu-dropdown.html %}
<!-- END Drop down bars -->

<div id="maintitle">
<!-- <a href="{{site.baseurl}}/">
{{site.title}}
</a> -->
</div>

<!-- ul here will create a flat list at the right side of navbar -->
{% include language-switcher-navbar.html %}
</nav>

<div id="header_wrap" class="outer">
<header class="inner {{include.width}} align-center">
<img src="{{site.baseurl}}/icons/commotion_full_web_inverse.svg" alt="The Commotion Wireless Project logo." class="project_logo">
<h1 id="project_title">{{ include.title }}</h1>
<h2 id="project_tagline" style="max-width:100%;">{{ include.subtitle }}</h2>
{% if page.abstract %}
<section id="header-text">
<p>{{ page.abstract }}</p>
</section>
{% endif %}

</header>
</div>


</div>
<div id="main_content_wrap" class="outer">
<div class="center-arrow-down" align="center"></div>
<div id="main_content_wrap" class="outer">
<div class="center-arrow-down" align="center"></div>
34 changes: 17 additions & 17 deletions commotionwireless.net/_includes/language-switcher-navbar.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
<ul class="lang-switch">
<li role="heading">Language:</li>
<li><a {% if page.lang contains 'en' %} class="active-lang"{% endif %} href="
{% if page.url contains '/fr' %}{{ page.url | remove_first:'/fr' }}
{% elsif page.url contains '/es' %}{{ page.url | remove_first:'/es' }}
{% else %}{{ page.url }}
{% endif %}" title="English">En</a></li>
<ul class="lang-switch nav navbar-nav navbar-right">
<li role="heading"><span class="nav-plain-text">Language:</span></li>
<li><a {% if page.lang contains 'en' %} class="active-lang"{% endif %} href="
{% if page.url contains '/fr' %}{{ page.url | remove_first:'/fr' }}
{% elsif page.url contains '/es' %}{{ page.url | remove_first:'/es' }}
{% else %}{{ page.url }}
{% endif %}" title="English">En</a></li>

<li><a {% if page.lang contains 'fr' %} class="active-lang"{% endif %} href="
{% if page.url contains '/fr' %}{{ page.url }}
{% elsif page.url contains '/es' %}{{ page.url | replace_first:'/es','/fr' }}
{% else %}{{ page.url | prepend:'/fr' }}
{% endif %}" title="French">Fr</a></li>
<li><a {% if page.lang contains 'fr' %} class="active-lang"{% endif %} href="
{% if page.url contains '/fr' %}{{ page.url }}
{% elsif page.url contains '/es' %}{{ page.url | replace_first:'/es','/fr' }}
{% else %}{{ page.url | prepend:'/fr' }}
{% endif %}" title="French">Fr</a></li>

<li><a {% if page.lang contains 'es' %} class="active-lang"{% endif %} href="
{% if page.url contains '/es' %}{{ page.url }}
{% elsif page.url contains '/fr' %}{{ page.url | replace_first:'/fr','/es' }}
{% else %}{{ page.url | prepend:'/es' }}
{% endif %}" title="Spanish">Es</a></li>
<li><a {% if page.lang contains 'es' %} class="active-lang"{% endif %} href="
{% if page.url contains '/es' %}{{ page.url }}
{% elsif page.url contains '/fr' %}{{ page.url | replace_first:'/fr','/es' }}
{% else %}{{ page.url | prepend:'/es' }}
{% endif %}" title="Spanish">Es</a></li>
</ul>