diff --git a/public/community-guidelines/HabitRPG_Community_Guidelines.pdf b/public/community-guidelines/HabitRPG_Community_Guidelines.pdf new file mode 100644 index 0000000000..fcc8253829 Binary files /dev/null and b/public/community-guidelines/HabitRPG_Community_Guidelines.pdf differ diff --git a/public/community-guidelines/images/image00.png b/public/community-guidelines/images/image00.png new file mode 100755 index 0000000000..8e8a34c088 Binary files /dev/null and b/public/community-guidelines/images/image00.png differ diff --git a/public/community-guidelines/images/image01.png b/public/community-guidelines/images/image01.png new file mode 100755 index 0000000000..d55cb44373 Binary files /dev/null and b/public/community-guidelines/images/image01.png differ diff --git a/public/community-guidelines/images/image02.png b/public/community-guidelines/images/image02.png new file mode 100755 index 0000000000..dc5b879483 Binary files /dev/null and b/public/community-guidelines/images/image02.png differ diff --git a/public/community-guidelines/images/image03.png b/public/community-guidelines/images/image03.png new file mode 100755 index 0000000000..2a839083af Binary files /dev/null and b/public/community-guidelines/images/image03.png differ diff --git a/public/community-guidelines/images/image04.png b/public/community-guidelines/images/image04.png new file mode 100755 index 0000000000..0a2db14d8b Binary files /dev/null and b/public/community-guidelines/images/image04.png differ diff --git a/public/community-guidelines/images/image05.png b/public/community-guidelines/images/image05.png new file mode 100755 index 0000000000..211607a511 Binary files /dev/null and b/public/community-guidelines/images/image05.png differ diff --git a/public/community-guidelines/images/image06.png b/public/community-guidelines/images/image06.png new file mode 100755 index 0000000000..1ae892bce8 Binary files /dev/null and b/public/community-guidelines/images/image06.png differ diff --git a/public/community-guidelines/images/image07.png b/public/community-guidelines/images/image07.png new file mode 100755 index 0000000000..0aaa3121f5 Binary files /dev/null and b/public/community-guidelines/images/image07.png differ diff --git a/public/community-guidelines/images/image08.png b/public/community-guidelines/images/image08.png new file mode 100755 index 0000000000..13662443ff Binary files /dev/null and b/public/community-guidelines/images/image08.png differ diff --git a/public/community-guidelines/images/image09.png b/public/community-guidelines/images/image09.png new file mode 100755 index 0000000000..e783fb88de Binary files /dev/null and b/public/community-guidelines/images/image09.png differ diff --git a/public/community-guidelines/images/image10.png b/public/community-guidelines/images/image10.png new file mode 100755 index 0000000000..dc4d7c810c Binary files /dev/null and b/public/community-guidelines/images/image10.png differ diff --git a/public/community-guidelines/images/image11.gif b/public/community-guidelines/images/image11.gif new file mode 100755 index 0000000000..4f4326217d Binary files /dev/null and b/public/community-guidelines/images/image11.gif differ diff --git a/public/community-guidelines/images/image12.png b/public/community-guidelines/images/image12.png new file mode 100755 index 0000000000..402f7f7edd Binary files /dev/null and b/public/community-guidelines/images/image12.png differ diff --git a/public/community-guidelines/images/image13.png b/public/community-guidelines/images/image13.png new file mode 100755 index 0000000000..bcbeca3a43 Binary files /dev/null and b/public/community-guidelines/images/image13.png differ diff --git a/public/community-guidelines/index.html b/public/community-guidelines/index.html new file mode 100755 index 0000000000..83924c8bc3 --- /dev/null +++ b/public/community-guidelines/index.html @@ -0,0 +1,18 @@ +Community Guidelines

Welcome to Habitica!

Greetings, adventurer! Welcome to Habitica, the land of productivity, healthy living, and the occasional rampaging gryphon. We have a cheerful community full of helpful people supporting each other on their way to self-improvement.

To help keep everyone safe, happy, and productive in the community, we have some guidelines. We have carefully crafted them to make them as friendly and easy-to-read as possible. Please take the time to read them.

