This repository has been archived by the owner on Dec 3, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #252 from mapbox/fields-revamp
Fields revamp
- Loading branch information
Showing
8 changed files
with
92 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,19 @@ | ||
<fieldset> | ||
<section class='keyline-bottom pad1x pad1y small clearfix'> | ||
<label class='inline col3 field pad1x clearfix'>Name</label> | ||
<label class='inline pad1x col9'>Set description <em>(useful when inspecting data for styling)</em></label> | ||
</section> | ||
<% _(obj).each(function(helptext, field) { %> | ||
<section class='clearfix pad2x pad1y keyline-bottom'><!-- | ||
--><label class='pad1y col3 inline'><%= field %></label><!-- | ||
--><input class='col9' name='fields-<%=field%>' type='text' value='<%=_(helptext).escape()%>' /> | ||
<section class='keyline-bottom pad1 clearfix small'> | ||
<div class='pad1x pad0y col3'> | ||
<label for='fields-<%=field%>' title='<%= field %>' class='truncate field-key col12 inline field'><%= field %></label> | ||
</div> | ||
<div class='col9 pad1x'> | ||
<input class='small short stretch' id='fields-<%=field%>' name='fields-<%=field%>' type='text' value='<%=_(helptext).escape()%>' /> | ||
</div> | ||
</section> | ||
<% }); %> | ||
</fieldset> | ||
<section class='pad2'> | ||
<a href='#' class='quiet button submit margin6 col6'>Done</a> | ||
</section> | ||
</fieldset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters