Browse Source

HUE-182. Wording and UI improvements for Job Designer

Philip Zeyliger 15 năm trước cách đây
mục cha
commit
c125655902

+ 7 - 7
apps/jobsub/src/jobsub/templates/list.html

@@ -27,9 +27,9 @@ limitations under the License.
     <div class="jobsub_right_col right_col">
     <div class="jobsub_right_col right_col">
       <div class="jobsub_topsection clearfix">
       <div class="jobsub_topsection clearfix">
         <form class="jobsub_filter" data-filters="SubmitOnChange" action="{% url jobsub.list %}" method="get">
         <form class="jobsub_filter" data-filters="SubmitOnChange" action="{% url jobsub.list %}" method="get">
-          <span class="filter_text">Filter by owner:</span>
-          <input data-filters="ArtInput, OverText" data-art-input-type="search" name="owner" alt="filter by owner" value="{{ owner }}"/>
-          <input data-filters="ArtInput, OverText" data-art-input-type="search" name="name" alt="filter by name" value="{{ name }}"/>
+          <span class="filter_text">Filter By Owner:</span>
+          <input data-filters="ArtInput, OverText" data-art-input-type="search" name="owner" alt="Filter By Owner" value="{{ owner }}"/>
+          <input data-filters="ArtInput, OverText" data-art-input-type="search" name="name" alt="Filter By Name" value="{{ name }}"/>
           <input class="submit" type="submit"/>
           <input class="submit" type="submit"/>
         </form>
         </form>
       </div>
       </div>
@@ -52,10 +52,10 @@ limitations under the License.
             <td>
             <td>
               {{ jobdesign.owner.username }}
               {{ jobdesign.owner.username }}
               <ul class="context-menu">
               <ul class="context-menu">
-                <li><a title="Launch job with this design" class="run frame_tip" href="{{ jobdesign.submit_url }}">submit to cluster</a></li>
-                <li><a title="Copy design" class="copy frame_tip" href="{{ jobdesign.clone_url }}">copy</a></li>
-                <li><a title="Edit this design" class="edit frame_tip" href="{{ jobdesign.edit_url }}">edit</a></li>
-                <li><a title="Delete this design" alt="Are you sure you want to delete this design?" class="delete frame_tip" href="{{ jobdesign.delete_url }}">delete</a></li>
+                <li><a title="Launch job with this design" class="run frame_tip" href="{{ jobdesign.submit_url }}">Submit to Cluster</a></li>
+                <li><a title="Copy design" class="copy frame_tip" href="{{ jobdesign.clone_url }}">Copy</a></li>
+                <li><a title="Edit this design" class="edit frame_tip" href="{{ jobdesign.edit_url }}">Edit</a></li>
+                <li><a title="Delete this design" alt="Are you sure you want to delete this design?" class="delete frame_tip" href="{{ jobdesign.delete_url }}">Delete</a></li>
               </ul>
               </ul>
             </td>
             </td>
             <td>{{ jobdesign.name }}</td>
             <td>{{ jobdesign.name }}</td>

+ 3 - 3
apps/jobsub/src/jobsub/templates/types.html

@@ -15,12 +15,12 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 See the License for the specific language governing permissions and
 limitations under the License.
 limitations under the License.
 {% endcomment %}
 {% endcomment %}
-<h2>Create a template</h2>
+<h2>Create a Job Design</h2>
 <ul class="jobsub_new">
 <ul class="jobsub_new">
 	{% for type, newurl in newlinks %}
 	{% for type, newurl in newlinks %}
-		<li><a href="{{ newurl }}" class="jframe_target(.jobsub_right_col)">new {{ type }}</a></li>
+		<li><a href="{{ newurl }}" class="jframe_target(.jobsub_right_col)">{{ type|capfirst }}</a></li>
 	{% endfor %}
 	{% endfor %}
 	{% if show_install_examples %}
 	{% if show_install_examples %}
-		<li><a href="{% url jobsub.views.setup %}">install examples</a></li>
+		<li><a href="{% url jobsub.views.setup %}">Install Samples</a></li>
 	{% endif %}
 	{% endif %}
 </ul>
 </ul>