These rules apply to all of the social spaces we use, including (but not necessarily limited to) Trello, Github, Transifex, and the Wikia (aka wiki). Sometimes, unforeseen situations will arise, like a new source of conflict or a vicious necromancer. When this happens, the mods may respond by editing these guidelines to keep the community safe from new threats. Fear not: you will be notified by an announcement from Bailey if the guidelines change.

Now ready your quills and scrolls for note-taking, and let’s get started!

Being a Habitican

newbie_guild_collab_by_kiwibot and breadstrings

HabitRPG is first and foremost a website devoted to improvement. As a result, we’ve been lucky to attract one of the warmest, kindest, most courteous and supportive communities on the internet. There are many traits that make up Habiticans. Some of the most common and most notable are:

- A Helpful Spirit. Many people devote time and energy helping out new members of the community and guiding them. The Newbies Guild, for example, is a guild devoted just to answering people’s questions. If you think you can help, don’t be shy!

- A Diligent Attitude. Habiticans work hard to improve their lives, but also help build the site and improve it constantly. We’re an open-source project, so we are all constantly working to make the site the best place it can be.

- A Supportive Demeanor. Habiticans cheer for each other’s victories, and comfort each other during hard times. We lend strength to each other and lean on each other and learn from each other. In parties, we do this with our spells; in chat rooms, we do this with kind and supportive words.

- A Respectful Manner. We all have different backgrounds, different skill sets, and different opinions. That’s part of what makes our community so wonderful! Habiticans respect these differences and celebrate them. Stick around, and soon you will have friends from all walks of life.

Meet the Mods!

Habitica has some tireless knight-errants who join forces with the staff members to keep the community calm, contented, and free of trolls. Each has a specific domain, but will sometimes be called to serve in other social spheres. Staff and Mods will often precede official statements with the words “Mod Talk” or “Mod Hat On”.

Staff have purple tags marked with towers. Their title is “Heroic.”

Mods have dark blue tags marked with stars. Their title is “Guardian.” 

The current Staff Members are (from left to right):

STAFF PROMO FINAL.png

Lefnire (Tyler Renelle) 

redphoenix (caffeinatedvee on Trello) (Vicky Hsu)

Lemoness (Siena Leslie)

SabreCat (Sabe)

paglias (Matteo)

There are also several Moderators who assist the staff members. They were selected carefully, so please give them your respect and listen to their suggestions.

The current Moderators are (from left to right):

NPC Mods.png

Ryan (deilann on Github/wiki)

Alys (LadyAlys on Wiki)

Breadstrings

Megan

Daniel the Bard

If you have an issue or concern about a particular Mod, please send an email to Lemoness (leslie@habitrpg.com).

In a community as big as Habitica, users come and go, and sometimes a moderator needs to lay down their noble mantle and relax. The following are Moderators Emeritus. They no longer act with the power of a Moderator, but we would still like to honor their work!

Moderators Emeritus: Slappybag, litenull, Shaner, bobbyroberts99, wc8

Public Spaces In Habitica

public space by uncommon criminal.png

Habitica has two kinds of social spaces: public, and private. Public spaces include the Tavern, Public Guilds, Github, Trello, and the Wiki. Private spaces are Private Guilds and party chat.

When navigating the public spaces in Habitica, there are some general rules to keep everyone safe and happy. These should be easy for adventurers like you!

Respect each other. Be courteous, kind, friendly, and helpful. Remember: Habiticans come from all backgrounds and have had wildly divergent experiences. This is part of what makes HabitRPG so cool! Building a community means respecting and celebrating our differences as well as our similarities. Here are some easy ways to respect each other:

- Obey all of the Terms and Conditions.

- Do not post images or text that are violent, threatening, or sexually explicit/suggestive, or that promote discrimination, bigotry, racism, hatred, harassment or harm against any individual or group.  Not even as a joke. This includes slurs as well as statements. Not everyone has the same sense of humor, and so something that you consider a joke may be hurtful to another. Attack your Dailies, not each other.

- Keep discussions appropriate for all ages. We have many young Habiticans who use the site! Let’s not tarnish any innocents or hinder any Habiticans in their goals.

- Avoid profanity. This includes milder, religious-based oaths that may be acceptable elsewherewe have people from all religious and cultural backgrounds, and we want to make sure that all of them feel comfortable in public spaces. Additionally, slurs will be dealt with very severely, as they are also a violation of the Terms of Service.

-Avoid extended discussions of divisive topics outside of the Back Corner.  If you feel that someone has said something rude or hurtful, do not engage them. A single, polite comment, such as "That joke makes me feel uncomfortable," is fine, but being harsh or unkind in response to harsh or unkind comments heightens tensions and makes HabitRPG a more negative space. Kindness and politeness helps others understand where you are coming from.

- Comply immediately with any Mod request to cease a discussion or move it to the Back Corner. Last words, parting shots and conclusive zingers should all be delivered (courteously) at your "table" in the Back Corner, if allowed.

- Take time to reflect instead of responding in anger if someone tells you that something you said or did made them uncomfortable. There is great strength in being able to sincerely apologize to someone. If you feel that the way they responded to you was inappropriate, contact a mod rather than calling them out on it publicly. 

-Divisive/contentious conversations should be reported to mods. If you feel that a conversation is getting heated, overly emotional, or hurtful, cease to engage. Instead, email mods@habitrpg.com to let us know about it. It’s our job to keep you safe.

In private spaces, users have more freedom to discuss whatever topics they would like, but they still may not violate the Terms and Conditions, including posting any discriminatory, violent, or threatening content.  

Furthermore, some public spaces in Habitica have additional guidelines.

The Tavern

Hanging_out_in_the_Tavern_by_Draayder.png

The Tavern is the main spot for Habiticans to mingle. Daniel the Barkeep keeps the place spic-and-span, and Lemoness will happily conjure up some lemonade while you sit and chat. Just keep in mind...

Conversation tends to revolve around casual chatting and productivity or life improvement tips.

 Because the Tavern chat can only hold 200 messages, it isn’t a good place for prolonged conversations on topics, especially sensitive ones (ex. politics, religion, depression, whether or not goblin-hunting should be banned, etc.). These conversations should be taken to an applicable guild or the Back Corner (more information below).

Don’t discuss anything addictive in the Tavern.  Many people use HabitRPG to try to quit their bad Habits. Hearing people talk about addictive/illegal substances may make this much harder for them! Respect your fellow Tavern-goers and take this into consideration. This includes, but is not exclusive to: smoking, alcohol, pornography, gambling, and drug use/abuse.

Public Guilds

Public guilds are much like the Tavern, except that instead of being centered around general conversation, they have a focused theme. Public guild chat should focus on this theme. For example, members of the Wordsmiths guild might be cross if they found the conversation suddenly focusing on gardening instead of writing, and a Dragon-Fanciers guild might not have any interest in deciphering ancient runes. Some guilds are more lax about this than others, but in general, try to stay on topic!

Some public guilds will contain sensitive topics such as depression, religion, politics, etc. This is fine as long as the conversations therein do not violate any of the Terms and Conditions or Public Space Rules, and as long as they stay on topic.

Public Guilds may NOT contain 18+ content. If they plan to regularly discuss sensitive content, they should say so in the Guild title. This is to keep Habitica safe and comfortable for everyone. If the guild in question has different kinds of sensitive issues, it is respectful to your fellow Habiticans to place your comment behind a warning (ex. “Warning: references self-harm”). Additionally, the sensitive material should be topical - bringing up self-harm in a guild focused on fighting depression may make sense, but may be less appropriate in a music guild. If you see someone who is repeatedly violating this guideline, even after several requests, please email mods@habitrpg.com with screenshots.  

No Guilds, Public or Private, should be created for the purpose of attacking any group or individual. Creating such a Guild is grounds for an instant ban. Fight bad habits, not your fellow adventurers!

All Tavern Challenges and Public Guild Challenges must comply with these rules as well.

The Back Corner

back_corner_7_by_kellllly-d7ly8zm.png

Sometimes a conversation will get too long, off-topic, or sensitive to be continued in a Public Space without making users uncomfortable. In that case, the conversation will be directed to the Back Corner Guild. Note that being directed to the Back Corner is not at all a punishment! In fact, many Habiticans like to hang out there and discuss things at length.

The Back Corner Guild is a free public space to discuss sensitive material or a single conversation for a long time, and it is carefully moderated. The Public Space Guidelines still apply, as do all of the Terms and Conditions. Just because we are wearing long cloaks and clustering in a corner doesn’t mean that anything goes! Now pass me that smoldering candle, will you?

Trello Boards

Trello by starsystemic.png

Trello serves as an open forum for suggestions and discussion of site features. Habitica is ruled by the people in the form of valiant contributorswe all build the site together. Trello is the system that lends method to our madness. Out of consideration for this, try your best to contain all your thoughts into one comment, instead of commenting many times in a row on the same card. If you think of something new, feel free to edit your original comments. Please, take pity on those of us who receive a notification for every new comment. Our inboxes can only withstand so much.

HabitRPG uses five different Trello boards:

- The Main Board is a place to request and vote on site features.

- The Mobile Board is a place to request and vote on mobile app features.

- The Pixel Art Board is a place to discuss and submit pixel art.

- The Quest Board is a place to discuss and submit quests.

- The Wiki Board is a place to improve, discuss and request new wiki content.

All have their own guidelines outlined, and the Public Spaces rules apply. Users should avoid going off-topic in any of the boards or cards. Trust us, the boards get crowded enough as it is! Prolonged conversations should be moved to the Back Corner Guild.

Github

Blacksmithy_by_revcleo.gif

HabitRPG uses Github to track bugs and contribute code. It’s the smithy where the tireless Blacksmiths forge the features! All the Public Spaces rules apply. Be sure to be polite to the Blacksmithsthey have a lot of work to do, keeping the site running! Hooray, Blacksmiths!

The following users are members of the HabitRPG repo:

lefnire (Tyler)

benmanley (Pixel)

colegleason (Cole)

deilann (Ryan)

djuretic

Fandekasp

Lemoness

litenull

paglias

SabreCat

Sinza-

snicker

thepeopleseason

wc8

zakkain

Wiki

scribe_room_2_by_kellllly-d7tq6d9.png

The HabitRPG wiki collects information about the site. It also hosts a few forums similar to the guilds on HabitRPG. Hence, all the Public Space rules apply.

The HabitRPG wiki can be considered to be a database of all things HabitRPG. It provides information about site features, guides to play the game, tips on how you can contribute to HabitRPG and also provides a place for you to advertise your guild or party and vote on topics.

Since the wiki is hosted by Wikia, the terms and conditions of Wikia also apply in addition to the rules set by HabitRPG and the HabitRPG wiki site.

The wiki is solely a collaboration between all of its editors so some additional guidelines include:

The following people are the current wiki administrators:

Bobbyroberts99 (founder and bureaucrat)

Breadstrings (bureaucrat)

JiggerD

LadyAlys

LadyKatFrog

Lefnire (bureaucrat)

Wc8 (bureaucrat)

Infractions, Consequences, and Restoration 

Infractions

troll in tavern by leephon

Overwhelmingly, Habiticans assist each other, are respectful, and work to make the whole community fun and friendly. However, once in a blue moon, something that a Habitican does may violate one of the above guidelines. When this happens, the Mods will take whatever actions they deem necessary to keep Habitica safe and comfortable for everyone.

There are a variety of infractions, and they are dealt with depending on their severity.  These are not conclusive lists, and Mods have a certain amount of discretion. The Mods will take context into account when evaluating infractions.

Severe Infractions

Severe infractions greatly harm the safety of Habitica’s community and users, and therefore have severe consequences as a result.

The following are examples of some severe infractions. This is not a comprehensive list.

1. Violation of Terms and Conditions

2. Hate Speech/Images, Harassment/Stalking, Cyber-Bullying, Flaming, and Trolling

3. Violation of Probation

4. Impersonating Staff or Moderators 

5. Repeated Moderate Infractions

Moderate Infractions

Moderate infractions do not make our community unsafe, but they do make it unpleasant. These infractions will have moderate consequences. When in conjunction with multiple infractions, the consequences may become grow more severe.

The following are some examples of Moderate Infractions. This is not a comprehensive list.

1. Ignoring or Disrespecting a Mod. This includes publicly complaining about moderators or other users/publicly glorifying or defending banned users. If you are concerned about one of the rules or Mods, please contact Lemoness (leslie@habitrpg.com) via email.

2. Backseat Modding. To quickly clarify a relevant point: A friendly mention of the rules is fine. Backseat modding consists of telling, demanding, and/or strongly implying that someone must take an action that you describe to correct a mistake. You can alert someone to the fact that they have committed a transgression, but please do not demand an actionfor example, saying, “Just so you know, profanity is discouraged in the Tavern, so you may want to delete that,” would be better than saying, “I’m going to have to ask you to delete that post.”

3. Repeated Violation of Public Space Guidelines

4. Repeated Minor Infractions

Minor Infractions

Minor Infractions, while discouraged, still have minor consequences. If they continue to occur, they can lead to more severe consequences over time.

The following are some examples of Minor Infractions. This is not a comprehensive list.

1. First-time violation of Public Space Guidelines

2.Any statements or actions that trigger a “Please Don’t”. When a Mod has to say “Please Don’t do this” to a user, it can count as a very minor infraction for that user. An example might be “Mod Talk: Please Don’t keep arguing in favor of this feature idea after we’ve told you several times that it isn’t feasible.” In many cases, the Please Don’t will be the minor consequence as well, but if Mods have to say “Please Don’t” to the same user enough times, the triggering Minor Infractions will start to count as Moderate Infractions.

Consequences

spamming_5_fixed_by_cosmic_caterpillar-d7kqnls.png

In Habitica -- as in real life -- every action has a consequence, whether it is getting fit because you’ve been running, getting cavities because you’ve been eating too much sugar, or passing a class because you’ve been studying.

Similarly, all infractions have direct consequences. Some sample consequences are outlined below.

If your infraction has a moderate or severe consequence, you will receive an email explaining:

- what your infraction was

- what the consequence is

- what to do to correct the situation and restore your status, if possible.

Examples of Severe Consequences

- Account bans

- Account deletions

- Permanently disabling (“freezing”) progression through Contributor Tiers

Examples of Moderate Consequences

- Restricted public chat privileges

- Restricted private chat privileges

- Restricted guild/challenge creation privileges

- Temporarily disabling (“freezing”) progression through Contributor Tiers

- Demotion of Contributor Tiers

- Putting users on “Probation”

Examples of Minor Consequences

- Reminders of Public Space Guidelines

- Warnings

- Requests

- Deletions (Mods/Staff may delete problematic content)

- Edits (Mods/Staff may edit problematic content)

Restoration

fixing_a_mistake_4_by_kellllly-d7nca8u.png

Habitica is a land devoted to self-improvement, and we believe in second chances. If you commit an infraction and receive a consequence, view it as a chance to evaluate your actions and strive to be a better member of the community.

The email that you receive explaining the consequences of your actions (or, in the case of minor consequences, the Mod/Staff announcement) is a good source of information. Cooperate with any restrictions which have been imposed, and endeavor to meet the requirements to have any penalties lifted.

If you do not understand your consequences, or the nature of your infraction, ask the Staff/Moderators for help so you can avoid committing infractions in the future.

Contributing to Habitica

contributor party by leephon.png

HabitRPG is an open-source project, which means that any Habiticans are welcome to pitch in! The ones who do will be rewarded according to the following tier of rewards:

1. HabitRPG Contributor's badge!

2. Contributor Armor, plus 2 Gems.

3. Contributor Helmet, plus 2 Gems.

4. Contributor Sword, plus 2 Gems.

5. Contributor Shield, plus 2 Gems.

6. Contributor Pet, plus 2 Gems.

7. Contributor Guild Invite, plus 2 Gems.

Mods are chosen from among Seventh Tier contributors by the Staff and preexisting Moderators. Note that while Seventh Tier Contributors have worked hard on behalf of the site, not all of them speak with the authority of a Mod.

There are some important things to note about the Contributor Tiers:

-         Tiers are discretionary.  They are assigned at the discretion of Moderators, based on many factors, including our perception of the work you are doing and its value in the community. We reserve the right to change the specific levels, titles and rewards at our discretion.

-       Tiers get harder as you progress. If you made one monster, or fixed a small bug, that may be enough to give you your first contributor level, but not enough to get you the next. Like in any good RPG, with increased level comes increased challenge!

-       Tiers don’t “start over” in each field.  When scaling the difficulty, we look at all your contributions, so that people who do a little bit of art, then fix a small bug, then dabble a bit in the wiki, do not proceed faster than people who are working hard at a single task. This helps keep things fair!

-       Users on probation cannot be promoted to the next tier. Mods have the right to freeze user advancement due to infractions. If this happens, the user will always be informed of the decision, and how to correct it. Tiers may also be removed as a result of infractions or probation.

 

The Final Section

So there you have it, brave Habiticanthe Community Guidelines! Wipe that sweat off of your brow and give yourself some XP for reading it all. If you have any questions or concerns about these Community Guidelines, please email Lemoness (leslie@habitrpg.com) and she will be happy to help clarify things.

Now go forth, brave adventurer, and slay some dailies!

+ + +

Useful Links

+The Newbies Guild: a guild for new users to ask questions!

+The Back Corner Guild: a guild for the discussion of long or sensitive topics.

+The Wiki: the biggest collection of information about HabitRPG.

+Github: for bug reports or helping code programs!

+The Main Trello: for site feature requests.

+The Mobile Trello: for mobile feature requests.

+The Art Trello: for submitting pixel art.

+

+The Quest Trello: for submitting quest writing.

+ +

+HabitRPG Community Guidelines: a downloadable PDF version of this document.

+ +

The following talented artists contributed to these illustrations:

Breadstrings

Draayder

Kiwibot

Leephon

Lemoness

Revcleo

Shaner

Starsystemic

UncommonCriminal

diff --git a/public/css/alerts.styl b/public/css/alerts.styl index 6525f131ea..df3f005983 100644 --- a/public/css/alerts.styl +++ b/public/css/alerts.styl @@ -1,3 +1,12 @@ +.community-guidelines + position: fixed + text-align: center + top: 0 + left: 0 + width: 100% + height: 0 + z-index: 1010 + .new-stuff position: fixed text-align: center diff --git a/public/css/index.styl b/public/css/index.styl index 07e2829d0b..2f07e07a5d 100644 --- a/public/css/index.styl +++ b/public/css/index.styl @@ -111,6 +111,10 @@ html, body h5 font-weight: 700 +.community-guidelines-modal // a .modal-body + h5 + font-weight: 700 + .modal-fixed-height overflow-y: auto max-height: 400px // Taken from Bootstrap 2.3.2 css, may need to change diff --git a/public/fontello/LICENSE.txt b/public/fontello/LICENSE.txt new file mode 100644 index 0000000000..3346881047 --- /dev/null +++ b/public/fontello/LICENSE.txt @@ -0,0 +1,12 @@ +Font license info + + +## Fontelico + + Copyright (C) 2012 by Fontello project + + Author: Crowdsourced, for Fontello project + License: SIL (http://scripts.sil.org/OFL) + Homepage: http://fontello.com + + diff --git a/public/fontello/README.txt b/public/fontello/README.txt new file mode 100644 index 0000000000..43e23f2833 --- /dev/null +++ b/public/fontello/README.txt @@ -0,0 +1,75 @@ +This webfont is generated by http://fontello.com open source project. + + +================================================================================ +Please, note, that you should obey original font licences, used to make this +webfont pack. Details available in LICENSE.txt file. + +- Usually, it's enough to publish content of LICENSE.txt file somewhere on your + site in "About" section. + +- If your project is open-source, usually, it will be ok to make LICENSE.txt + file publically available in your repository. + +- Fonts, used in Fontello, don't require to make clickable links on your site. + But any kind of additional authors crediting is welcome. +================================================================================ + + +Comments on archive content +--------------------------- + +- /font/* - fonts in different formats + +- /css/* - different kinds of css, for all situations. Should be ok with + twitter bootstrap. Also, you can skip style and assign icon classes + directly to text elements, if you don't mind about IE7. + +- demo.html - demo file, to show your webfont content + +- LICENSE.txt - license info about source fonts, used to build your one. + +- config.json - keeps your settings. You can import it back to fontello anytime, + to continue your work + + +Why so many CSS files ? +----------------------- + +Because we like to fit all your needs :) + +- basic file, .css - is usually enougth, in contains @font-face + and character codes definition + +- *-ie7.css - if you need IE7 support, but still don't wish to put char codes + directly into html + +- *-codes.css and *-ie7-codes.css - if you like to use your own @font-face + rules, but still wish to benefit of css generation. That can be very + convenient for automated assets build systems. When you need to update font - + no needs to manually edit files, just override old version with archive + content. See fontello source codes for example. + +- *-embedded.css - basic css file, but with embedded WOFF font, to avoid + CORS issues in Firefox and IE9+, when fonts are hosted on the separate domain. + We strongly recommend to resolve this issue by `Access-Control-Allow-Origin` + server headers. But if you ok with dirty hack - this file is for you. Note, + that data url moved to separate @font-face to avoid problems with + + + + + + + + +
+

+ fontelico + font demo +

+ +
+
+
+
icon-crown0xe800
+
icon-crown-plus0xe801
+
icon-crown-minus0xe802
+
icon-spin60xe804
+
+
+
icon-spin50xe805
+
icon-spin40xe806
+
icon-spin30xe807
+
icon-spin20xe808
+
+
+
icon-spin10xe809
+
icon-marquee0xe80a
+
+
+ + + \ No newline at end of file diff --git a/public/fontello/font/fontelico.eot b/public/fontello/font/fontelico.eot new file mode 100644 index 0000000000..8173787224 Binary files /dev/null and b/public/fontello/font/fontelico.eot differ diff --git a/public/fontello/font/fontelico.svg b/public/fontello/font/fontelico.svg new file mode 100644 index 0000000000..dc56a24db8 --- /dev/null +++ b/public/fontello/font/fontelico.svg @@ -0,0 +1,21 @@ + + + +Copyright (C) 2014 by original authors @ fontello.com + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/fontello/font/fontelico.ttf b/public/fontello/font/fontelico.ttf new file mode 100644 index 0000000000..5046777e22 Binary files /dev/null and b/public/fontello/font/fontelico.ttf differ diff --git a/public/fontello/font/fontelico.woff b/public/fontello/font/fontelico.woff new file mode 100644 index 0000000000..c603762754 Binary files /dev/null and b/public/fontello/font/fontelico.woff differ diff --git a/views/options/social/tavern.jade b/views/options/social/tavern.jade index f96d5ab01f..29369e75b8 100644 --- a/views/options/social/tavern.jade +++ b/views/options/social/tavern.jade @@ -150,6 +150,13 @@ a.label.label-default(ng-class='userLevelStyle(mod)', ng-click='clickMember(mod._id, true)') {{mod.profile.name}}  span(ng-class='userAdminGlyphiconStyle(mod)') + p + =env.t('communityGuidelinesRead1') + |  + a(ng-click='openModal("communityGuidelines")') + =env.t('communityGuidelines') + |  + =env.t('communityGuidelinesRead2') ul.list-unstyled.tavern-chat include ./chat-message diff --git a/views/shared/modals/community-guidelines.jade b/views/shared/modals/community-guidelines.jade new file mode 100644 index 0000000000..93b1c5ef82 --- /dev/null +++ b/views/shared/modals/community-guidelines.jade @@ -0,0 +1,7 @@ +script(type='text/ng-template', id='modals/communityGuidelines.html') + .modal-header + h4=env.t('communityGuidelines') + .modal-body.community-guidelines-modal.modal-fixed-height + include ../../../public/community-guidelines/index.html + .modal-footer + button.btn.btn-default(ng-click='$close()')=env.t('close') diff --git a/views/shared/modals/index.jade b/views/shared/modals/index.jade index c16838f72e..e104edb886 100644 --- a/views/shared/modals/index.jade +++ b/views/shared/modals/index.jade @@ -9,4 +9,5 @@ include ./drops include ./classes include ./quests include ./rebirth -include ./limited \ No newline at end of file +include ./limited +include ./community-guidelines diff --git a/views/static/community-guidelines.jade b/views/static/community-guidelines.jade new file mode 100644 index 0000000000..8f836f5a0f --- /dev/null +++ b/views/static/community-guidelines.jade @@ -0,0 +1,20 @@ +block vars +doctype 5 +html(ng-app='habitrpgStatic') + + head + block title + title=env.t('communityGuidelines') + + script(type='text/javascript'). + window.env = !{JSON.stringify(env)}; + + link(rel='shortcut icon', href='#{env.getBuildUrl("favicon.ico")}?v=3') + + meta(charset='utf-8') + meta(name='viewport', content='width=device-width, initial-scale=1.0') + + != env.getManifestFiles("static") + + body + include ../shared/community-guidelines